kmx > IUP-0.202 > IUP::Canvas::Pattern

Download:
IUP-0.202.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source  

NAME ^

IUP::Canvas::Pattern - [special Canvas helper] Fill pattern for use with IUP::Canvas

SYNOPSIS ^

 $pat = IUP::Canvas::Pattern->new( [ [...], [...] ] );   #1 param
 $pat = IUP::Canvas::Pattern->new( $w, $h );             #2 params
 
 $value = $pat->Pixel($x, $y);
 $pat->Pixel($x, $y, $value);
 $pat->Width();
 $pat->Height();
 $pat->Data();
 
 $canvas->cdPattern($pat);
 $canvas->wdPattern($pat, $w_mm, $h_mm);
 $curpat = $canvas->cdGetPattern();

DESCRIPTION ^

IUP::Canvas::Bitmap is a helper class used by IUP::Canvas methods: cdPattern, wdPattern and cdGetPattern

SEE ALSO ^

IUP::Canvas

syntax highlighting: