Packageindex Classtrees Modulegroups Elementlist Report XML Files

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

AuthorsAlexander Wirtz <wirtz@web-active.com>

 

Methods inherited from pc4p_object

pc4p_object, pc4p_set_margin, pc4p_set_width, pc4p_set_alignment, pc4p_set_textleading, pc4p_draw_children

Public Method Summary

void

pc4p_image(object pc4p_page &$parent)

Constructor
void

pc4p_set_imagescale(float $scale)

Sets the imagescale for this object.
void

pc4p_set_image(string $image)

Sets the image for this object.

Private Method Summary

void

pc4p_draw()

Calls the pc4p_draw_childrenWarning: documentation is missing.
integer

pc4p_calc_offset(object pc4p_page &$parent)

Calculates the stringwidth for the current text and font in theWarning: documentation is missing.

Fields inherited from pc4p_object

$children, $pdfp, $width, $height, $act_width, $act_height, $draw_height, $alignment, $leading

Private Field Summary

array

$margin

Margins for this image
integer

$pim

Pointer to the image
string

$imgfile

Name of the image
string

$imgtype

Type of the image
float

$imgscale

Scale 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
float $scale
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
string $image
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



Packageindex Classtrees Modulegroups Elementlist Report XML Files
PHPDoc 1.0beta