Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes

XAP_FontPreview Class Reference

#include <xap_FontPreview.h>

Inheritance diagram for XAP_FontPreview:
XAP_UnixFontPreview XAP_Win32FontPreview

List of all members.

Public Types

typedef std::map< std::string,
std::string > 
PropMap

Public Member Functions

 XAP_FontPreview ()
virtual ~XAP_FontPreview (void)
void addOrReplaceVecProp (const std::string &pszProp, const std::string &pszVal)
void setFontFamily (const gchar *pFontFamily)
void setText (const gchar *pFontFamily)
void draw (void)

Protected Member Functions

void _createFontPreviewFromGC (GR_Graphics *gc, UT_uint32 width, UT_uint32 height)

Protected Attributes

UT_sint32 m_width
UT_sint32 m_height

Private Attributes

XAP_Preview_FontPreviewm_pFontPreview
UT_UCSCharm_drawString
PropMap m_mapProps

Member Typedef Documentation

typedef std::map<std::string,std::string> XAP_FontPreview::PropMap

Constructor & Destructor Documentation

XAP_FontPreview::XAP_FontPreview (  ) 
XAP_FontPreview::~XAP_FontPreview ( void   )  [virtual]

Member Function Documentation

void XAP_FontPreview::addOrReplaceVecProp ( const std::string &  pszProp,
const std::string &  pszVal 
)

References m_mapProps.

Referenced by _createFontPreviewFromGC(), and setFontFamily().

void XAP_FontPreview::draw ( void   ) 
void XAP_FontPreview::setFontFamily ( const gchar *  pFontFamily  ) 

References addOrReplaceVecProp().

Referenced by _wd::s_font_prelight().

void XAP_FontPreview::setText ( const gchar *  pFontFamily  ) 

Member Data Documentation


The documentation for this class was generated from the following files: