|
|
File: /data/customers/alex/htdocs/include/pc4p_image.inc
PC4P - pc4p
pc4p_image
pc4p_object | +-- pc4p_image
Image-Object provides functionality for adding Images to the page
|
private class pc4p_image extends pc4p_object
Image-Object provides functionality for adding Images to the page
|
|
|
|
|
|
|
Private Field Summary |
array |
$marginMargins for this image |
integer |
$pimPointer to the image |
string |
$imgfileName of the image |
string |
$imgtypeType of the image |
float |
$imgscaleScale of the image |
|
Public Method Details |
pc4p_image |
public void pc4p_image( object pc4p_page &$parent )
|
|
Constructor
|
Parameter |
|
object pc4p_page |
&$parent |
|
|
|
|
Returns |
void |
Author(s) |
Alexander Wirtz <wirtz@web-active.com> |
|
pc4p_set_imagescale |
public void pc4p_set_imagescale( float $scale )
|
|
Sets the imagescale for this object.
|
Parameter |
|
|
Returns |
void |
Author(s) |
Alexander Wirtz <wirtz@web-active.com> |
|
pc4p_set_image |
public void pc4p_set_image( string $image )
|
|
Sets the image for this object.
|
Parameter |
|
|
Returns |
void |
Author(s) |
Alexander Wirtz <wirtz@web-active.com> |
|
|
Private Method Details |
pc4p_draw |
private void pc4p_draw( )
|
|
Calls the pc4p_draw_children
Warning: documentation is missing.
|
Returns |
void |
Author(s) |
Alexander Wirtz <wirtz@web-active.com> |
|
pc4p_calc_offset |
private integer pc4p_calc_offset( object pc4p_page &$parent )
|
|
Calculates the stringwidth for the current text and font in the
object and applies linefeed where necessary. Returns the sizefor the complete object.
Warning: documentation is missing.
|
Parameter |
|
object pc4p_page |
&$parent |
|
|
|
|
Returns |
integer $this ->height |
Author(s) |
Alexander Wirtz <wirtz@web-active.com> |
|
|
Private Field Details |
$margin |
private array $margin
>>array( "top" => 0, "bottom" => 0, "left" => 0, "right" => 0 ) <<
Margins for this image
|
|
$pim |
private integer $pim
>> <<
Pointer to the image
|
|
$imgfile |
private string $imgfile
>> <<
Name of the image
|
|
$imgtype |
private string $imgtype
>> <<
Type of the image
|
|
$imgscale |
private float $imgscale
>>1 <<
Scale of the image
|
|
|
|
|
PHPDoc 1.0beta |