From d0a9b9a03fc7ae74ef8a64593ac6b592526ec4d5 Mon Sep 17 00:00:00 2001 From: pp Date: Wed, 19 May 2004 04:59:31 +0000 Subject: - initial import git-svn-id: https://siedziba.pl:790/svn/repos/php-imlib/trunk@7 455248ca-bdda-0310-9134-f4ebb693071a --- phpdoc/ImlibCliprect.html | 756 ++++++++++++ phpdoc/ImlibColor.html | 562 +++++++++ phpdoc/ImlibColorRange.html | 797 ++++++++++++ phpdoc/ImlibDraw.html | 1110 +++++++++++++++++ phpdoc/ImlibImage.html | 2254 ++++++++++++++++++++++++++++++++++ phpdoc/ImlibPoly.html | 880 +++++++++++++ phpdoc/ImlibText.html | 754 ++++++++++++ phpdoc/frame_packagelist.html | 23 + phpdoc/packageelementlist_Imlib.html | 66 + phpdoc/phpdoc.css | 92 ++ phpdoc/phpdoc_classtree.html | 74 ++ phpdoc/phpdoc_elementlist.html | 884 +++++++++++++ phpdoc/phpdoc_packagelist.html | 125 ++ phpdoc/phpdoc_warnings.html | 96 ++ phpdoc/phpdoc_xmlfiles.html | 63 + 15 files changed, 8536 insertions(+) create mode 100644 phpdoc/ImlibCliprect.html create mode 100644 phpdoc/ImlibColor.html create mode 100644 phpdoc/ImlibColorRange.html create mode 100644 phpdoc/ImlibDraw.html create mode 100644 phpdoc/ImlibImage.html create mode 100644 phpdoc/ImlibPoly.html create mode 100644 phpdoc/ImlibText.html create mode 100644 phpdoc/frame_packagelist.html create mode 100644 phpdoc/packageelementlist_Imlib.html create mode 100644 phpdoc/phpdoc.css create mode 100644 phpdoc/phpdoc_classtree.html create mode 100644 phpdoc/phpdoc_elementlist.html create mode 100644 phpdoc/phpdoc_packagelist.html create mode 100644 phpdoc/phpdoc_warnings.html create mode 100644 phpdoc/phpdoc_xmlfiles.html (limited to 'phpdoc') diff --git a/phpdoc/ImlibCliprect.html b/phpdoc/ImlibCliprect.html new file mode 100644 index 0000000..b5c129b --- /dev/null +++ b/phpdoc/ImlibCliprect.html @@ -0,0 +1,756 @@ + + + + + PHP Imlib2 Classes - Imlib - Class: ImlibCliprect + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + +
PackageindexClasstreesModulegroupsElementlistReportXML Files
+

+ File: /home/matt/src/cvs/imlib/docs/class.ImlibCliprect.php +
PHP Imlib2 Classes - Imlib
+

ImlibCliprect

+ ImlibColor
   |
  +-- ImlibCliprect
+

+ Provides variables and methods for a clipping rectangle +

+   +

+

public class ImlibCliprect extends ImlibColor

+ Provides variables and methods for a clipping rectangle +
+ The variables and methods in this class provide a clipping rectangle thatcan be used by any drawing function to restrict drawing/filling to arectangular region. +

+ + + + + + + + + +
AuthorsMatt McClanahan <cardinal@dodds.net>
Version0.3
+

 
+ Direct known subclasses: ImlibColorRange, ImlibDraw, ImlibPoly +

+ + + + + + + +

Methods inherited from ImlibColor

imlibcolor, get_color, get_color_array, set_color, set_color_array
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Method Summary

void

ImlibCliprect()

ImlibCliprect constructor
void

get_cliprect(int &$x, int &$y, int &$w, int &$h)

Get the four values of the cliprect
array

get_cliprect_array()

Get the array that defines the cliprect (x,y,w,h)
bool

get_cliprect_inuse()

Get the boolean that determines if a cliprect is in use or not
void

set_cliprect(int $x, int $y, int $w, int $h)

Set the four values of the cliprect. 0 for X disables the cliprect.
void

set_cliprect_array(array $arr)

Set the array that defines the cliprect (x,y,w,h)
void

set_cliprect_inuse(bool $set)

Set the boolean that determines if the cliprect is in use
+
+ + + + + + + +

Fields inherited from ImlibColor

$color
+
+ + + + + + + + + + + + + + + +

Private Field Summary

array

$cliprect

The array defining the cliprect (x,y,w,h)
bool

