-
class
Graphic
(Return to index)
-
Type:
Derived Classes
Include file:
Unidraw/Graphic/graphic.h
Public:
- void
Align (Alignment, Graphic*, Alignment)
- virtual void
Append (Graphic*, Graphic* =nil, Graphic* =nil, Graphic* =nil)
- virtual void
Bequeath ()
- virtual int
BgFilled ()
- virtual ClassId
CompId ()
- virtual boolean
Contains (PointObj&)
- virtual Graphic*
Copy ()
- void
Desensitize (boolean desensitize=true)
- boolean
Desensitized ()
- virtual boolean
Done (Iterator)
- virtual void
Draw (Canvas*)
- virtual void
Draw (Canvas*, Coord, Coord, Coord, Coord)
- virtual void
DrawClipped (Canvas*, Coord, Coord, Coord, Coord)
- virtual void
Erase (Canvas*)
- virtual void
Erase (Canvas*, Coord, Coord, Coord, Coord)
- virtual void
EraseClipped (Canvas*, Coord, Coord, Coord, Coord)
- virtual void
FillBg (int)
- virtual void
First (Iterator&)
- virtual Graphic*
FirstGraphicContaining (PointObj&)
- virtual Graphic*
FirstGraphicIntersecting (BoxObj&)
- virtual Graphic*
FirstGraphicWithin (BoxObj&)
- virtual PSColor*
GetBgColor ()
- void
GetBounds (float&, float&, float&, float&)
- void
GetBox (BoxObj&)
- void
GetBox (Coord&, Coord&, Coord&, Coord&)
- virtual PSBrush*
GetBrush ()
- virtual void
GetCenter (float&, float&)
- virtual PSColor*
GetFgColor ()
- virtual PSFont*
GetFont ()
- virtual Graphic*
GetGraphic (Iterator)
- virtual PSPattern*
GetPattern ()
- void*
GetTag ()
- Transformer*
GetTransformer ()
- boolean
Hidden ()
- void
Hide (boolean hide=true)
- virtual void
InsertAfter (Iterator, Graphic*)
- virtual void
InsertBefore (Iterator, Graphic*)
- virtual boolean
Intersects (BoxObj&)
- virtual void
Last (Iterator&)
- virtual Graphic*
LastGraphicContaining (PointObj&)
- virtual Graphic*
LastGraphicIntersecting (BoxObj&)
- virtual Graphic*
LastGraphicWithin (BoxObj&)
- virtual void
Next (Iterator&)
- Graphic*
Parent ()
- virtual void
Prepend (Graphic*,Graphic* =nil, Graphic* =nil, Graphic* =nil)
- virtual void
Prev (Iterator&)
- virtual void
Remove (Graphic*)
- virtual void
Remove (Iterator&)
- void
Rotate (float angle, float ctrx = 0.0, float ctry = 0.0)
- void
Scale (float sx, float sy, float ctrx = 0.0, float ctry = 0.0)
- void
Sensitize (boolean sensitize=true)
- virtual void
SetBrush (PSBrush*)
- virtual void
SetColors (PSColor* f, PSColor* b)
- virtual void
SetFont (PSFont*)
- virtual void
SetGraphic (Graphic*, Iterator&)
- virtual void
SetPattern (PSPattern*)
- void
SetTag (void*)
- void
SetTransformer (Transformer*)
- void
Show (boolean show=true)
- void
ToggleDesensitize ()
- void
ToggleHide ()
- void
TotalTransformation (Transformer&)
- void
Translate (float dx, float dy)
- void
cachingOff ()
- void
cachingOn ()
- virtual void
concat (Graphic* a, Graphic* b, Graphic* dest)
- virtual void
concatGS (Graphic* a, Graphic* b, Graphic* dest)
- virtual void
concatTransformer ( Transformer* a, Transformer* b, Transformer* dest )
- virtual boolean
extentCached ()
- virtual void
invalidateCaches ()
- virtual Graphic&
operator = (Graphic&)
- virtual void
uncacheChildren ()
- virtual void
uncacheExtent ()
- virtual void
uncacheParents ()
- static boolean
use_iv ()
- static void
use_iv (boolean flag)
- virtual
~Graphic ()
Protected:
- void
GetExtent (Extent& e)
-
Graphic (Graphic* gr = nil)
- PSColor*
_bg
- static boolean
_caching
- static BoxObj*
_clipping
- static unsigned int
_desensitize_mask
- PSColor*
_fg
- int
_fillBg
- unsigned int
_flags
- static unsigned int
_hide_mask
- static Transformer*
_identity
- static Painter*
_p
- Graphic*
_parent
- Transformer*
_t
- void*
_tag
- static boolean
_use_iv
- void
concatGSGraphic (Graphic*, Graphic*, Graphic*, Graphic*)
- void
concatGraphic (Graphic*, Graphic*, Graphic*, Graphic*)
- void
concatTransformerGraphic ( Graphic*,Transformer*, Transformer*, Transformer* )
- virtual boolean
contains (PointObj&, Graphic* gs)
- boolean
containsGraphic (Graphic*, PointObj&, Graphic* gs)
- virtual void
draw (Canvas*, Graphic* gs)
- virtual void
drawClipped (Canvas*, Coord, Coord, Coord, Coord, Graphic* gs)
- void
drawClippedGraphic (Graphic*,Canvas*,Coord,Coord,Coord,Coord,Graphic*)
- void
drawGraphic (Graphic*, Canvas*, Graphic*)
- virtual void
erase (Canvas*, Graphic* gs)
- virtual void
eraseClipped (Canvas*, Coord, Coord, Coord, Coord,Graphic* gs)
- void
eraseClippedGraphic ( Graphic*, Canvas*, Coord, Coord, Coord, Coord, Graphic* )
- void
eraseGraphic (Graphic*, Canvas*, Graphic*)
- boolean
extentCachedGraphic (Graphic*)
- void
getBounds (float&, float&, float&, float&, Graphic* gs)
- void
getBox (BoxObj&, Graphic* gs)
- void
getBox (Coord&, Coord&, Coord&, Coord&, Graphic* gs)
- virtual void
getExtent (float&, float&, float&, float&, float&,Graphic* gs)
- void
getExtentGraphic ( Graphic*, float&, float&, float&, float&, float&, Graphic* gs )
- Graphic*
getRoot ()
- virtual boolean
intersects (BoxObj&, Graphic* gs)
- boolean
intersectsGraphic (Graphic*, BoxObj&, Graphic* gs)
- void
invTransform (Coord& tx, Coord& ty, Graphic* = nil)
- void
invTransform (Coord tx, Coord ty, Coord& x, Coord& y, Graphic* = nil)
- void
invTransform (float tx, float ty, float& x, float& y, Graphic* = nil)
- void
invTransformList ( Coord tx[], Coord ty[], int n, Coord x[], Coord y[], Graphic* = nil )
- void
invTransformRect ( float, float, float, float, float&, float&, float&, float&, Graphic* = nil )
- void
invalidateCachesGraphic (Graphic*)
- void
parentXform (Transformer& t)
- void
setParent (Graphic*, Graphic* parent)
- void
totalGS (Graphic& p)
- void
transform (Coord& x, Coord& y, Graphic* = nil)
- void
transform (Coord x, Coord y, Coord& tx, Coord& ty, Graphic* = nil)
- void
transform (float x, float y, float& tx, float& ty, Graphic* = nil)
- void
transformList ( Coord x[], Coord y[], int n, Coord tx[], Coord ty[], Graphic* = nil )
- void
transformRect ( float, float, float, float, float&, float&, float&, float&, Graphic* = nil )
- void
uncacheChildrenGraphic (Graphic*)
- void
uncacheExtentGraphic (Graphic*)
- void
uncacheParentsGraphic (Graphic*)
- void
unsetParent (Graphic*)
- void
update (Graphic* gs)
(more documentation)