Public Member Functions | |
GR_PangoRenderInfo (GR_ScriptType t) | |
virtual | ~GR_PangoRenderInfo () |
virtual GRRI_Type | getType () const |
virtual bool | append (GR_RenderInfo &ri, bool bReverse=false) |
virtual bool | split (GR_RenderInfo *&pri, bool bReverse=false) |
virtual bool | cut (UT_uint32 offset, UT_uint32 iLen, bool bReverse=false) |
virtual bool | isJustified () const |
virtual bool | canAppend (GR_RenderInfo &ri) const |
bool | getUTF8Text () |
bool | allocStaticBuffers (UT_uint32 iSize) |
Public Attributes | |
PangoGlyphString * | m_pGlyphs |
PangoGlyphString * | m_pScaledGlyphs |
int * | m_pLogOffsets |
int * | m_pJustify |
UT_uint32 | m_iZoom |
UT_uint32 | m_iCharCount |
UT_uint32 | m_iShapingAllocNo |
Static Public Attributes | |
static UT_UTF8String * | sUTF8 = NULL |
static GR_PangoRenderInfo * | s_pOwnerUTF8 = NULL |
static UT_uint32 | s_iInstanceCount = 0 |
static UT_uint32 | s_iStaticSize = 0 |
static PangoLogAttr * | s_pLogAttrs = NULL |
static GR_PangoRenderInfo * | s_pOwnerLogAttrs = NULL |
GR_PangoRenderInfo::GR_PangoRenderInfo | ( | GR_ScriptType | t | ) | [inline] |
References s_iInstanceCount, and sUTF8.
Referenced by split().
virtual GR_PangoRenderInfo::~GR_PangoRenderInfo | ( | ) | [inline, virtual] |
References DELETEP, m_pGlyphs, m_pJustify, m_pLogOffsets, m_pScaledGlyphs, s_iInstanceCount, s_pLogAttrs, and sUTF8.
bool GR_PangoRenderInfo::allocStaticBuffers | ( | UT_uint32 | iSize | ) | [inline] |
References s_iStaticSize, and s_pLogAttrs.
Referenced by GR_CairoGraphics::_scriptBreak().
bool GR_PangoRenderInfo::append | ( | GR_RenderInfo & | ri, | |
bool | bReverse = false | |||
) | [virtual] |
Implements GR_RenderInfo.
References m_iCharCount, m_pLogOffsets, s_pOwnerLogAttrs, and s_pOwnerUTF8.
bool GR_PangoRenderInfo::canAppend | ( | GR_RenderInfo & | ri | ) | const [virtual] |
Reimplemented from GR_RenderInfo.
References GR_CairoPangoItem::m_pi, and GR_RenderInfo::m_pItem.
Implements GR_RenderInfo.
References m_iCharCount, m_pLogOffsets, s_pOwnerLogAttrs, and s_pOwnerUTF8.
virtual GRRI_Type GR_PangoRenderInfo::getType | ( | void | ) | const [inline, virtual] |
Implements GR_RenderInfo.
bool GR_PangoRenderInfo::getUTF8Text | ( | ) |
References UT_UTF8String::clear(), UT_TextIterator::getStatus(), GR_RenderInfo::m_pText, UT_UTF8String::reserve(), s_pOwnerUTF8, sUTF8, text, and UT_return_val_if_fail.
Referenced by GR_CairoGraphics::_scriptBreak().
bool GR_PangoRenderInfo::isJustified | ( | ) | const [virtual] |
Implements GR_RenderInfo.
References m_pJustify.
bool GR_PangoRenderInfo::split | ( | GR_RenderInfo *& | pri, | |
bool | bReverse = false | |||
) | [virtual] |
Referenced by append(), cut(), GR_CairoGraphics::shape(), and split().
PangoGlyphString* GR_PangoRenderInfo::m_pGlyphs |
Referenced by isJustified(), GR_CairoGraphics::shape(), and ~GR_PangoRenderInfo().
Referenced by append(), cut(), GR_CairoGraphics::shape(), split(), and ~GR_PangoRenderInfo().
PangoGlyphString* GR_PangoRenderInfo::m_pScaledGlyphs |
Referenced by GR_CairoGraphics::_scaleCharacterMetrics(), GR_CairoGraphics::shape(), and ~GR_PangoRenderInfo().
UT_uint32 GR_PangoRenderInfo::s_iInstanceCount = 0 [static] |
Referenced by GR_PangoRenderInfo(), and ~GR_PangoRenderInfo().
UT_uint32 GR_PangoRenderInfo::s_iStaticSize = 0 [static] |
Referenced by GR_CairoGraphics::_scriptBreak(), and allocStaticBuffers().
PangoLogAttr * GR_PangoRenderInfo::s_pLogAttrs = NULL [static] |
Referenced by GR_CairoGraphics::_scriptBreak(), allocStaticBuffers(), and ~GR_PangoRenderInfo().
GR_PangoRenderInfo * GR_PangoRenderInfo::s_pOwnerLogAttrs = NULL [static] |
Referenced by GR_CairoGraphics::_scriptBreak(), append(), cut(), GR_CairoGraphics::shape(), and split().
GR_PangoRenderInfo * GR_PangoRenderInfo::s_pOwnerUTF8 = NULL [static] |
Referenced by append(), cut(), getUTF8Text(), GR_CairoGraphics::shape(), and split().
UT_UTF8String * GR_PangoRenderInfo::sUTF8 = NULL [static] |
Referenced by GR_CairoGraphics::_scriptBreak(), getUTF8Text(), GR_PangoRenderInfo(), and ~GR_PangoRenderInfo().