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