TilingGraphics Class Reference
[Utils]

Inherits Object.

Inheritance diagram for TilingGraphics:

Inheritance graph
[legend]
Collaboration diagram for TilingGraphics:

Collaboration graph
[legend]
List of all members.

Public Member Functions

Graphics BackingGraphics ()
void Constructor (Graphics inGraphics=nil)
void DrawLine (integer X, integer Y, integer x2, integer y2)
void DrawObject (Object2D inObject, integer X=0, integer Y=0)
void DrawOval (integer X, integer Y, integer W, integer H)
void DrawPicture (Picture inPicture, integer X=0, integer Y=0)
void DrawPicture (Picture inPicture, integer X, integer Y, integer DestWidth, integer DestHeight)
void DrawPicture (Picture inPicture, integer X, integer Y, integer DestWidth, integer DestHeight, integer SourceX, Integer SourceY)
void DrawPicture (Picture inPicture, integer X, integer Y, integer DestWidth, integer DestHeight, integer SourceX, Integer SourceY, integer SourceWidth, integer SourceHeight)
void DrawRect (integer X, integer Y, integer W, integer H)
Color ForeColor ()
void ForeColor (color assigns c)
integer Height ()
void NextPage ()
void PopGraphics ()
void PushGraphics (Graphics newGraphics)
void TilePicture (Picture inPicture, integer offsetX, integer offsetY, integer destWidth, integer destHeight)
void UseGraphics (Graphics newGraphics)
integer Width ()

Package Attributes

Graphics mGraphics
Graphics mGraphicsStack []

Detailed Description

Hides the Graphics class with an abstraction.
Note:
if this was in RB200x could just subclass Graphics and override methods but as framework classes are non-virtual in RB5 can't do that.


Member Function Documentation

Graphics TilingGraphics.BackingGraphics (  ) 

void TilingGraphics.Constructor ( Graphics  inGraphics = nil  ) 

void TilingGraphics.DrawLine ( integer  X,
integer  Y,
integer  x2,
integer  y2 
)

void TilingGraphics.DrawObject ( Object2D  inObject,
integer  X = 0,
integer  Y = 0 
)

void TilingGraphics.DrawOval ( integer  X,
integer  Y,
integer  W,
integer  H 
)

void TilingGraphics.DrawPicture ( Picture  inPicture,
integer  X = 0,
integer  Y = 0 
)

void TilingGraphics.DrawPicture ( Picture  inPicture,
integer  X,
integer  Y,
integer  DestWidth,
integer  DestHeight 
)

void TilingGraphics.DrawPicture ( Picture  inPicture,
integer  X,
integer  Y,
integer  DestWidth,
integer  DestHeight,
integer  SourceX,
Integer  SourceY 
)

void TilingGraphics.DrawPicture ( Picture  inPicture,
integer  X,
integer  Y,
integer  DestWidth,
integer  DestHeight,
integer  SourceX,
Integer  SourceY,
integer  SourceWidth,
integer  SourceHeight 
)

void TilingGraphics.DrawRect ( integer  X,
integer  Y,
integer  W,
integer  H 
)

Color TilingGraphics.ForeColor (  ) 

void TilingGraphics.ForeColor ( color assigns  c  ) 

integer TilingGraphics.Height (  ) 

void TilingGraphics.NextPage (  ) 

void TilingGraphics.PopGraphics (  ) 

void TilingGraphics.PushGraphics ( Graphics  newGraphics  ) 

void TilingGraphics.TilePicture ( Picture  inPicture,
integer  offsetX,
integer  offsetY,
integer  destWidth,
integer  destHeight 
)

void TilingGraphics.UseGraphics ( Graphics  newGraphics  ) 

integer TilingGraphics.Width (  ) 


Member Data Documentation

Graphics TilingGraphics.mGraphics [package]

Graphics TilingGraphics.mGraphicsStack[] [package]


The documentation for this class was generated from the following file:
Generated on Sat Nov 11 10:53:15 2006 for mf2 by  doxygen 1.5.1