Operations
InitEnv
Init the view port.
SetDrawingArea
Set the drawing area.
SetLeftBottomPt
Set the left bottom point of the drawing area.
GetFitAllParam
Get the "fit all" X-range and the left bottom point of the drawing area, in
world coordinate.
ZoomViewPort
Zoom the view port.
PanViewPort
Pan the view port.
ClearScreen
Clear the screen.
SetBackgroundColor
Set the background color of the drawing area.
WToD
Transform to device coordinate.
DToW
Transform to world coordinate.
GetROP/SetROP
Get/set logical pixel operation for rendering.
GetDrawColor/SetDrawColor Get/set the drawing
color.
GetLineWidth/SetLineWidth
Get/set the width of the line.
GetLineStipple/SetLineStipple Get/set the mode which will be
used to draw the stipple.
DrawLineItem
Draw line item.
DrawArcItem
Draw arc item.
DrawGeomItemList
Draw geometry items.
DrawWord
Draw the text.
DrawCoordinate
Draw the coordinate.
GetCursorPos
Get the current cursor world coordinate.
SwapBuffers
Swap the buffer of OpenGL.