-
class
Canvas
(Return to index)
-
2d area for drawing.
Type:
Derived Classes
Include file:
Description: in reference manual
Public:
-
Canvas ()
- unsigned int
Height () const
- virtual void
SetBackground (const Color*)
- unsigned int
Width () const
- virtual boolean
any_damage () const
- virtual void
back_buffer ()
- virtual void
character ( const Font*, long ch, Coord width, const Color*, Coord x, Coord y )
- virtual void
clip ()
- virtual void
clip_rect (Coord l, Coord b, Coord r, Coord t)
- virtual void
close_path ()
- virtual void
curve_to ( Coord x, Coord y, Coord x1, Coord y1, Coord x2, Coord y2 )
- virtual void
damage (Coord left, Coord bottom, Coord right, Coord top)
- virtual void
damage (const Extension&)
- virtual void
damage_all ()
- virtual void
damage_area (Extension&)
- virtual boolean
damaged ( Coord left, Coord bottom, Coord right, Coord top ) const
- virtual boolean
damaged (const Extension&) const
-
enum
{ mapped, unmapped, offscreen }
- virtual void
fill (const Color*)
- virtual void
fill_rect (Coord l, Coord b, Coord r, Coord t, const Color*)
- virtual void
front_buffer ()
- virtual Coord
height () const
- virtual void
image (const Raster*, Coord x, Coord y)
- virtual void
line ( Coord x1, Coord y1, Coord x2, Coord y2, const Color*, const Brush* )
- virtual void
line_to (Coord x, Coord y)
- virtual void
move_to (Coord x, Coord y)
- virtual void
new_path ()
- virtual PixelCoord
pheight () const
- virtual void
pop_clipping ()
- virtual void
pop_transform ()
- virtual void
psize (PixelCoord width, PixelCoord height)
- virtual void
push_clipping ()
- virtual void
push_transform ()
- virtual PixelCoord
pwidth () const
- virtual void
rect ( Coord l, Coord b, Coord r, Coord t, const Color*, const Brush* )
- virtual void
redraw (Coord left, Coord bottom, Coord right, Coord top)
- CanvasRep*
rep () const
- virtual void
repair ()
- virtual void
restrict_damage ( Coord left, Coord bottom, Coord right, Coord top )
- virtual void
restrict_damage (const Extension&)
- virtual void
size (Coord width, Coord height)
- virtual CanvasLocation
status () const
- virtual void
stencil (const Bitmap*, const Color*, Coord x, Coord y)
- virtual void
stroke (const Color*, const Brush*)
- virtual Coord
to_coord (PixelCoord) const
- virtual PixelCoord
to_pixels (Coord) const
- virtual Coord
to_pixels_coord (Coord) const
- virtual void
transform (const Transformer&)
- virtual const Transformer&
transformer () const
- virtual void
transformer (const Transformer&)
- virtual Coord
width () const
- virtual Window*
window () const
- virtual
~Canvas ()
(more documentation)