pixmap class

This class provide a pixmap.
Inherits
object widget
Description
The pixmap class is an off-screen, pixel-based paint device.
Functions
$fill(<widget:object>,<x_offset:integer>,<y:offset>)
Fills the pixmap with the widget's background color or pixmap.
Note that x_offset, y_offest are offsets in the widget.
$resize(<width:integer>,<height:integer>)
Resizes the pixmap to w width and h height. Set wh or hg to 0, to have a null pixmap.
$scale(<width:integer>,<height:integer>,[<aspect_ratio:string>,<transformation_type:string>])
Scales the pixmap by sx horizontally and sy vertically. Aspect_ratio values: - IgnoreAspectRatio:the pixmap is scaled ignoring his aspect ratio. - KeepAspectRatio: pixmap is scaled to a rectangle as large as possible inside size, preserving the aspect ratio. - KeepAspectRatioByExpanding, the pixmap is scaled to a rectangle as small as possible outside size, preserving the aspect ratio. Transformation type values: - Fast: fast transformation but less quality. - Smooth: more quality using bilinear filtering.
$rotate(<a:real>)
Rotates the pixmap by a degrees.
$load(<file_name:string>)
Load a pixmap from the <file>.
<integer> $height()
Return the height of the pixmap.
<integer> $width()
Return the width of the pixmap.

Index, Object Classes
KVIrc 4.0.0 Documentation
Generated by mandrake at Wed Feb 4 16:40:30 2009