Class Asido_Driver_GD_Hack

Description

Asido GD(GD2) driver with some of the unsupported methods hacked via some work-arounds.

Located in /class.driver.gd_hack.php (line 25)

Asido_Driver
   |
   --Asido_Driver_GD
      |
      --Asido_Driver_GD_Hack
Method Summary
 Asido_TMP __canvas (integer $width, integer $height, Asido_Color &$color)
 boolean __destroy_source (Asido_TMP &$tmp)
 boolean __destroy_target (Asido_TMP &$tmp)
 boolean __flip (Asido_TMP &$tmp)
 boolean __flop (mixed &$tmp, Asido_Image &$image)
 boolean __grayscale (Asido_TMP &$tmp)
 boolean __open (Asido_TMP &$tmp)
 Asido_TMP __tmpimage (mixed &$handler, [string $filename = null])
 boolean __write (Asido_TMP &$tmp)
Variables

Inherited Variables

Inherited from Asido_Driver_GD

Asido_Driver_GD::$__mime
Methods
__canvas (line 138)

Get canvas

  • access: protected
Asido_TMP __canvas (integer $width, integer $height, Asido_Color &$color)

Redefinition of:
Asido_Driver_GD::__canvas()
Get canvas
__destroy_source (line 387)

Destroy the source for the provided temporary object

  • abstract:
  • access: protected
boolean __destroy_source (Asido_TMP &$tmp)

Redefinition of:
Asido_Driver_GD::__destroy_source()
Destroy the source for the provided temporary object
__destroy_target (line 399)

Destroy the target for the provided temporary object

  • abstract:
  • access: protected
boolean __destroy_target (Asido_TMP &$tmp)

Redefinition of:
Asido_Driver_GD::__destroy_target()
Destroy the target for the provided temporary object
__flip (line 77)

Vertically mirror (flip) the image

  • access: protected
boolean __flip (Asido_TMP &$tmp)

Redefinition of:
Asido_Driver_GD::__flip()
Vertically mirror (flip) the image: not supported
__flop (line 105)

Horizontally mirror (flop) the image

  • access: protected
boolean __flop (mixed &$tmp, Asido_Image &$image)

Redefinition of:
Asido_Driver_GD::__flop()
Horizontally mirror (flop) the image: not supported
__grayscale (line 36)

Make the image greyscale

  • access: protected
boolean __grayscale (Asido_TMP &$tmp)

Redefinition of:
Asido_Driver_GD::__grayscale()
Make the image greyscale: supported only for PHP => 5.* and PHP => 4.0.1 except for PHP 4.3.11
__open (line 189)

Open the source and target image for processing it

  • access: protected
boolean __open (Asido_TMP &$tmp)

Redefinition of:
Asido_Driver_GD::__open()
Open the source and target image for processing it
__tmpimage (line 163)

Generate a temporary object for the provided argument

  • access: protected
Asido_TMP __tmpimage (mixed &$handler, [string $filename = null])
  • mixed &$handler
  • string $filename: the filename will be automatically generated on the fly, but if you want you can use the filename provided by this argument

Redefinition of:
Asido_Driver_GD::__tmpimage()
Generate a temporary object for the provided argument
__write (line 334)

Write the image after being processed

  • access: protected
boolean __write (Asido_TMP &$tmp)

Redefinition of:
Asido_Driver_GD::__write()
Write the image after being processed

Inherited Methods

Inherited From Asido_Driver_GD

 Asido_Driver_GD::is_compatible()
 Asido_Driver_GD::__canvas()
 Asido_Driver_GD::__copy()
 Asido_Driver_GD::__crop()
 Asido_Driver_GD::__destroy_source()
 Asido_Driver_GD::__destroy_target()
 Asido_Driver_GD::__flip()
 Asido_Driver_GD::__flop()
 Asido_Driver_GD::__grayscale()
 Asido_Driver_GD::__open()
 Asido_Driver_GD::__resize()
 Asido_Driver_GD::__rotate()
 Asido_Driver_GD::__tmpimage()
 Asido_Driver_GD::__write()

Inherited From Asido_Driver

 Asido_Driver::convert()
 Asido_Driver::copy()
 Asido_Driver::crop()
 Asido_Driver::flip()
 Asido_Driver::flop()
 Asido_Driver::frame()
 Asido_Driver::get_supported_types()
 Asido_Driver::grayscale()
 Asido_Driver::is_compatible()
 Asido_Driver::prepare()
 Asido_Driver::resize()
 Asido_Driver::rotate()
 Asido_Driver::save()
 Asido_Driver::supported()
 Asido_Driver::watermark()
 Asido_Driver::__canvas()
 Asido_Driver::__copy()
 Asido_Driver::__crop()
 Asido_Driver::__destroy_source()
 Asido_Driver::__destroy_target()
 Asido_Driver::__flip()
 Asido_Driver::__flop()
 Asido_Driver::__grayscale()
 Asido_Driver::__open()
 Asido_Driver::__resize()
 Asido_Driver::__rotate()
 Asido_Driver::__tmpfile()
 Asido_Driver::__tmpimage()
 Asido_Driver::__write()

Documentation generated on Mon, 09 Apr 2007 23:57:03 +0300 by phpDocumentor 1.3.0RC4