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 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 756 insertions(+) create mode 100644 phpdoc/ImlibCliprect.html (limited to 'phpdoc/ImlibCliprect.html') 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
+ + + -- cgit v1.2.3