$cliprect_inuse

A boolean that determines if a cliprect is in use or not
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Method Details

ImlibCliprect

+ public void ImlibCliprect( )

+

  + ImlibCliprect constructor +
+ +

+ +

Returnsvoid


get_cliprect

+ public void get_cliprect( int &$x, int &$y, int &$w, int &$h )

+

  + Get the four values of the cliprect +
+ +

+ +

Parameter
+ + + + + + + + + + +
int&$x
left X coordinate to clip from
+
+ + + + + + + + + + +
int&$y
left Y coordinate to clip from
+
+ + + + + + + + + + +
int&$w
of the cliprect
+
+ + + + + + + + + + +
int&$h
of the cliprect
+
Returnsvoid

See Alsoset_cliprect()

get_cliprect_array

+ public array get_cliprect_array( )

+

  + Get the array that defines the cliprect (x,y,w,h) +
+ +

+ +

Returnsarray

Array defining the clipping rectangle

See Alsoset_cliprect_array()

get_cliprect_inuse

+ public bool get_cliprect_inuse( )

+

  + Get the boolean that determines if a cliprect is in use or not +
+ +

+ +

Returnsbool

True if the cliprect is in use

See Alsoset_cliprect_inuse()

set_cliprect

+ public void set_cliprect( int $x, int $y, int $w, int $h )

+

  + Set the four values of the cliprect. 0 for X disables the cliprect. +
+ +

+ +

Parameter
+ + + + + + + + + + +
int$x
left X coordinate to clip from
+
+ + + + + + + + + + +
int$y
left Y coordinate to clip from
+
+ + + + + + + + + + +
int$w
of the cliprect
+
+ + + + + + + + + + +
int$h
of the cliprect
+
Returnsvoid

See Alsoget_cliprect()

set_cliprect_array

+ public void set_cliprect_array( array $arr )

+

  + Set the array that defines the cliprect (x,y,w,h) +
+ +

+ +

Parameter
+ + + + + + + + + + +
array$arr
that defines the cliprect
+
Returnsvoid

See Alsoget_cliprect_array()

set_cliprect_inuse

+ public void set_cliprect_inuse( bool $set )

+

  + Set the boolean that determines if the cliprect is in use +
+ +

+ +

Parameter
+ + + + + + + + + + +
bool$set
to enable, false to disable
+
Returnsvoid

See Alsoget_cliprect_inuse()

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Private Field Details

$cliprect

+ private array $cliprect +

+ >><< +

+ The array defining the cliprect (x,y,w,h) +
+ +


$cliprect_inuse

+ private bool $cliprect_inuse +

+ >><< +

+ A boolean that determines if a cliprect is in use or not +
+ +


+

+ + + + + + + + + +
PackageindexClasstreesModulegroupsElementlistReportXML Files
+
PHPDoc 1.0beta
+ + + diff --git a/phpdoc/ImlibColor.html b/phpdoc/ImlibColor.html new file mode 100644 index 0000000..cc152ce --- /dev/null +++ b/phpdoc/ImlibColor.html @@ -0,0 +1,562 @@ + + + + + PHP Imlib2 Classes - Imlib - Class: ImlibColor + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + +
PackageindexClasstreesModulegroupsElementlistReportXML Files
+

+ File: /home/matt/src/cvs/imlib/docs/class.ImlibColor.php +
PHP Imlib2 Classes - Imlib
+

ImlibColor

+ ImlibColor
+

+ Provides variables and methods for handling color +

+   +

+

public class ImlibColor

+ Provides variables and methods for handling color +
+ The variables and methods in this class provide a way to get and set thecolor to be used by any text or drawing functions. +

+ + + + + + + + + +
AuthorsMatt McClanahan <cardinal@dodds.net>
Version0.3
+

 
+ Direct known subclasses: ImlibCliprect, ImlibText +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Method Summary

void

ImlibColor()

ImlibColor constructor
mixed

get_color(int &$r, int &$g, int &$b, int &$a)

Get the four color components as by-reference variables
mixed

get_color_array()

Get the color array currently defined, if it is defined
void

set_color(int $r, int $g, int $b, int $a)

Set the current color using the four components
void

set_color_array(array $arr)

Set the current color using an array of 4 elements (r,g,b,a)
+
+ + + + + + + + + + +

Private Field Summary

array

$color

The array defining the color (r,g,b,a)
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Method Details

ImlibColor

+ public void ImlibColor( )

+

  + ImlibColor constructor +
