[BlockOut Index] [BlockOut Heirarchy]
Abstract class for drawing in 3D More...
#include <Draw3D.h>
Abstract class for drawing in 3D. Uses no GDI dependent functions, so it must be derived for Windows/X11. Drawing of rectangles is optimized. Provides a secondary buffer for fast moving of sprites.
Sets the foreground color for the following operations. Default is 255,255,255
Sets the background color for the following operations. Default is 0,0,0
Draws a line between pos0 and pos1.
Draws a polygon between pos[0],pos[1],..pos[n-1].
Draws a polygon between pos[0],pos[1],..pos[n-1],pos[0].
Fills the rectangle between x0,y0 and y0, y1 with constant z.
Fills the rectangle between y0,z0 and y0,z1 with constant x.
Fills the rectangle between x0,z0 and x0,z1 with constant y.
Saves all the image data since last clear in buffer.
Restores the data saved in buffer by saveInBuffer.
Drawing starts, prepare buffer and paint devices.
Drawing ended. Must be called before updateDisplay.
Clears the display with backgroundColor.
Updates the display with operations since last clear.
Sets the parameters for perspective projection.
Points to an implemented Draw3D.
Color used for following 3D operations.
Background color.
Does a projection of 3D coordinates to 2D coordinates.
Draws a line between x0,y0 and x1,y1 in current color.
Draws a line between xValues2D[0],yValues2D[0]...xValues2D[size-1],yValues2D[size-1] in current color.
Draws a polygon and fills it with currentColor. First point may be different from last point.
Used for effizient storing of 2D Coordiantes in path of drawXXX3D,drawLineStrip.
Checks if xValues2D and yValues2D can hold max n values, else resizes them.
Parameters for projection of 3D coordinates to 2D coordinates,
0,0=lower left corner.
Documentation generated by skyhunter@Dagobah on Wed Sep 16 18:39:03 MEST 1998 | Kdoc |