#include <gr_Win32Graphics.h>
Classes | |
struct | _HDCSwitchRecord |
struct | CACHE_PEN |
Public Member Functions | |
virtual | ~GR_Win32Graphics () |
virtual UT_uint32 | getClassId () |
virtual GR_Capability | getCapability () |
virtual void | drawGlyph (UT_uint32 glyph_idx, UT_sint32 xoff, UT_sint32 yoff) |
virtual void | drawChar (UT_UCSChar Char, UT_sint32 xoff, UT_sint32 yoff) |
virtual void | drawChars (const UT_UCSChar *pChars, int iCharOffset, int iLength, UT_sint32 xoff, UT_sint32 yoff, int *pCharWidth) |
virtual void | setFont (const GR_Font *pFont) |
virtual void | clearFont (void) |
virtual UT_uint32 | getFontHeight () |
virtual UT_sint32 | measureUnRemappedChar (const UT_UCSChar c, UT_uint32 *height=0) |
virtual void | setColor (const UT_RGBColor &clr) |
virtual void | getColor (UT_RGBColor &clr) |
virtual GR_Font * | getGUIFont () |
virtual UT_uint32 | getFontAscent () |
virtual UT_uint32 | getFontDescent () |
virtual void | getCoverage (UT_NumberVector &coverage) |
virtual void | drawLine (UT_sint32, UT_sint32, UT_sint32, UT_sint32) |
virtual void | xorLine (UT_sint32, UT_sint32, UT_sint32, UT_sint32) |
virtual void | setLineWidth (UT_sint32) |
virtual void | setLineProperties (double inWidthPixels, JoinStyle inJoinStyle=JOIN_MITER, CapStyle inCapStyle=CAP_BUTT, LineStyle inLineStyle=LINE_SOLID) |
virtual void | polyLine (const UT_Point *pts, UT_uint32 nPoints) |
virtual void | fillRect (const UT_RGBColor &c, UT_sint32 x, UT_sint32 y, UT_sint32 w, UT_sint32 h) |
virtual void | invertRect (const UT_Rect *pRect) |
virtual void | setClipRect (const UT_Rect *pRect) |
virtual void | scroll (UT_sint32 dx, UT_sint32 dy) |
The View calls this when it receives a SetX/YScrollOffset call. | |
virtual void | scroll (UT_sint32 x_dest, UT_sint32 y_dest, UT_sint32 x_src, UT_sint32 y_src, UT_sint32 width, UT_sint32 height) |
virtual void | clearArea (UT_sint32, UT_sint32, UT_sint32, UT_sint32) |
virtual void | drawImage (GR_Image *pImg, UT_sint32 xDest, UT_sint32 yDest) |
virtual GR_Image * | createNewImage (const char *pszName, const UT_ContsByteBufPtr &pBB, const std::string &mimetype, UT_sint32 iDisplayWidth, UT_sint32 iDisplayHeight, GR_Image::GRType iType=GR_Image::GRT_Raster) |
virtual bool | queryProperties (GR_Graphics::Properties gp) const |
virtual bool | startPrint (void) |
virtual bool | startPage (const char *szPageLabel, UT_uint32 pageNumber, bool bPortrait, UT_uint32 iWidth, UT_uint32 iHeight) |
virtual bool | endPrint (void) |
virtual HWND | getHwnd (void) const |
virtual void | setColorSpace (GR_Graphics::ColorSpace c) |
virtual GR_Graphics::ColorSpace | getColorSpace (void) const |
virtual void | setCursor (GR_Graphics::Cursor c) |
virtual GR_Graphics::Cursor | getCursor (void) const |
virtual void | handleSetCursorMessage (void) |
virtual void | setColor3D (GR_Color3D c) |
virtual bool | getColor3D (GR_Color3D, UT_RGBColor &) |
void | init3dColors (void) |
virtual void | fillRect (GR_Color3D c, UT_sint32 x, UT_sint32 y, UT_sint32 w, UT_sint32 h) |
virtual void | fillRect (GR_Color3D c, UT_Rect &r) |
virtual void | polygon (const UT_RGBColor &c, const UT_Point *pts, UT_uint32 nPoints) |
virtual UT_uint32 | getFontAscent (const GR_Font *) |
virtual UT_uint32 | getFontDescent (const GR_Font *) |
virtual UT_uint32 | getFontHeight (const GR_Font *) |
virtual GR_Image * | genImageFromRectangle (const UT_Rect &r) |
virtual void | saveRectangle (UT_Rect &r, UT_uint32 iIndx) |
virtual void | restoreRectangle (UT_uint32 iIndx) |
virtual void | flush (void) |
void | setBrush (HBRUSH hBrush) |
virtual void | setPrintDC (HDC dc) |
HDC | getPrintDC () const |
HDC | getPrimaryDC () const |
void | setPrintDCFontAllocNo (UT_uint32 i) |
void | setDCFontAllocNo (UT_uint32 i) |
double | getXYRatio () const |
double | getXYRatioPrint () const |
Static Public Member Functions | |
static UT_uint32 | s_getClassId () |
static const char * | graphicsDescriptor () |
static GR_Graphics * | graphicsAllocator (GR_AllocInfo &) |
static GR_Graphics * | getPrinterGraphics (const wchar_t *pPrinterName, const wchar_t *pDocName) |
static bool | fixDevMode (HGLOBAL hModDev) |
static DOCINFOW * | getDocInfo () |
static HDC | createbestmetafilehdc () |
Protected Member Functions | |
GR_Win32Graphics (HDC, HWND) | |
GR_Win32Graphics (HDC, const DOCINFOW *, HGLOBAL hDevMode=NULL) | |
BITMAPINFO * | ConvertDDBToDIB (HBITMAP bitmap, HPALETTE hPal, DWORD dwCompression) |
virtual GR_Font * | _findFont (const char *pszFontFamily, const char *pszFontStyle, const char *pszFontVariant, const char *pszFontWeight, const char *pszFontStretch, const char *pszFontSize, const char *pszLang) |
virtual UT_uint32 | getDeviceResolution (void) const |
void | _setColor (DWORD clrRef) |
void | _DeviceContext_MeasureBitBltCopySpeed (HDC source, HDC dest, int width, int height) |
void | getWidthAndHeightFromHWND (HWND h, int &width, int &height) |
void | _DeviceContext_SwitchToBuffer () |
void | _DeviceContext_SwitchToScreen () |
void | _DeviceContext_DrawBufferToScreen () |
void | _DeviceContext_SuspendDrawing () |
void | _DeviceContext_ResumeDrawing () |
void | _DoubleBuffering_SetUpDummyBuffer () |
void | _DoubleBuffering_ReleaseDummyBuffer () |
HDC | _DoubleBuffering_CreateBuffer (HDC, int, int) |
void | _DoubleBuffering_ReleaseBuffer (HDC) |
void | _DeviceContext_RestorePrevHDCFromStack () |
Protected Attributes | |
HDC | m_bufferHdc |
HDC | m_dummyHdc |
UT_Stack | _HDCSwitchStack |
UT_uint32 | m_iDCFontAllocNo |
UT_uint32 | m_iPrintDCFontAllocNo |
HDC | m_hdc |
HDC | m_printHDC |
HWND | m_hwnd |
const DOCINFOW * | m_pDocInfo |
bool | m_bPrint |
bool | m_bStartPrint |
bool | m_bStartPage |
GR_Win32Font * | m_pFont |
GR_Win32Font * | m_pFontGUI |
UT_sint32 | m_iLineWidth |
JoinStyle | m_eJoinStyle |
CapStyle | m_eCapStyle |
LineStyle | m_eLineStyle |
GR_Graphics::ColorSpace | m_cs |
GR_Graphics::Cursor | m_cursor |
DWORD | m_clrCurrent |
DWORD | m_3dColors [COUNT_3D_COLORS] |
int | m_nPrintLogPixelsY |
double | m_fXYRatio |
double | m_fXYRatioPrint |
Static Protected Attributes | |
static HDC | m_defPrintHDC = NULL |
static UT_uint32 | s_iInstanceCount = 0 |
Private Member Functions | |
virtual GR_Win32Font * | _newFont (LOGFONTW &lf, double fPointSize, HDC hdc, HDC printDC) |
void | _constructorCommonCode (HDC) |
UT_uint16 * | _remapGlyphs (const UT_UCSChar *pChars, int iCharOffset, int &iLength) |
virtual bool | _setTransform (const GR_Transform &tr) |
Private Attributes | |
DWORD | m_clrXorPen |
HPEN | m_hXorPen |
UT_UCS2Char * | m_remapBuffer |
UT_uint32 | m_remapBufferSize |
UT_UCS2Char * | m_remapIndices |
UT_RGBColor | m_curColor |
UT_Vector | m_vSaveRect |
UT_Vector | m_vSaveRectBuf |
HBRUSH | m_hClearBrush |
int | m_nLogPixelsY |
HGLOBAL | m_hDevMode |
CACHE_PEN * | m_pArPens |
int | m_nArPenPos |
bool | m_bIsPreview |
GR_Win32Graphics::~GR_Win32Graphics | ( | ) | [virtual] |
References GR_Graphics::_destroyFonts(), _DoubleBuffering_ReleaseDummyBuffer(), DELETEP, DELETEPV, UT_GenericVector< T >::getNthItem(), GR_Win32Graphics::CACHE_PEN::hPen, m_defPrintHDC, m_hXorPen, m_nArPenPos, m_pArPens, m_pFontGUI, m_printHDC, m_remapBuffer, m_remapIndices, m_vSaveRect, m_vSaveRectBuf, s_iInstanceCount, UT_GenericVector< T >::size(), and UT_VECTOR_SPARSEPURGEALL.
GR_Win32Graphics::GR_Win32Graphics | ( | HDC | hdc, | |
HWND | hwnd | |||
) | [protected] |
References _constructorCommonCode(), getPrintDC(), m_defPrintHDC, m_fXYRatioPrint, m_hwnd, m_nPrintLogPixelsY, m_printHDC, s_iInstanceCount, UT_ASSERT_HARMLESS, UT_GetDefaultPrinterDC(), and UT_SHOULD_NOT_HAPPEN.
Referenced by graphicsAllocator().
GR_Win32Graphics::GR_Win32Graphics | ( | HDC | hdc, | |
const DOCINFOW * | pDocInfo, | |||
HGLOBAL | hDevMode = NULL | |||
) | [protected] |
References _constructorCommonCode(), m_bIsPreview, m_bPrint, m_hDevMode, and m_pDocInfo.
void GR_Win32Graphics::_constructorCommonCode | ( | HDC | hdc | ) | [private] |
References _DoubleBuffering_SetUpDummyBuffer(), _MAX_CACHE_PENS, GR_Graphics::GR_CURSOR_DEFAULT, m_bIsPreview, m_bPrint, m_bStartPage, m_bStartPrint, m_clrXorPen, m_cs, m_cursor, m_eCapStyle, m_eJoinStyle, m_eLineStyle, m_fXYRatio, m_hdc, m_hDevMode, m_hwnd, m_hXorPen, m_iDCFontAllocNo, m_iLineWidth, m_iPrintDCFontAllocNo, m_nArPenPos, m_nLogPixelsY, m_nPrintLogPixelsY, m_pArPens, m_pFont, m_pFontGUI, m_printHDC, m_remapBuffer, m_remapBufferSize, m_remapIndices, setBrush(), setCursor(), UT_ASSERT, UT_ASSERT_HARMLESS, and UT_SHOULD_NOT_HAPPEN.
Referenced by GR_Win32Graphics().
void GR_Win32Graphics::_DeviceContext_DrawBufferToScreen | ( | ) | [protected] |
void GR_Win32Graphics::_DeviceContext_MeasureBitBltCopySpeed | ( | HDC | source, | |
HDC | dest, | |||
int | width, | |||
int | height | |||
) | [protected] |
References UT_DEBUGMSG.
void GR_Win32Graphics::_DeviceContext_RestorePrevHDCFromStack | ( | ) | [protected] |
References _HDCSwitchStack, m_hdc, and UT_Stack::pop().
Referenced by _DeviceContext_ResumeDrawing(), and _DeviceContext_SwitchToScreen().
void GR_Win32Graphics::_DeviceContext_ResumeDrawing | ( | ) | [protected, virtual] |
Reimplemented from GR_Graphics.
References _DeviceContext_RestorePrevHDCFromStack().
void GR_Win32Graphics::_DeviceContext_SuspendDrawing | ( | ) | [protected, virtual] |
Reimplemented from GR_Graphics.
References _HDCSwitchStack, m_dummyHdc, m_hdc, and UT_Stack::push().
void GR_Win32Graphics::_DeviceContext_SwitchToBuffer | ( | ) | [protected, virtual] |
Reimplemented from GR_Graphics.
References _DoubleBuffering_CreateBuffer(), _HDCSwitchStack, getWidthAndHeightFromHWND(), m_bufferHdc, m_hdc, m_hwnd, and UT_Stack::push().
void GR_Win32Graphics::_DeviceContext_SwitchToScreen | ( | ) | [protected, virtual] |
Reimplemented from GR_Graphics.
References _DeviceContext_RestorePrevHDCFromStack(), _DoubleBuffering_ReleaseBuffer(), getWidthAndHeightFromHWND(), m_bufferHdc, m_hdc, and m_hwnd.
HDC GR_Win32Graphics::_DoubleBuffering_CreateBuffer | ( | HDC | compatibleWith, | |
int | width, | |||
int | height | |||
) | [protected] |
Referenced by _DeviceContext_SwitchToBuffer(), and _DoubleBuffering_SetUpDummyBuffer().
void GR_Win32Graphics::_DoubleBuffering_ReleaseBuffer | ( | HDC | hdc | ) | [protected] |
Referenced by _DeviceContext_SwitchToScreen(), and _DoubleBuffering_ReleaseDummyBuffer().
void GR_Win32Graphics::_DoubleBuffering_ReleaseDummyBuffer | ( | ) | [protected] |
References _DoubleBuffering_ReleaseBuffer(), and m_dummyHdc.
Referenced by ~GR_Win32Graphics().
void GR_Win32Graphics::_DoubleBuffering_SetUpDummyBuffer | ( | ) | [protected] |
References _DoubleBuffering_CreateBuffer(), m_dummyHdc, and m_hdc.
Referenced by _constructorCommonCode().
GR_Font * GR_Win32Graphics::_findFont | ( | const char * | pszFontFamily, | |
const char * | pszFontStyle, | |||
const char * | pszFontVariant, | |||
const char * | pszFontWeight, | |||
const char * | pszFontStretch, | |||
const char * | pszFontSize, | |||
const char * | pszLang | |||
) | [protected, virtual] |
Implements GR_Graphics.
Reimplemented in GR_Win32PrintPreviewGraphics.
References m_hdc, m_printHDC, UT_convertToPoints(), and UT_DEBUGMSG.
Referenced by GR_Win32PrintPreviewGraphics::_findFont().
GR_Win32Font * GR_Win32Graphics::_newFont | ( | LOGFONTW & | lf, | |
double | fPointSize, | |||
HDC | hdc, | |||
HDC | printDC | |||
) | [private, virtual] |
Reimplemented in GR_Win32USPGraphics.
References GR_Win32Font::newFont().
Referenced by getGUIFont().
UT_uint16 * GR_Win32Graphics::_remapGlyphs | ( | const UT_UCSChar * | pChars, | |
int | iCharOffset, | |||
int & | iLength | |||
) | [private] |
References XAP_App::BIDI_SUPPORT_NONE, XAP_App::getApp(), m_remapBuffer, m_remapBufferSize, and m_remapIndices.
Referenced by drawChars().
void GR_Win32Graphics::_setColor | ( | DWORD | clrRef | ) | [protected] |
References m_clrCurrent, and m_hdc.
Referenced by setColor(), and setColor3D().
bool GR_Win32Graphics::_setTransform | ( | const GR_Transform & | tr | ) | [private, virtual] |
Reimplemented from GR_Graphics.
References GR_Graphics::getZoomPercentage(), m_hdc, GR_Graphics::tlu(), UT_ASSERT, and UT_IsWinNT().
void GR_Win32Graphics::clearArea | ( | UT_sint32 | x, | |
UT_sint32 | y, | |||
UT_sint32 | width, | |||
UT_sint32 | height | |||
) | [virtual] |
Implements GR_Graphics.
Reimplemented in GR_Win32PrintPreviewGraphics.
References GR_Graphics::_tduR(), GR_Graphics::_tduX(), GR_Graphics::_tduY(), m_fXYRatio, m_hClearBrush, m_hdc, and UT_DEBUGMSG.
virtual void GR_Win32Graphics::clearFont | ( | void | ) | [inline, virtual] |
Implements GR_Graphics.
Reimplemented in GR_Win32PrintPreviewGraphics.
Referenced by GR_Win32PrintPreviewGraphics::clearFont().
BITMAPINFO * GR_Win32Graphics::ConvertDDBToDIB | ( | HBITMAP | bitmap, | |
HPALETTE | hPal, | |||
DWORD | dwCompression | |||
) | [protected] |
Referenced by genImageFromRectangle().
HDC GR_Win32Graphics::createbestmetafilehdc | ( | ) | [static] |
Referenced by GR_Graphics::newNullGraphics().
virtual GR_Image* GR_Win32Graphics::createNewImage | ( | const char * | pszName, | |
const UT_ContsByteBufPtr & | pBB, | |||
const std::string & | mimetype, | |||
UT_sint32 | iDisplayWidth, | |||
UT_sint32 | iDisplayHeight, | |||
GR_Image::GRType | iType = GR_Image::GRT_Raster | |||
) | [virtual] |
Referenced by GR_Win32PrintPreviewGraphics::createNewImage().
void GR_Win32Graphics::drawChar | ( | UT_UCSChar | Char, | |
UT_sint32 | xoff, | |||
UT_sint32 | yoff | |||
) | [virtual] |
Reimplemented in GR_Win32PrintPreviewGraphics.
References GR_Graphics::_tduX(), GR_Graphics::_tduY(), GR_Win32Font::getDisplayFont(), GR_Win32Font::getFontHandle(), m_fXYRatio, m_hdc, m_pFont, GR_Win32Font::selectFontIntoDC(), UT_ASSERT, UT_DEBUGMSG, and UT_IsWinNT().
void GR_Win32Graphics::drawChars | ( | const UT_UCSChar * | pChars, | |
int | iCharOffset, | |||
int | iLength, | |||
UT_sint32 | xoff, | |||
UT_sint32 | yoff, | |||
int * | pCharWidth | |||
) | [virtual] |
Implements GR_Graphics.
Reimplemented in GR_Win32USPGraphics, and GR_Win32PrintPreviewGraphics.
References _remapGlyphs(), GR_Graphics::_tduX(), GR_Graphics::_tduY(), XAP_App::BIDI_SUPPORT_NONE, GR_Font::getAllocNumber(), XAP_App::getApp(), GR_Win32Font::getDisplayFont(), m_fXYRatio, m_hdc, m_iDCFontAllocNo, m_pFont, m_remapBufferSize, m_remapIndices, GR_Graphics::tdu(), XAP_App::theOSHasBidiSupport(), UT_ASSERT, UT_ASSERT_HARMLESS, UT_DEBUGMSG, UT_IsWinNT(), and UT_SHOULD_NOT_HAPPEN.
Implements GR_Graphics.
Reimplemented in GR_Win32PrintPreviewGraphics.
References UT_ASSERT_HARMLESS, and UT_TODO.
Reimplemented from GR_Graphics.
Reimplemented in GR_Win32PrintPreviewGraphics.
References GR_Graphics::_tduX(), GR_Graphics::_tduY(), GR_Graphics::DGP_PAPER, GR_Win32Image::getDIB(), GR_Image::getDisplayHeight(), GR_Image::getDisplayWidth(), GR_Image::getType(), m_fXYRatio, m_hdc, queryProperties(), GR_Image::render(), UT_DEBUGMSG, and UT_return_if_fail.
Referenced by XAP_Win32Dialog_FileOpenSaveAs::_previewPicture(), and XAP_Win32Dialog_About::s_dlgProc().
void GR_Win32Graphics::drawLine | ( | UT_sint32 | x1, | |
UT_sint32 | y1, | |||
UT_sint32 | x2, | |||
UT_sint32 | y2 | |||
) | [virtual] |
Implements GR_Graphics.
Reimplemented in GR_Win32PrintPreviewGraphics.
References _MAX_CACHE_PENS, GR_Graphics::_tduR(), GR_Graphics::_tduX(), GR_Graphics::_tduY(), GR_Win32Graphics::CACHE_PEN::dwColour, GR_Win32Graphics::CACHE_PEN::hPen, GR_Graphics::LINE_DOTTED, GR_Graphics::LINE_DOUBLE_DASH, GR_Graphics::LINE_ON_OFF_DASH, GR_Graphics::LINE_SOLID, m_clrCurrent, m_eLineStyle, m_fXYRatio, m_hdc, m_iLineWidth, m_nArPenPos, m_pArPens, GR_Win32Graphics::CACHE_PEN::nStyle, GR_Win32Graphics::CACHE_PEN::nWidth, UT_ASSERT_HARMLESS, UT_DEBUGMSG, and UT_NOT_IMPLEMENTED.
bool GR_Win32Graphics::endPrint | ( | void | ) | [virtual] |
Implements GR_Graphics.
Reimplemented in GR_Win32PrintPreviewGraphics.
References m_bIsPreview, m_bStartPage, and m_hdc.
void GR_Win32Graphics::fillRect | ( | GR_Color3D | c, | |
UT_sint32 | x, | |||
UT_sint32 | y, | |||
UT_sint32 | w, | |||
UT_sint32 | h | |||
) | [virtual] |
Implements GR_Graphics.
References GR_Graphics::_tduX(), GR_Graphics::_tduY(), COUNT_3D_COLORS, m_3dColors, m_fXYRatio, m_hdc, UT_ASSERT, and UT_DEBUGMSG.
void GR_Win32Graphics::fillRect | ( | GR_Color3D | c, | |
UT_Rect & | r | |||
) | [virtual] |
Implements GR_Graphics.
References COUNT_3D_COLORS, fillRect(), UT_Rect::height, UT_Rect::left, UT_Rect::top, UT_ASSERT, and UT_Rect::width.
void GR_Win32Graphics::fillRect | ( | const UT_RGBColor & | c, | |
UT_sint32 | x, | |||
UT_sint32 | y, | |||
UT_sint32 | w, | |||
UT_sint32 | h | |||
) | [virtual] |
Implements GR_Graphics.
Reimplemented in GR_Win32PrintPreviewGraphics.
References GR_Graphics::_tduR(), GR_Graphics::_tduX(), GR_Graphics::_tduY(), UT_RGBColor::m_blu, m_fXYRatio, UT_RGBColor::m_grn, m_hdc, UT_RGBColor::m_red, and UT_DEBUGMSG.
Referenced by fillRect().
bool GR_Win32Graphics::fixDevMode | ( | HGLOBAL | hDevMode | ) | [static] |
This function absolutely must be called anytime the DEVMODE structure is modified in any way; it also must be called on the DEVMODE handle returned by PringDlg. Those who will modify DEVMODE structure and not call this function on it will be shot, without exception.
The issue with the DEVMODE structure is this: it consists of two parts, a public part declared by the win32 headers, and a private part, the size and contents of which depend on the printer. Before a printer can be passed the DEVMODE structure, two things have to be satisfied:
1. The memory allocated for the structure has to be large enough to hold both the public and private parts of the structure; we obtain the handle from the PrintDlg, and it _should_ allocate the necessary size correctly. In any case, we cannot meddle with the size, since reallocating means loosing the private part.
2. The settings represented by the public part have to be transferred into the private part; this is achieved by calling the DocumentProperties() function on the structure. So any time we modify the contents of DEVMODE in any way we have to call DocumentProperties() before we can pass the pointer / handle to any other function. In addition, I have a strong suspicion that the PrintDlg function only sets the public section, but does not call DocumentProperties(), so we have to do that ourselves once we get the handle back.
References UT_String::c_str(), LOG_WIN32_EXCPT, UT_ASSERT_HARMLESS, UT_return_val_if_fail, UT_SHOULD_NOT_HAPPEN, and UT_String_sprintf().
Referenced by XAP_Win32Dialog_Print::_extractResults(), and startPage().
void GR_Win32Graphics::flush | ( | void | ) | [virtual] |
Reimplemented from GR_Graphics.
Reimplemented in GR_Win32PrintPreviewGraphics.
Implements GR_Graphics.
Reimplemented in GR_Win32PrintPreviewGraphics.
References ConvertDDBToDIB(), UT_Rect::height, UT_Rect::left, m_fXYRatio, m_hdc, GR_Win32Image::setDIB(), GR_Graphics::tdu(), UT_Rect::top, UT_return_val_if_fail, and UT_Rect::width.
virtual GR_Capability GR_Win32Graphics::getCapability | ( | ) | [inline, virtual] |
Reimplemented from GR_Graphics.
Reimplemented in GR_Win32USPGraphics, and GR_Win32PrintPreviewGraphics.
virtual UT_uint32 GR_Win32Graphics::getClassId | ( | ) | [inline, virtual] |
Implements GR_Graphics.
Reimplemented in GR_Win32USPGraphics, and GR_Win32PrintPreviewGraphics.
void GR_Win32Graphics::getColor | ( | UT_RGBColor & | clr | ) | [virtual] |
virtual bool GR_Win32Graphics::getColor3D | ( | GR_Color3D | , | |
UT_RGBColor & | ||||
) | [inline, virtual] |
Implements GR_Graphics.
GR_Graphics::ColorSpace GR_Win32Graphics::getColorSpace | ( | void | ) | const [virtual] |
Implements GR_Graphics.
References m_cs.
void GR_Win32Graphics::getCoverage | ( | UT_NumberVector & | coverage | ) | [virtual] |
Implements GR_Graphics.
References UT_GenericVector< T >::clear(), and UT_GenericVector< T >::push_back().
GR_Graphics::Cursor GR_Win32Graphics::getCursor | ( | void | ) | const [virtual] |
Implements GR_Graphics.
References m_cursor.
UT_uint32 GR_Win32Graphics::getDeviceResolution | ( | void | ) | const [protected, virtual] |
Implements GR_Graphics.
References m_nLogPixelsY.
Referenced by GR_Win32USPGraphics::_setupFontOnDC(), GR_Win32USPGraphics::measureRenderedCharWidths(), measureUnRemappedChar(), and GR_Win32USPGraphics::renderChars().
DOCINFOW * GR_Win32Graphics::getDocInfo | ( | ) | [static] |
References UT_calloc().
Referenced by GR_Graphics::newNullGraphics().
UT_uint32 GR_Win32Graphics::getFontAscent | ( | ) | [virtual] |
Implements GR_Graphics.
Reimplemented in GR_Win32USPGraphics.
References GR_Win32Font::getAscent(), m_hdc, m_pFont, m_printHDC, and UT_return_val_if_fail.
Referenced by getFontAscent().
Implements GR_Graphics.
References getFontAscent(), m_pFont, and setFont().
UT_uint32 GR_Win32Graphics::getFontDescent | ( | ) | [virtual] |
Implements GR_Graphics.
Reimplemented in GR_Win32USPGraphics.
References GR_Win32Font::getDescent(), m_hdc, m_pFont, m_printHDC, and UT_return_val_if_fail.
Referenced by getFontDescent().
Implements GR_Graphics.
References getFontDescent(), m_pFont, and setFont().
UT_uint32 GR_Win32Graphics::getFontHeight | ( | ) | [virtual] |
Implements GR_Graphics.
Reimplemented in GR_Win32USPGraphics.
References GR_Win32Font::getHeight(), m_hdc, m_pFont, m_printHDC, and UT_return_val_if_fail.
Referenced by getFontHeight().
Implements GR_Graphics.
References getFontHeight(), m_pFont, and setFont().
GR_Font * GR_Win32Graphics::getGUIFont | ( | void | ) | [virtual] |
Implements GR_Graphics.
References _newFont(), m_hdc, m_pFontGUI, GR_Win32Font::markGUIFont(), and UT_ASSERT.
HWND GR_Win32Graphics::getHwnd | ( | void | ) | const [virtual] |
References m_hwnd.
HDC GR_Win32Graphics::getPrimaryDC | ( | ) | const [inline] |
HDC GR_Win32Graphics::getPrintDC | ( | ) | const [inline] |
Referenced by GR_Win32USPGraphics::_setupFontOnDC(), GR_Win32USPGraphics::getFontAscent(), GR_Win32USPGraphics::getFontDescent(), GR_Win32USPGraphics::getFontHeight(), GR_Win32USPGraphics::getTextWidth(), GR_Win32Font::glyphBox(), GR_Win32Graphics(), GR_Win32USPGraphics::measureRenderedCharWidths(), GR_Win32USPGraphics::prepareToRenderChars(), and GR_Win32USPGraphics::setPrintDC().
GR_Graphics * GR_Win32Graphics::getPrinterGraphics | ( | const wchar_t * | pPrinterName, | |
const wchar_t * | pDocName | |||
) | [static] |
References _test_and_cleanup, XAP_App::getApp(), XAP_App::newGraphics(), UT_ASSERT_HARMLESS, UT_calloc(), UT_GetDefaultPrinterName(), UT_IsWinNT(), and UT_return_val_if_fail.
Referenced by AP_Win32App::doWindowlessArgs().
void GR_Win32Graphics::getWidthAndHeightFromHWND | ( | HWND | h, | |
int & | width, | |||
int & | height | |||
) | [protected] |
References UT_ASSERT.
Referenced by _DeviceContext_SwitchToBuffer(), and _DeviceContext_SwitchToScreen().
double GR_Win32Graphics::getXYRatio | ( | ) | const [inline] |
double GR_Win32Graphics::getXYRatioPrint | ( | ) | const [inline] |
GR_Graphics * GR_Win32Graphics::graphicsAllocator | ( | GR_AllocInfo & | info | ) | [static] |
Reimplemented in GR_Win32USPGraphics.
References GR_AllocInfo::getType(), GR_Win32Graphics(), UT_NOT_IMPLEMENTED, and UT_return_val_if_fail.
Referenced by XAP_Win32App::XAP_Win32App().
static const char* GR_Win32Graphics::graphicsDescriptor | ( | ) | [inline, static] |
Reimplemented in GR_Win32USPGraphics, and GR_Win32PrintPreviewGraphics.
Referenced by XAP_Win32App::XAP_Win32App().
void GR_Win32Graphics::handleSetCursorMessage | ( | void | ) | [virtual] |
References XAP_App::getApp(), XAP_Win32App::getInstance(), GR_Graphics::GR_CURSOR_CROSSHAIR, GR_Graphics::GR_CURSOR_DEFAULT, GR_Graphics::GR_CURSOR_DOWNARROW, GR_Graphics::GR_CURSOR_EXCHANGE, GR_Graphics::GR_CURSOR_GRAB, GR_Graphics::GR_CURSOR_HLINE_DRAG, GR_Graphics::GR_CURSOR_IBEAM, GR_Graphics::GR_CURSOR_IMAGE, GR_Graphics::GR_CURSOR_IMAGESIZE_E, GR_Graphics::GR_CURSOR_IMAGESIZE_N, GR_Graphics::GR_CURSOR_IMAGESIZE_NE, GR_Graphics::GR_CURSOR_IMAGESIZE_NW, GR_Graphics::GR_CURSOR_IMAGESIZE_S, GR_Graphics::GR_CURSOR_IMAGESIZE_SE, GR_Graphics::GR_CURSOR_IMAGESIZE_SW, GR_Graphics::GR_CURSOR_IMAGESIZE_W, GR_Graphics::GR_CURSOR_LEFTARROW, GR_Graphics::GR_CURSOR_LEFTRIGHT, GR_Graphics::GR_CURSOR_LINK, GR_Graphics::GR_CURSOR_RIGHTARROW, GR_Graphics::GR_CURSOR_UPDOWN, GR_Graphics::GR_CURSOR_VLINE_DRAG, GR_Graphics::GR_CURSOR_WAIT, m_cursor, UT_ASSERT_HARMLESS, UT_IsWin95(), and UT_NOT_IMPLEMENTED.
Referenced by AP_Win32FrameImpl::_DocumentWndProc(), AP_Win32LeftRuler::_LeftRulerWndProc(), XAP_Win32FrameImpl::_setCursor(), and AP_Win32TopRuler::_TopRulerWndProc().
void GR_Win32Graphics::init3dColors | ( | void | ) |
References m_3dColors.
Referenced by AP_Win32LeftRuler::_LeftRulerWndProc(), AP_Win32Dialog_PageNumbers::_onInitDialog(), AP_Win32Dialog_FormatTable::_onInitDialog(), AP_Win32Dialog_FormatFrame::_onInitDialog(), AP_Win32Dialog_Columns::_onInitDialog(), AP_Win32Dialog_Border_Shading::_onInitDialog(), AP_Win32TopRuler::_TopRulerWndProc(), AP_Win32TopRuler::createWindow(), AP_Win32LeftRuler::createWindow(), AP_Win32TopRuler::setView(), and AP_Win32LeftRuler::setView().
void GR_Win32Graphics::invertRect | ( | const UT_Rect * | pRect | ) | [virtual] |
Implements GR_Graphics.
Reimplemented in GR_Win32PrintPreviewGraphics.
References GR_Graphics::_tduX(), GR_Graphics::_tduY(), UT_Rect::height, UT_Rect::left, m_fXYRatio, m_hdc, UT_Rect::top, UT_DEBUGMSG, and UT_Rect::width.
UT_sint32 GR_Win32Graphics::measureUnRemappedChar | ( | const UT_UCSChar | c, | |
UT_uint32 * | height = 0 | |||
) | [virtual] |
Implements GR_Graphics.
References getDeviceResolution(), GR_Graphics::getResolution(), GR_CW_ABSENT, GR_CW_UNKNOWN, m_fXYRatio, m_pFont, GR_Win32Font::measureUnRemappedChar(), UT_DEBUGMSG, and UT_return_val_if_fail.
void GR_Win32Graphics::polygon | ( | const UT_RGBColor & | c, | |
const UT_Point * | pts, | |||
UT_uint32 | nPoints | |||
) | [virtual] |
Reimplemented from GR_Graphics.
Reimplemented in GR_Win32PrintPreviewGraphics.
References GR_Graphics::_tduR(), GR_Graphics::_tduX(), GR_Graphics::_tduY(), UT_RGBColor::m_blu, m_fXYRatio, UT_RGBColor::m_grn, m_hdc, m_iLineWidth, UT_RGBColor::m_red, and UT_ASSERT.
Implements GR_Graphics.
Reimplemented in GR_Win32PrintPreviewGraphics.
References GR_Graphics::_tduR(), GR_Graphics::_tduX(), GR_Graphics::_tduY(), FREEP, m_clrCurrent, m_fXYRatio, m_hdc, m_iLineWidth, UT_calloc(), UT_DEBUGMSG, and UT_return_if_fail.
bool GR_Win32Graphics::queryProperties | ( | GR_Graphics::Properties | gp | ) | const [virtual] |
Implements GR_Graphics.
Reimplemented in GR_Win32PrintPreviewGraphics.
References GR_Graphics::DGP_OPAQUEOVERLAY, GR_Graphics::DGP_PAPER, GR_Graphics::DGP_SCREEN, m_bPrint, and UT_ASSERT_HARMLESS.
Referenced by drawImage().
void GR_Win32Graphics::restoreRectangle | ( | UT_uint32 | iIndx | ) | [virtual] |
Implements GR_Graphics.
Reimplemented in GR_Win32PrintPreviewGraphics.
References GR_Graphics::_tduR(), GR_Graphics::_tduX(), GR_Graphics::_tduY(), UT_GenericVector< T >::getNthItem(), UT_Rect::height, UT_Rect::left, m_fXYRatio, m_hdc, m_vSaveRect, m_vSaveRectBuf, UT_Rect::top, UT_ASSERT, UT_DEBUGMSG, UT_return_if_fail, and UT_Rect::width.
static UT_uint32 GR_Win32Graphics::s_getClassId | ( | ) | [inline, static] |
Reimplemented in GR_Win32USPGraphics.
Referenced by GR_Win32PrintPreviewGraphics::getClassId(), GR_Win32USPGraphics::getClassId(), and XAP_Win32App::XAP_Win32App().
Implements GR_Graphics.
Reimplemented in GR_Win32PrintPreviewGraphics.
References GR_Graphics::_tduR(), GR_Graphics::_tduX(), GR_Graphics::_tduY(), DELETEP, UT_Rect::height, UT_Rect::left, m_fXYRatio, m_hdc, m_vSaveRect, m_vSaveRectBuf, UT_GenericVector< T >::setNthItem(), UT_Rect::top, UT_DEBUGMSG, and UT_Rect::width.
void GR_Win32Graphics::scroll | ( | UT_sint32 | x_dest, | |
UT_sint32 | y_dest, | |||
UT_sint32 | x_src, | |||
UT_sint32 | y_src, | |||
UT_sint32 | width, | |||
UT_sint32 | height | |||
) | [virtual] |
Implements GR_Graphics.
References m_fXYRatio, m_hwnd, and GR_Graphics::tdu().
The View calls this when it receives a SetX/YScrollOffset call.
Move the contents of the window appropriately. View will draw after you exit from this call. View will only draw into the "exposed" area.
dx & dy are the change in x/y from the current scrolled position negative values indcate left/up movement, positive right/down movement
Implements GR_Graphics.
References GR_Graphics::getPrevXOffset(), GR_Graphics::getPrevYOffset(), m_fXYRatio, m_hwnd, GR_Graphics::setPrevXOffset(), GR_Graphics::setPrevYOffset(), and GR_Graphics::tdu().
void GR_Win32Graphics::setBrush | ( | HBRUSH | hBrush | ) | [inline] |
Referenced by _constructorCommonCode().
void GR_Win32Graphics::setClipRect | ( | const UT_Rect * | pRect | ) | [virtual] |
Implements GR_Graphics.
Reimplemented in GR_Win32PrintPreviewGraphics.
References GR_Graphics::_tduX(), GR_Graphics::_tduY(), UT_Rect::height, UT_Rect::left, m_fXYRatio, m_hdc, GR_Graphics::m_pRect, UT_Rect::top, UT_ASSERT, UT_ASSERT_HARMLESS, and UT_Rect::width.
void GR_Win32Graphics::setColor | ( | const UT_RGBColor & | clr | ) | [virtual] |
Implements GR_Graphics.
Reimplemented in GR_Win32PrintPreviewGraphics.
References _setColor(), UT_RGBColor::m_blu, m_curColor, UT_RGBColor::m_grn, and UT_RGBColor::m_red.
void GR_Win32Graphics::setColor3D | ( | GR_Color3D | c | ) | [virtual] |
Implements GR_Graphics.
References _setColor(), COUNT_3D_COLORS, m_3dColors, and UT_ASSERT.
void GR_Win32Graphics::setColorSpace | ( | GR_Graphics::ColorSpace | c | ) | [virtual] |
Implements GR_Graphics.
References UT_ASSERT_HARMLESS, and UT_SHOULD_NOT_HAPPEN.
void GR_Win32Graphics::setCursor | ( | GR_Graphics::Cursor | c | ) | [virtual] |
void GR_Win32Graphics::setDCFontAllocNo | ( | UT_uint32 | i | ) | [inline] |
Referenced by GR_Win32Font::glyphBox().
void GR_Win32Graphics::setFont | ( | const GR_Font * | pFont | ) | [virtual] |
Implements GR_Graphics.
Reimplemented in GR_Win32USPGraphics, and GR_Win32PrintPreviewGraphics.
References GR_Font::getAllocNumber(), GR_Win32Font::getPrimaryHDC(), m_hdc, GR_Graphics::m_iFontAllocNo, m_pFont, GR_Win32Font::selectFontIntoDC(), and UT_ASSERT.
Referenced by getFontAscent(), getFontDescent(), getFontHeight(), and GR_Win32PrintPreviewGraphics::setFont().
void GR_Win32Graphics::setLineProperties | ( | double | inWidthPixels, | |
JoinStyle | inJoinStyle = JOIN_MITER , |
|||
CapStyle | inCapStyle = CAP_BUTT , |
|||
LineStyle | inLineStyle = LINE_SOLID | |||
) | [virtual] |
References m_eCapStyle, m_eJoinStyle, m_eLineStyle, and m_iLineWidth.
void GR_Win32Graphics::setLineWidth | ( | UT_sint32 | iLineWidth | ) | [virtual] |
void GR_Win32Graphics::setPrintDC | ( | HDC | dc | ) | [virtual] |
Reimplemented in GR_Win32USPGraphics.
References m_bPrint, and m_printHDC.
Referenced by XAP_Win32Dialog_Print::runModal().
void GR_Win32Graphics::setPrintDCFontAllocNo | ( | UT_uint32 | i | ) | [inline] |
Referenced by GR_Win32Font::glyphBox().
bool GR_Win32Graphics::startPage | ( | const char * | szPageLabel, | |
UT_uint32 | pageNumber, | |||
bool | bPortrait, | |||
UT_uint32 | iWidth, | |||
UT_uint32 | iHeight | |||
) | [virtual] |
Implements GR_Graphics.
Reimplemented in GR_Win32PrintPreviewGraphics.
References fixDevMode(), GR_Graphics::getResolution(), m_bIsPreview, m_bStartPage, m_fXYRatio, m_hdc, m_hDevMode, and UT_return_val_if_fail.
bool GR_Win32Graphics::startPrint | ( | void | ) | [virtual] |
Implements GR_Graphics.
Reimplemented in GR_Win32PrintPreviewGraphics.
References m_bIsPreview, m_bPrint, m_bStartPrint, m_hdc, m_pDocInfo, and UT_ASSERT.
Implements GR_Graphics.
Reimplemented in GR_Win32PrintPreviewGraphics.
References GR_Graphics::_tduR(), GR_Graphics::_tduX(), GR_Graphics::_tduY(), m_clrCurrent, m_clrXorPen, m_fXYRatio, m_hdc, m_hXorPen, m_iLineWidth, and UT_DEBUGMSG.
UT_Stack GR_Win32Graphics::_HDCSwitchStack [protected] |
DWORD GR_Win32Graphics::m_3dColors[COUNT_3D_COLORS] [protected] |
Referenced by fillRect(), init3dColors(), and setColor3D().
bool GR_Win32Graphics::m_bIsPreview [private] |
Referenced by _constructorCommonCode(), endPrint(), GR_Win32Graphics(), startPage(), and startPrint().
bool GR_Win32Graphics::m_bPrint [protected] |
bool GR_Win32Graphics::m_bStartPage [protected] |
Referenced by _constructorCommonCode(), endPrint(), and startPage().
bool GR_Win32Graphics::m_bStartPrint [protected] |
Referenced by _constructorCommonCode(), and startPrint().
HDC GR_Win32Graphics::m_bufferHdc [protected] |
Referenced by _DeviceContext_SwitchToBuffer(), and _DeviceContext_SwitchToScreen().
DWORD GR_Win32Graphics::m_clrCurrent [protected] |
Referenced by _setColor(), drawLine(), polyLine(), and xorLine().
DWORD GR_Win32Graphics::m_clrXorPen [private] |
Referenced by _constructorCommonCode(), and xorLine().
GR_Graphics::ColorSpace GR_Win32Graphics::m_cs [protected] |
Referenced by _constructorCommonCode(), and getColorSpace().
UT_RGBColor GR_Win32Graphics::m_curColor [private] |
Referenced by getColor(), and setColor().
GR_Graphics::Cursor GR_Win32Graphics::m_cursor [protected] |
Referenced by _constructorCommonCode(), getCursor(), handleSetCursorMessage(), and setCursor().
HDC GR_Win32Graphics::m_defPrintHDC = NULL [static, protected] |
Referenced by GR_Win32Graphics(), GR_Win32USPGraphics::setPrintDC(), and ~GR_Win32Graphics().
HDC GR_Win32Graphics::m_dummyHdc [protected] |
CapStyle GR_Win32Graphics::m_eCapStyle [protected] |
Referenced by _constructorCommonCode(), and setLineProperties().
JoinStyle GR_Win32Graphics::m_eJoinStyle [protected] |
Referenced by _constructorCommonCode(), and setLineProperties().
LineStyle GR_Win32Graphics::m_eLineStyle [protected] |
Referenced by _constructorCommonCode(), drawLine(), and setLineProperties().
double GR_Win32Graphics::m_fXYRatio [protected] |
Referenced by _constructorCommonCode(), GR_Win32USPGraphics::_drawChars(), clearArea(), drawChar(), drawChars(), drawImage(), drawLine(), fillRect(), genImageFromRectangle(), invertRect(), GR_Win32USPGraphics::measureRenderedCharWidths(), measureUnRemappedChar(), polygon(), polyLine(), GR_Win32USPGraphics::prepareToRenderChars(), GR_Win32USPGraphics::renderChars(), restoreRectangle(), saveRectangle(), scroll(), setClipRect(), startPage(), and xorLine().
double GR_Win32Graphics::m_fXYRatioPrint [protected] |
HBRUSH GR_Win32Graphics::m_hClearBrush [private] |
Referenced by clearArea().
HDC GR_Win32Graphics::m_hdc [protected] |
Referenced by _constructorCommonCode(), _DeviceContext_RestorePrevHDCFromStack(), _DeviceContext_SuspendDrawing(), _DeviceContext_SwitchToBuffer(), _DeviceContext_SwitchToScreen(), _DoubleBuffering_SetUpDummyBuffer(), GR_Win32USPGraphics::_drawChars(), _findFont(), _setColor(), _setTransform(), GR_Win32USPGraphics::_setupFontOnDC(), clearArea(), ConvertDDBToDIB(), drawChar(), GR_Win32USPGraphics::drawChars(), drawChars(), GR_Win32USPGraphics::drawCharsRelativeToBaseline(), drawImage(), drawLine(), endPrint(), fillRect(), genImageFromRectangle(), GR_Win32USPGraphics::getFontAscent(), getFontAscent(), GR_Win32USPGraphics::getFontDescent(), getFontDescent(), GR_Win32USPGraphics::getFontHeight(), getFontHeight(), getGUIFont(), invertRect(), GR_Win32USPGraphics::measureRenderedCharWidths(), polygon(), polyLine(), GR_Win32USPGraphics::renderChars(), restoreRectangle(), saveRectangle(), setClipRect(), setFont(), GR_Win32USPGraphics::shape(), startPage(), startPrint(), and xorLine().
HGLOBAL GR_Win32Graphics::m_hDevMode [private] |
Referenced by _constructorCommonCode(), GR_Win32Graphics(), and startPage().
HWND GR_Win32Graphics::m_hwnd [protected] |
HPEN GR_Win32Graphics::m_hXorPen [private] |
Referenced by _constructorCommonCode(), xorLine(), and ~GR_Win32Graphics().
UT_uint32 GR_Win32Graphics::m_iDCFontAllocNo [protected] |
Referenced by _constructorCommonCode(), GR_Win32USPGraphics::_setupFontOnDC(), and drawChars().
UT_sint32 GR_Win32Graphics::m_iLineWidth [protected] |
Referenced by _constructorCommonCode(), drawLine(), polygon(), polyLine(), setLineProperties(), setLineWidth(), and xorLine().
UT_uint32 GR_Win32Graphics::m_iPrintDCFontAllocNo [protected] |
Referenced by _constructorCommonCode(), and GR_Win32USPGraphics::_setupFontOnDC().
int GR_Win32Graphics::m_nArPenPos [private] |
Referenced by _constructorCommonCode(), drawLine(), and ~GR_Win32Graphics().
int GR_Win32Graphics::m_nLogPixelsY [private] |
Referenced by _constructorCommonCode(), and getDeviceResolution().
int GR_Win32Graphics::m_nPrintLogPixelsY [protected] |
CACHE_PEN* GR_Win32Graphics::m_pArPens [private] |
Referenced by _constructorCommonCode(), drawLine(), and ~GR_Win32Graphics().
const DOCINFOW* GR_Win32Graphics::m_pDocInfo [protected] |
Referenced by GR_Win32Graphics(), and startPrint().
GR_Win32Font* GR_Win32Graphics::m_pFont [protected] |
Referenced by _constructorCommonCode(), GR_Win32USPGraphics::_drawChars(), drawChar(), drawChars(), GR_Win32USPGraphics::getFontAscent(), getFontAscent(), GR_Win32USPGraphics::getFontDescent(), getFontDescent(), GR_Win32USPGraphics::getFontHeight(), getFontHeight(), measureUnRemappedChar(), GR_Win32USPGraphics::setFont(), and setFont().
GR_Win32Font* GR_Win32Graphics::m_pFontGUI [protected] |
Referenced by _constructorCommonCode(), getGUIFont(), ~GR_Win32Graphics(), and GR_Win32USPGraphics::~GR_Win32USPGraphics().
HDC GR_Win32Graphics::m_printHDC [protected] |
UT_UCS2Char* GR_Win32Graphics::m_remapBuffer [private] |
Referenced by _constructorCommonCode(), _remapGlyphs(), and ~GR_Win32Graphics().
UT_uint32 GR_Win32Graphics::m_remapBufferSize [private] |
Referenced by _constructorCommonCode(), _remapGlyphs(), and drawChars().
UT_UCS2Char* GR_Win32Graphics::m_remapIndices [private] |
Referenced by _constructorCommonCode(), _remapGlyphs(), drawChars(), and ~GR_Win32Graphics().
UT_Vector GR_Win32Graphics::m_vSaveRect [private] |
Referenced by restoreRectangle(), saveRectangle(), and ~GR_Win32Graphics().
UT_Vector GR_Win32Graphics::m_vSaveRectBuf [private] |
Referenced by restoreRectangle(), saveRectangle(), and ~GR_Win32Graphics().
UT_uint32 GR_Win32Graphics::s_iInstanceCount = 0 [static, protected] |
Reimplemented from GR_Graphics.
Reimplemented in GR_Win32USPGraphics.
Referenced by GR_Win32Graphics(), and ~GR_Win32Graphics().