+ +

+ +

Returnsvoid


get_color

+ public mixed get_color( int &$r, int &$g, int &$b, int &$a )

+

  + Get the four color components as by-reference variables +
+ +

+ +

Parameter
+ + + + + + + + + + +
int&$r
Red
+
+ + + + + + + + + + +
int&$g
Blue
+
+ + + + + + + + + + +
int&$b
Green
+
+ + + + + + + + + + +
int&$a
Alpha
+
Returnsmixed

False if a color isn't set, the color array otherwise


get_color_array

+ public mixed get_color_array( )

+

  + Get the color array currently defined, if it is defined +
+ +

+ +

Returnsmixed

False if a color isn't set, the color array otherwise


set_color

+ public void set_color( int $r, int $g, int $b, int $a )

+

  + Set the current color using the four components +
+ +

+ +

Parameter
+ + + + + + + + + + +
int$r
+
+ + + + + + + + + + +
int$g
+
+ + + + + + + + + + +
int$b
+
+ + + + + + + + + + +
int$a
+
Returnsvoid


set_color_array

+ public void set_color_array( array $arr )

+

  + Set the current color using an array of 4 elements (r,g,b,a) +
+ +

+ +

Parameter
+ + + + + + + + + + +
array$arr
array
+
Returnsvoid


+
+ + + + + + + + + + + + + + + + + + + + + + +

Private Field Details

$color

+ private array $color +

+ >><< +

+ The array defining the color (r,g,b,a) +
+ +


+

+ + + + + + + + + +
PackageindexClasstreesModulegroupsElementlistReportXML Files
+
PHPDoc 1.0beta
+ + + diff --git a/phpdoc/ImlibColorRange.html b/phpdoc/ImlibColorRange.html new file mode 100644 index 0000000..163c937 --- /dev/null +++ b/phpdoc/ImlibColorRange.html @@ -0,0 +1,797 @@ + + + + + PHP Imlib2 Classes - Imlib - Class: ImlibColorRange + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + +
PackageindexClasstreesModulegroupsElementlistReportXML Files
+

+ File: /home/matt/src/cvs/imlib/docs/class.ImlibColorRange.php +
PHP Imlib2 Classes - Imlib
+

ImlibColorRange

+ ImlibColor
   |
  +-- ImlibCliprect
     |
    +-- ImlibColorRange
+

+ All functions relevant to creating and displaying color ranges +

+   +

+

public class ImlibColorRange extends ImlibCliprect

+ All functions relevant to creating and displaying color ranges +
+ +

+ + + + + + + + + +
AuthorsMatt McClanahan <cardinal@dodds.net>
Version0.3
+

 

+ + + + + + + +

Methods inherited from ImlibCliprect

imlibcliprect, get_cliprect, get_cliprect_array, get_cliprect_inuse, set_cliprect, set_cliprect_array, set_cliprect_inuse
+
+ + + + + + + +

Methods inherited from ImlibColor

imlibcolor, get_color, get_color_array, set_color, set_color_array
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Method Summary

void

ImlibColorRange()

ImlibColorRange constructor
void

add_color(int $x, int $r, int $g, int $b, int $a)

Add a color to the color range at distance $x.
void

add_color_array(int $x, array $arr)

Add a color to the color range at distance $x.
int

create()

Create a new color range
void

free()

Free the current color range
void

fill_rectangle(int $x, int $y, int $w, int $h, int $angle)

Fill the current image with a rectangle using the current color range
void

set_image(int $im)

Set the image to draw the color range on
+
+ + + + + + + +

Fields inherited from ImlibCliprect

$cliprect, $cliprect_inuse
+
+ + + + + + + +

Fields inherited from ImlibColor

$color
+
+ + + + + + + + + + + + + + + +

Private Field Summary

unknown

$cr

Resource id# of the current color range
unknown

$im

Resource id# of the image to draw on
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Method Details

ImlibColorRange

+ public void ImlibColorRange( )

+

  + ImlibColorRange constructor +
+ +

+ +

Returnsvoid


add_color

+ public void add_color( int $x, int $r, int $g, int $b, int $a )

+

  + Add a color to the color range at distance $x. +
+ A distance of 0 will center it between the previous color and the end.$x is ignored for the first color. +

+ +

Parameter
+ + + + + + + + + + +
int$x
from the previous color
+
+ + + + + + + + + + +
int$r
+
+ + + + + + + + + + +
int$g
+
+ + + + + + + + + + +
int$b
+
+ + + + + + + + + + +
int$a
+
Returnsvoid


