Previous : Low level functions Up : Index Next : Credits / Contact information

Appendix


Description of the various drawing modes :

RPLC
Completely RePLaCes the destination (clearing it before is useless). You should use this mode to display a background.


OR
Logical OR between the source and the destination.


XOR
Logical XOR (eXclusive OR) between the source and the destination.


AND
Logical AND between the source and the destination.


MASK
This mode is particular. In black and white functions, it's totally the same as the AND mode. In grayscale, it realizes a logical AND between the first plane of the source big_vscreen, and the both planes of the destination (so you can pass a black and white big_vscreen, since only the first plane is used).
This mode is very useful to draw several planes on the screen without losing a color (by drawing next a plane using the OR mode). The example 5 shows a way to use this mode.


BLIT
This mode uses the field mask of the Plane structure, or the mask is passed to the low-level functions. A logical AND is performed between the mask and the destination, and then the plane is drawn with a logical OR between the source and the destination. This mode can be useful to create transition effects.


TRANW
The White color is TRANsparent, the other colors are opaque. This mode is very useful to draw planes over a background.


TRANB
The Black color is TRANsparent, the other colors are opaque. This mode is very useful to draw planes over a background.



Table summarizing the different plane types:

(elements have type TM_Type)
2D char arrays2D short arrays
8x8 sprites16x16 sprites8x8 sprites16x16 sprites
B/WTM_8BTM_16BTM_8WTM_16W
GrayscalesTM_G8BTM_G16BTM_G8WTM_G16W



Table summarizing the different animated plane types:

(elements have type TM_AnimType)
2D char arrays2D short arrays
8x8 sprites16x16 sprites8x8 sprites16x16 sprites
B/WTM_A8BTM_A16BTM_A8WTM_A16W
GrayscalesTM_GA8BTM_GA16BTM_GA8WTM_GA16W



Table summarizing the different plane types for the DrawTiles functions

(element have type TM_TilesType)
2D char arrays 2D short arrays
8x8 Sprites 16x16 Sprites 8x8 Sprites 16x16 Sprites
B/W TI92+ TM_T8B TM_T16B TM_T8W TM_T16W
TI89 TM_T8B89 TM_T16B89 TM_T8W89 TM_T16W89
Grayscales TI92+ TM_GT8B TM_GT16B TM_GT8W TM_GT16W
TI89 TM_GT8B89 TM_GT16B89 TM_GT8W89 TM_GT16W89



Table summarizing the different drawing modes

(elements have type TM_Mode)
RPLC OR XOR AND MASK BLIT TRANW TRANB
B/W TI92+ TM_RPLC TM_OR TM_XOR TM_AND TM_MASK TM_BLIT
TI89 TM_RPLC89 TM_OR89 TM_XOR89 TM_AND89 TM_MASK89 TM_BLIT89
Grayscales TI92+ TM_GRPLC TM_GOR TM_GXOR TM_GAND TM_GMASK TM_GBLIT TM_GTRANW TM_GTRANB
TI89 TM_GRPLC89 TM_GOR89 TM_GXOR89 TM_GAND89 TM_GMASK89 TM_GBLIT89 TM_GTRANW89 TM_GTRANB89


Previous : Low level functions Up : Index Next : Credits / Contact information