[GPF Home Page]

M_draw man(3) pages

grouping page description
M_draw::INTROM_draw The M_draw graphics library (LICENSE:PD)
M_draw:ARCSarc Draw an arc in world units. (LICENSE:PD)
M_draw:ARCScircle Draw a circle. (LICENSE:PD)
M_draw:ARCScircleprecision Set number of line segments used to approximate a circle (LICENSE:PD)
M_draw:ARCSsector Draw a sector. Note: sectors are polygons. (LICENSE:PD)
M_draw:ASPECTgetaspect Returns the ratio height over width of the display device. (LICENSE:PD)
M_draw:ASPECTgetdisplaysize Returns width and height of device in device units (LICENSE:PD)
M_draw:ASPECTgetfactors Returns width over min(width of device, height of device) and height over min(width of device, height of device). (LICENSE:PD)
M_draw:ATTRIBUTE_STACKpopattributes Restore attributes to what they were at last pushattributes(). (LICENSE:PD)
M_draw:ATTRIBUTE_STACKpushattributes Save the current attributes on the attribute stack. (LICENSE:PD)
M_draw:CLIPPINGclipping Turn clipping on or off (LICENSE:PD)
M_draw:COLORclear Clears screen to current color (LICENSE:PD)
M_draw:COLORcolor Set current color (LICENSE:PD)
M_draw:COLORmapcolor set a color index using RGB values (LICENSE:PD)
M_draw:CURVEcurve Draw a curve. (LICENSE:PD)
M_draw:CURVEcurvebasis Define a basis matrix for a curve. (LICENSE:PD)
M_draw:CURVEcurven Draw n-3 overlapping curve segments. Note: n must be at least 4. (LICENSE:PD)
M_draw:CURVEcurveprecision Define number of line segments used to draw a curve. (LICENSE:PD)
M_draw:CURVErcurve Draw a rational curve. (LICENSE:PD)
M_draw:DEVICEgetdepth Return number of bit planes (color planes) (LICENSE:PD)
M_draw:DEVICEpopdev pop device from stack created by pushdev. (LICENSE:PD)
M_draw:DEVICEpushdev push current device onto a stack (LICENSE:PD)
M_draw:DEVICEvexit Reset window/terminal and exit graphics mode. Must be last routine called. (LICENSE:PD)
M_draw:DEVICEvgetdev Get name of current device (LICENSE:PD)
M_draw:DEVICEvinit Initialise device (LICENSE:PD)
M_draw:DEVICEvnewdev Reinitialize to use new device without changing (LICENSE:PD)
M_draw:DEVICEvoutput Redirect output from *next* vinit to file (LICENSE:PD)
M_draw:DOUBLE_BUFFERINGbackbuffer Draw in the backbuffer. Returns -1 if the device is not up to it. (LICENSE:PD)
M_draw:DOUBLE_BUFFERINGfrontbuffer Draw in the front buffer. This will always work. (LICENSE:PD)
M_draw:DOUBLE_BUFFERINGswapbuffers Swap the front and back buffers. (LICENSE:PD)
M_draw:DRAWdraw Draw from current graphics position to (x, y, z) (LICENSE:PD)
M_draw:DRAWdraw2 Draw from current graphics position to given point (x, y) (LICENSE:PD)
M_draw:DRAWrdraw Relative draw (LICENSE:PD)
M_draw:DRAWrdraw2 Relative draw from current position to given point (LICENSE:PD)
M_draw:DRAWrsdraw2 Relative draw in screen units (-1.0 to 1.0). (LICENSE:PD)
M_draw:DRAWsdraw2 Draw in screen coordinates (-1.0 to 1.0). (LICENSE:PD)
M_draw:FLUSHINGvflush Call device flush or syncronisation routine (LICENSE:PD)
M_draw:FLUSHINGvsetflush Set global flushing status (LICENSE:PD)
M_draw:INTERACTIVEcheckkey Returns zero if no key is pressed or ASCII ordinal (LICENSE:PD)
M_draw:INTERACTIVEgetkey Return ASCII ordinal of next key typed (LICENSE:PD)
M_draw:INTERACTIVEgetstring Read in a string, echoing it in current font (LICENSE:PD)
M_draw:INTERACTIVElocator Find out where cursor is (LICENSE:PD)
M_draw:INTERACTIVEslocator Find out where cursor is in screen coordinates (LICENSE:PD)
M_draw:LINESTYLEdashcode set dash pattern length (LICENSE:PD)
M_draw:LINESTYLElinestyle set the line dash pattern (LICENSE:PD)
M_draw:LINESTYLElinewidth set line width in rasters (LICENSE:PD)
M_draw:MATRIX_STACKpopmatrix Reinstall the last matrix pushed (LICENSE:PD)
M_draw:MATRIX_STACKpushmatrix Save the current transformation matrix on the matrix stack. (LICENSE:PD)
M_draw:MOVEmove Move current graphics position to (x, y, z) (LICENSE:PD)
M_draw:MOVEmove2 Move graphics position to point (x, y) (LICENSE:PD)
M_draw:MOVErmove Relative move (LICENSE:PD)
M_draw:MOVErmove2 Relative move in world units. (LICENSE:PD)
M_draw:MOVErsmove2 Relative move in screen units (-1.0 to 1.0). (LICENSE:PD)
M_draw:MOVEsmove2 Move current graphics position in screen coordinates (-1.0 to 1.0). (LICENSE:PD)
M_draw:OBJECTcallobj Draw object number n. (LICENSE:PD)
M_draw:OBJECTcloseobj Close the current object. (LICENSE:PD)
M_draw:OBJECTdelobj Delete the object number n. (LICENSE:PD)
M_draw:OBJECTgenobj Returns a unique object identifier. (LICENSE:PD)
M_draw:OBJECTgetopenobj Return the number of the current object. (LICENSE:PD)
M_draw:OBJECTisobj Returns .FALSE. if there is an object of number n. (LICENSE:PD)
M_draw:OBJECTloadobj Load the object in the file filename as object number n. (LICENSE:PD)
M_draw:OBJECTmakeobj Commence the object number n. (LICENSE:PD)
M_draw:OBJECTsaveobj Save object number n into file filename. Does NOT save objects called inside object n. (LICENSE:PD)
M_draw:PATCHpatch Draws a patch in the current basis, according to the geometry matrices gx, gy, and gz. (LICENSE:PD)
M_draw:PATCHpatchbasis Define the t and u basis matrices of a patch. (LICENSE:PD)
M_draw:PATCHpatchcurves Set the number of curves making up a patch. (LICENSE:PD)
M_draw:PATCHpatchprecision Set minimum number of line segments making up curves in a patch. (LICENSE:PD)
M_draw:PATCHrpatch Draws a rational patch in the current basis, according to the geometry matrices gx, gy, gz, and gw. (LICENSE:PD)
M_draw:POINTpoint Draw a point at x, y, z (LICENSE:PD)
M_draw:POINTpoint2 Draw a point at x, y. (LICENSE:PD)
M_draw:POLYGONSbackface Turns on culling of backfacing polygons. (LICENSE:PD)
M_draw:POLYGONSbackfacedir Sets backfacing direction to clockwise or anti-clockwise (LICENSE:PD)
M_draw:POLYGONSclosepoly Terminates a polygon opened by makepoly(3f) (LICENSE:PD)
M_draw:POLYGONShatchang Set the angle of the hatch lines. (LICENSE:PD)
M_draw:POLYGONShatchpitch Set the distance between hatch lines. (LICENSE:PD)
M_draw:POLYGONSmakepoly opens polygon constructed by a series of move-draws and closed by closepoly (LICENSE:PD)
M_draw:POLYGONSpoly Construct a polygon from an array of points (LICENSE:PD)
M_draw:POLYGONSpoly2 Construct an (x, y) polygon from an array of points (LICENSE:PD)
M_draw:POLYGONSpolyfill Set the polygon fill flag (LICENSE:PD)
M_draw:POLYGONSpolyhatch Set the polygon hatch flag (LICENSE:PD)
M_draw:POLYGONSrect Draw a rectangle given two corners (LICENSE:PD)
M_draw:POSITIONgetgp Gets the current graphics position (LICENSE:PD)
M_draw:POSITIONgetgp2 Gets the current graphics position in world coordinates (LICENSE:PD)
M_draw:POSITIONgetgpt Gets the current transformed graphics position in world coords. (LICENSE:PD)
M_draw:POSITIONsgetgp2 Gets the current screen graphics position in screen coords (-1 to 1) (LICENSE:PD)
M_draw:PROJECTIONortho Define x, y, z clipping planes. (LICENSE:PD)
M_draw:PROJECTIONortho2 define the area of the virtual world coordinates to map to the viewport (LICENSE:PD)
M_draw:PROJECTIONperspective Specify perspective viewing pyramid (LICENSE:PD)
M_draw:PROJECTIONwindow Specify a perspective viewing pyramid (LICENSE:PD)
M_draw:TEXTbottomjustify bottom justify text (LICENSE:PD)
M_draw:TEXTboxfit resize the SOFTWARE text size so it fits in a box (LICENSE:PD)
M_draw:TEXTboxtext stretch and draw the SOFTWARE string s so that it fits in the imaginary box (LICENSE:PD)
M_draw:TEXTcentertext Turns centertext mode on or off for SOFTWARE fonts. (LICENSE:PD)
M_draw:TEXTdrawchar Draw the character c and update current position. (LICENSE:PD)
M_draw:TEXTdrawstr Draw the text in string at the current position. (LICENSE:PD)
M_draw:TEXTfixedwidth Turns fixedwidth mode on or off for SOFTWARE fonts. (LICENSE:PD)
M_draw:TEXTfont Set the current font by name (LICENSE:PD)
M_draw:TEXTgetcharsize Get the width and height of a character. (LICENSE:PD)
M_draw:TEXTgetfontdec Return size of maximum font descender (LICENSE:PD)
M_draw:TEXTgetfontsize Get maximum width and height of a character in a font. (LICENSE:PD)
M_draw:TEXTleftjustify left justify text (LICENSE:PD)
M_draw:TEXTnumchars Return number of characters in the current SOFTWARE font. (LICENSE:PD)
M_draw:TEXTrightjustify right justify text (LICENSE:PD)
M_draw:TEXTstrlength return length of string (LICENSE:PD)
M_draw:TEXTtextang Set the SOFTWARE text angle. (LICENSE:PD)
M_draw:TEXTtextjustify general text justification (C only) (LICENSE:PD)
M_draw:TEXTtextsize Set text size of a character in the current SOFTWARE font in world units. (LICENSE:PD)
M_draw:TEXTtextslant Defines the obliqueness of the fonts. (LICENSE:PD)
M_draw:TEXTtextweight Defines the weight of the fonts. (LICENSE:PD)
M_draw:TEXTtopjustify top justify text (LICENSE:PD)
M_draw:TEXTxcentertext set text centering mode on in X direction (LICENSE:PD)
M_draw:TEXTycentertext center text in the Y direction (LICENSE:PD)
M_draw:TRANSFORMATIONrotate Set up a rotation in axis axis where axis is one of 'x', 'y', or 'z'. (LICENSE:PD)
M_draw:TRANSFORMATIONscale Set up scaling factors in x, y, and z axis. (LICENSE:PD)
M_draw:TRANSFORMATIONtranslate Set up a translation. (LICENSE:PD)
M_draw:VIEWPORTexpandviewport use the entire device viewport (LICENSE:PD)
M_draw:VIEWPORTgetviewport Returns limits of current viewport in screen coordinates (LICENSE:PD)
M_draw:VIEWPORTlookat Specify the viewer's position (LICENSE:PD)
M_draw:VIEWPORTpolarview Specify the viewer's position in polar coordinates (LICENSE:PD)
M_draw:VIEWPORTpopviewport Retrieve last viewport (LICENSE:PD)
M_draw:VIEWPORTpushviewport Save current viewport (LICENSE:PD)
M_draw:VIEWPORTunexpandviewport undo expandviewport(3f) (LICENSE:PD)
M_draw:VIEWPORTup Specify the world up. (LICENSE:PD)
M_draw:VIEWPORTviewport Specify which part of screen to draw in (LICENSE:PD)
M_draw:WINDOW_SETUPprefposition Specify preferred position of window (LICENSE:PD)
M_draw:WINDOW_SETUPprefsize Specify preferred width and height of window in physical units (LICENSE:PD)
M_drawinvokeobj invoke object with specified transformations (LICENSE:PD)
M_drawpage set window into largest viewport available (LICENSE:PD)
M_drawpop call popviewport(), popmatrix(), popattributes() (LICENSE:PD)
M_drawprint call DRAWSTR(3f) with up to nine arbitrary intrinsic scalar values
M_drawpush call pushviewport(), pushmatrix(), pushattributes() (LICENSE:PD)