add_color_array

+ public void add_color_array( int $x, array $arr )

+

  + Add a color to the color range at distance $x. +
+ A distance of 0 will center it between the previous color and the end.$x is ignored for the first color. +

+ +

Parameter
+ + + + + + + + + + +
int$x
from the previous color
+
+ + + + + + + + + + +
array$arr
array (r,g,b,a)
+
Returnsvoid


create

+ public int create( )

+

  + Create a new color range +
+ +

+ +

Returnsint

Resource id# of the new color range


free

+ public void free( )

+

  + Free the current color range +
+ +

+ +

Returnsvoid


fill_rectangle

+ public void fill_rectangle( int $x, int $y, int $w, int $h, int $angle )

+

  + Fill the current image with a rectangle using the current color range +
+ The color range will be filled in the specified box at angle $angle +

+ +

Parameter
+ + + + + + + + + + +
int$x
-left X coordinate of the box
+
+ + + + + + + + + + +
int$y
-left Y coordinate of the box
+
+ + + + + + + + + + +
int$w
of the box
+
+ + + + + + + + + + +
int$h
of the box
+
+ + + + + + + + + + +
int$angle
to rotate the color range (degrees)
+
Returnsvoid


set_image

+ public void set_image( int $im )

+

  + Set the image to draw the color range on +
+ +

+ +

Parameter
+ + + + + + + + + + +
int$im
id# of the image
+
Returnsvoid


+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Private Field Details

$cr

+ private unknown $cr +

+ >><< +

+ Resource id# of the current color range +
+ +


$im

+ private unknown $im +

+ >><< +

+ Resource id# of the image to draw on +
+ +


+

+ + + + + + + + + +
PackageindexClasstreesModulegroupsElementlistReportXML Files
+
PHPDoc 1.0beta
+ + + diff --git a/phpdoc/ImlibDraw.html b/phpdoc/ImlibDraw.html new file mode 100644 index 0000000..d5c08a3 --- /dev/null +++ b/phpdoc/ImlibDraw.html @@ -0,0 +1,1110 @@ + + + + + PHP Imlib2 Classes - Imlib - Class: ImlibDraw + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + +
PackageindexClasstreesModulegroupsElementlistReportXML Files
+

+ File: /home/matt/src/cvs/imlib/docs/class.ImlibDraw.php +
PHP Imlib2 Classes - Imlib
+

ImlibDraw

+ ImlibColor
   |
  +-- ImlibCliprect
     |
    +-- ImlibDraw
+

+ Does everything relevant to drawing or filling ellipses, lines, or rectangles +

+   +

+

public class ImlibDraw extends ImlibCliprect

+ Does everything relevant to drawing or filling ellipses, lines, or rectangles +
+ +

+ + + + + + + + + +
AuthorsMatt McClanahan <cardinal@dodds.net>
Version0.3
+

 

+ + + + + + + +

Methods inherited from ImlibCliprect

imlibcliprect, get_cliprect, get_cliprect_array, get_cliprect_inuse, set_cliprect, set_cliprect_array, set_cliprect_inuse
+
+ + + + + + + +

Methods inherited from ImlibColor

imlibcolor, get_color, get_color_array, set_color, set_color_array
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Method Summary

void

ImlibDraw()

ImlibDraw constructor
bool

draw_ellipse(int $x, int $y, int $w, int $h)

Draw an ellipse
bool

draw_line(int $x1, int $y1, int $x2, int $y2)

Draw a line
bool

draw_rectangle(int $x, int $y, int $w, int $h)

Draw a rectangle
bool

fill_ellipse(int $x, int $y, int $w, int $h)

Fill an ellipse
bool

fill_rectangle(int $x, int $y, int $w, int $h)

Fill a rectangle
void

get_image()

Get the current image resource id#
void

set_image(int $im)

Set the image resource id# to draw on
+
+ + + + + + + + + + +

Private Method Summary

bool

_draw_something(int $x, int $y, int $w, int $h, string $cb)

Callback for drawing everything
+
+ + + + + + + +

Fields inherited from ImlibCliprect

$cliprect, $cliprect_inuse
+
+ + + + + + + +

Fields inherited from ImlibColor

$color
+
+ + + + + + + + + + +

Private Field Summary

unknown

$im

Resource id# of the image to draw on
+
+ + + + + + + + + + + +

Public Method Details

ImlibDraw

+ public void ImlibDraw( )

+

  + ImlibDraw constructor +
+ +

+ +