Device context information and manipulation

The following functions provide the API routines that are used to change the attributes of the currently active device context, such as the current foreground and background colors, and the current pen pattern. These routines also provide information about device contexts, such as the resolution, pixel depth, aspect ratio etc.

Note that some of these functions are bound to a specific device context, and if this device context is not the currently active context, the active context will not be affected.

MGL_computePixelAddr

MGL_defaultAttributes

MGL_getAlphaValue

MGL_getAspectRatio

MGL_getAttributes

MGL_getBackMode

MGL_getBitsPerPixel

MGL_getBlendFunc

MGL_getFontBlendMode

MGL_getLineStipple

MGL_getLineStippleCount

MGL_getLineStyle

MGL_getPenBitmapPattern

MGL_getPenPixmapPattern

MGL_getPenPixmapTransparent

MGL_getPenSize

MGL_getPenStyle

MGL_getPixelFormat

MGL_getPlaneMask

MGL_getPolygonType

MGL_isCurrentDC

MGL_makeCurrentDC

MGL_maxPage

MGL_restoreAttributes

MGL_setAlphaValue

MGL_setAspectRatio

MGL_setBackMode

MGL_setBlendFunc

MGL_setFontBlendMode

MGL_setLineStipple

MGL_setLineStippleCount

MGL_setLineStyle

MGL_setPenBitmapPattern

MGL_setPenPixmapPattern

MGL_setPenPixmapTransparent

MGL_setPenSize

MGL_setPenStyle

MGL_setPlaneMask

MGL_setPolygonType

MGL_setWriteMode

MGL_sizex

MGL_sizey

MGL_usePenBitmapPattern

MGL_usePenPixmapPattern

 

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com