[ Index ] |
|
Code source de Cr@wltr@ck 2.2.1 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 777 lignes (20 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
awMingDriver:: (32 méthodes):
__construct()
init()
initFromFile()
setImageSize()
setPosition()
setAbsPosition()
movePosition()
setSize()
setAbsSize()
getSize()
setAntiAliasing()
getColor()
copyImage()
copyResizeImage()
string()
point()
line()
arc()
filledArc()
ellipse()
filledEllipse()
rectangle()
filledRectangle()
polygon()
filledPolygon()
send()
get()
getTextWidth()
getTextHeight()
isCompatibleWithFont()
drawImage()
getGradient()
Classe: awMingDriver - X-Ref
Draw your objects__construct() X-Ref |
The Flash movie |
init(awImage $image) X-Ref |
Initialize the driver for a particular awImage object param: awImage $image |
initFromFile(awFileImage $fileImage, $file) X-Ref |
Initialize the Driver for a particular FileImage object param: awFileImage $fileImage The FileImage object to work on param: string $file Image filename |
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 driver 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 driver 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 driver 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 driver 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 driver return: array Absolute width and height of the component |
setAntiAliasing($bool) X-Ref |
Turn antialiasing on or off |
getColor(awColor $color) X-Ref |
When passed a Color object, returns the corresponding color identifier (driver dependant). param: awColor $color A Color object return: array $rgba A color identifier representing the color composed of the given RGB components |
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, $width = NULL) X-Ref |
Draw a string param: awPoint $point Draw the text at this point param: int $width Text max width |
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 |
send(awImage $image) X-Ref |
Sends the image, as well as the correct HTTP headers, to the browser param: awImage $image The Image object to send |
get(awImage $image) X-Ref |
Get the image as binary data param: awImage $image |
getTextWidth(awText $text) X-Ref |
Pas de description |
getTextHeight(awText $text) X-Ref |
Pas de description |
isCompatibleWithFont(awFont $font) X-Ref |
Pas de description |
drawImage(awImage $image, $return = FALSE, $header = TRUE) X-Ref |
Pas de description |
getGradient(awGradient $gradient) X-Ref |
Convert an awGradient object to an SWFGradient one. Returns an object as well as the style of the Flash gradient. param: awGradient $gradient The awGradient object to convert return: array |
Généré le : Thu Sep 6 14:14:11 2007 | par Balluche grâce à PHPXref 0.7 |