class
UStencil
: public
Graphic
(Return to index)
Type:
Instantiable
Base Classes:
public
Graphic
Derived Classes
Include file:
Unidraw/Graphic/ustencil.h
Public:
virtual ClassId
CompId
()
virtual
Graphic
*
Copy
()
void
GetOriginal
(
Bitmap
*&,
Bitmap
*&)
virtual
PSPattern
*
GetPattern
()
disallows patterned bitmaps to work around IV botch
void
SetOriginal
(
Bitmap
*,
Bitmap
*)
UStencil
(
Bitmap
* image,
Bitmap
* mask = nil,
Graphic
* = nil)
virtual
~UStencil
()
Protected:
Bitmap
*
_image
Bitmap
*
_mask
virtual boolean
contains
(
PointObj
&,
Graphic
*)
virtual void
draw
(
Canvas
*,
Graphic
*)
virtual void
getExtent
(float&, float&, float&, float&, float&,
Graphic
*)
virtual boolean
intersects
(
BoxObj
&,
Graphic
*)
(more documentation)