#include <gr_Win32USPGraphics.h>
Public Member Functions | |
virtual | ~GR_Win32USPFont () |
SCRIPT_CACHE * | getScriptCache () |
HDC | getPrintDC () const |
void | setPrintDC (HDC dc) |
UT_sint32 | getScreenAscent () const |
void | setScreenAscent (UT_sint32 iA) |
Static Public Member Functions | |
static GR_Win32USPFont * | newFont (LOGFONTW &lf, double fPoints, HDC hdc, HDC printHDC) |
Protected Member Functions | |
GR_Win32USPFont (LOGFONTW &lf, double fPoints, HDC hdc, HDC printHDC) | |
virtual void | _clearAnyCachedInfo () |
Private Attributes | |
SCRIPT_CACHE | m_sc |
HDC | m_printHDC |
UT_sint32 | m_iScreenAscent |
GR_Win32USPFont::~GR_Win32USPFont | ( | ) | [virtual] |
References GR_Win32USPGraphics::fScriptFreeCache, and m_sc.
GR_Win32USPFont::GR_Win32USPFont | ( | LOGFONTW & | lf, | |
double | fPoints, | |||
HDC | hdc, | |||
HDC | printHDC | |||
) | [protected] |
Referenced by newFont().
void GR_Win32USPFont::_clearAnyCachedInfo | ( | ) | [protected, virtual] |
Reimplemented from GR_Win32Font.
References GR_Win32USPGraphics::fScriptFreeCache, and m_sc.
HDC GR_Win32USPFont::getPrintDC | ( | ) | const [inline] |
UT_sint32 GR_Win32USPFont::getScreenAscent | ( | ) | const [inline] |
Referenced by GR_Win32USPGraphics::renderChars().
SCRIPT_CACHE* GR_Win32USPFont::getScriptCache | ( | ) | [inline] |
Referenced by GR_Win32USPGraphics::measureRenderedCharWidths(), and GR_Win32USPGraphics::renderChars().
GR_Win32USPFont * GR_Win32USPFont::newFont | ( | LOGFONTW & | lf, | |
double | fPoints, | |||
HDC | hdc, | |||
HDC | printHDC | |||
) | [static] |
Reimplemented from GR_Win32Font.
References GR_Win32Font::getFontHandle(), and GR_Win32USPFont().
Referenced by GR_Win32USPGraphics::_newFont().
void GR_Win32USPFont::setPrintDC | ( | HDC | dc | ) | [inline] |
Referenced by GR_Win32USPGraphics::measureRenderedCharWidths().
void GR_Win32USPFont::setScreenAscent | ( | UT_sint32 | iA | ) | [inline] |
Referenced by GR_Win32USPGraphics::prepareToRenderChars(), and GR_Win32USPGraphics::renderChars().
UT_sint32 GR_Win32USPFont::m_iScreenAscent [private] |
HDC GR_Win32USPFont::m_printHDC [private] |
SCRIPT_CACHE GR_Win32USPFont::m_sc [private] |
Referenced by _clearAnyCachedInfo(), and ~GR_Win32USPFont().