| [ Index ] |
|
Code source de phpMyVisites 2.3 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
| Poids: | 1127 lignes (24 kb) |
| Inclus ou requis: | 2 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
awDrawer:: (24 méthodes):
__construct()
setImageSize()
setPosition()
setAbsPosition()
movePosition()
setSize()
setAbsSize()
getSize()
copyImage()
copyResizeImage()
string()
point()
line()
arc()
filledArc()
ellipse()
filledEllipse()
rectangle()
filledRectangle()
polygon()
filledPolygon()
getPolygonPoints()
startThickness()
stopThickness()
awGradientDrawer:: (16 méthodes):
__construct()
drawFilledFlatTriangle()
filledRectangle()
filledPolygon()
rectangleLinearGradient()
filledEllipse()
ellipseRadialGradient()
ellipseLinearGradient()
polygonLinearGradient()
next()
init()
color()
getRed()
getGreen()
getBlue()
getAlpha()
| __construct($resource) X-Ref |
| Build your drawer |
| setImageSize($width, $height) X-Ref |
| Change the image size param: int $width Image width param: int $height Image height |
| setPosition($x, $y) X-Ref |
| Inform the drawer of the position of your image param: float $x Position on X axis of the center of the component param: float $y Position on Y axis of the center of the component |
| setAbsPosition($x, $y) X-Ref |
| Inform the drawer of the position of your image This method need absolutes values param: int $x Left-top corner X position param: int $y Left-top corner Y position |
| movePosition($x, $y) X-Ref |
| Move the position of the image param: int $x Add this value to X axis param: int $y Add this value to Y axis |
| setSize($w, $h) X-Ref |
| Inform the drawer of the size of your image Height and width must be between 0 and 1. param: int $w Image width param: int $h Image height return: array Absolute width and height of the image |
| setAbsSize($w, $h) X-Ref |
| Inform the drawer of the size of your image You can set absolute size with this method. param: int $w Image width param: int $h Image height |
| getSize() X-Ref |
| Get the size of the component handled by the drawer return: array Absolute width and height of the component |
| copyImage(awImage $image, awPoint $p1, awPoint $p2) X-Ref |
| Draw an image here param: awImage $image Image param: int $p1 Image top-left point param: int $p2 Image bottom-right point |
| copyResizeImage(awImage $image, awPoint $d1, awPoint $d2, awPoint $s1, awPoint $s2, $resample = TRUE) X-Ref |
| Draw an image here param: awImage $image Image param: int $d1 Destination top-left position param: int $d2 Destination bottom-right position param: int $s1 Source top-left position param: int $s2 Source bottom-right position param: bool $resample Resample image ? (default to TRUE) |
| string(awText $text, awPoint $point) X-Ref |
| Draw a string param: awPoint $point Draw the text at this point |
| point(awColor $color, awPoint $p) X-Ref |
| Draw a pixel param: awColor $color Pixel color param: awPoint $p |
| line(awColor $color, awLine $line) X-Ref |
| Draw a colored line param: awColor $color Line color param: awLine $line param: int $thickness Line tickness |
| arc(awColor $color, awPoint $center, $width, $height, $from, $to) X-Ref |
| Draw a color arc param: awColor $color Arc color param: awPoint $center Point center param: int $width Ellipse width param: int $height Ellipse height param: int $from Start angle param: int $to End angle |
| filledArc(awColor $color, awPoint $center, $width, $height, $from, $to) X-Ref |
| Draw an arc with a background color param: awColor $color Arc background color param: awPoint $center Point center param: int $width Ellipse width param: int $height Ellipse height param: int $from Start angle param: int $to End angle |
| ellipse(awColor $color, awPoint $center, $width, $height) X-Ref |
| Draw a colored ellipse param: awColor $color Ellipse color param: awPoint $center Ellipse center param: int $width Ellipse width param: int $height Ellipse height |
| filledEllipse($background, awPoint $center, $width, $height) X-Ref |
| Draw an ellipse with a background param: mixed $background Background (can be a color or a gradient) param: awPoint $center Ellipse center param: int $width Ellipse width param: int $height Ellipse height |
| rectangle(awColor $color, awLine $line) X-Ref |
| Draw a colored rectangle param: awColor $color Rectangle color param: awLine $line Rectangle diagonale param: awPoint $p2 |
| filledRectangle($background, awLine $line) X-Ref |
| Draw a rectangle with a background param: mixed $background Background (can be a color or a gradient) param: awLine $line Rectangle diagonale |
| polygon(awColor $color, awPolygon $polygon) X-Ref |
| Draw a polygon param: awColor $color Polygon color param: Polygon A polygon |
| filledPolygon($background, awPolygon $polygon) X-Ref |
| Draw a polygon with a background param: mixed $background Background (can be a color or a gradient) param: Polygon A polygon |
| getPolygonPoints(awPolygon $polygon) X-Ref |
| Pas de description |
| startThickness($thickness) X-Ref |
| Pas de description |
| stopThickness($thickness) X-Ref |
| Pas de description |
Classe: awGradientDrawer - X-Ref
To your gradients| __construct(awDrawer $drawer) X-Ref |
| Build your GradientDrawer |
| drawFilledFlatTriangle(awGradient $gradient, awPoint $a, awPoint $b, awPoint $c) X-Ref |
| Pas de description |
| filledRectangle(awGradient $gradient, awPoint $p1, awPoint $p2) X-Ref |
| Pas de description |
| filledPolygon(awGradient $gradient, awPolygon $polygon) X-Ref |
| Pas de description |
| rectangleLinearGradient(awLinearGradient $gradient, awPoint $p1, awPoint $p2) X-Ref |
| Pas de description |
| filledEllipse(awGradient $gradient, $x1, $y1, $x2, $y2) X-Ref |
| Pas de description |
| ellipseRadialGradient(awGradient $gradient, $x1, $y1, $x2, $y2) X-Ref |
| Pas de description |
| ellipseLinearGradient(awGradient $gradient, $x1, $y1, $x2, $y2) X-Ref |
| Pas de description |
| polygonLinearGradient(awLinearGradient $gradient, awPolygon $polygon) X-Ref |
| Pas de description |
| next($polygon, &$pos, &$prev, &$next) X-Ref |
| Pas de description |
| init(awGradient $gradient, $size) X-Ref |
| Pas de description |
| color($pos) X-Ref |
| Pas de description |
| getRed($pos) X-Ref |
| Pas de description |
| getGreen($pos) X-Ref |
| Pas de description |
| getBlue($pos) X-Ref |
| Pas de description |
| getAlpha($pos) X-Ref |
| Pas de description |
| Généré le : Mon Nov 26 14:10:01 2007 | par Balluche grâce à PHPXref 0.7 |
|