LibreOffice Module vcl (master)  1
Public Member Functions | Public Attributes | Private Attributes | List of all members
GlyphItem Class Reference

#include <impglyphitem.hxx>

Collaboration diagram for GlyphItem:
[legend]

Public Member Functions

 GlyphItem (int nCharPos, int nCharCount, sal_GlyphId aGlyphId, const Point &rLinearPos, GlyphItemFlags nFlags, int nOrigWidth, int nXOffset, LogicalFontInstance *pFontInstance)
 
bool IsInCluster () const
 
bool IsRTLGlyph () const
 
bool IsDiacritic () const
 
bool IsVertical () const
 
bool IsSpacing () const
 
bool AllowKashida () const
 
bool IsDropped () const
 
bool IsClusterStart () const
 
bool GetGlyphBoundRect (tools::Rectangle &) const
 
bool GetGlyphOutline (basegfx::B2DPolyPolygon &) const
 
void dropGlyph ()
 
sal_GlyphId glyphId () const
 
int charCount () const
 
int origWidth () const
 
int charPos () const
 
int xOffset () const
 

Public Attributes

int m_nNewWidth
 
Point m_aLinearPos
 

Private Attributes

sal_GlyphId m_aGlyphId
 
int m_nCharCount
 
int m_nOrigWidth
 
LogicalFontInstancem_pFontInstance
 
int m_nCharPos
 
GlyphItemFlags m_nFlags
 
int m_nXOffset
 

Detailed Description

Definition at line 51 of file impglyphitem.hxx.

Constructor & Destructor Documentation

GlyphItem::GlyphItem ( int  nCharPos,
int  nCharCount,
sal_GlyphId  aGlyphId,
const Point rLinearPos,
GlyphItemFlags  nFlags,
int  nOrigWidth,
int  nXOffset,
LogicalFontInstance pFontInstance 
)
inline

Definition at line 65 of file impglyphitem.hxx.

Member Function Documentation

bool GlyphItem::AllowKashida ( ) const
inline

Definition at line 86 of file impglyphitem.hxx.

References ALLOW_KASHIDA.

int GlyphItem::charCount ( ) const
inline

Definition at line 95 of file impglyphitem.hxx.

Referenced by vcl::PDFWriterImpl::drawLayout().

int GlyphItem::charPos ( ) const
inline
void GlyphItem::dropGlyph ( )
inline

Definition at line 111 of file impglyphitem.hxx.

References IS_DROPPED, m_nCharPos, and m_nFlags.

VCL_DLLPUBLIC bool GlyphItem::GetGlyphBoundRect ( tools::Rectangle rRect) const
inline
VCL_DLLPUBLIC bool GlyphItem::GetGlyphOutline ( basegfx::B2DPolyPolygon rPoly) const
inline
sal_GlyphId GlyphItem::glyphId ( ) const
inline
bool GlyphItem::IsClusterStart ( ) const
inline

Definition at line 88 of file impglyphitem.hxx.

References IS_CLUSTER_START.

Referenced by vcl::PDFWriterImpl::drawLayout().

bool GlyphItem::IsDiacritic ( ) const
inline

Definition at line 83 of file impglyphitem.hxx.

References IS_DIACRITIC.

bool GlyphItem::IsDropped ( ) const
inline

Definition at line 87 of file impglyphitem.hxx.

References IS_DROPPED.

bool GlyphItem::IsInCluster ( ) const
inline

Definition at line 81 of file impglyphitem.hxx.

References IS_IN_CLUSTER.

Referenced by vcl::PDFWriterImpl::drawLayout().

bool GlyphItem::IsRTLGlyph ( ) const
inline

Definition at line 82 of file impglyphitem.hxx.

References IS_RTL_GLYPH.

bool GlyphItem::IsSpacing ( ) const
inline
bool GlyphItem::IsVertical ( ) const
inline

Definition at line 84 of file impglyphitem.hxx.

References IS_VERTICAL.

Referenced by vcl::PDFWriterImpl::drawLayout(), GetGlyphBoundRect(), and GetGlyphOutline().

int GlyphItem::origWidth ( ) const
inline

Definition at line 96 of file impglyphitem.hxx.

int GlyphItem::xOffset ( ) const
inline

Definition at line 98 of file impglyphitem.hxx.

Member Data Documentation

sal_GlyphId GlyphItem::m_aGlyphId
private

Definition at line 53 of file impglyphitem.hxx.

Referenced by GetGlyphBoundRect(), and GetGlyphOutline().

Point GlyphItem::m_aLinearPos

Definition at line 63 of file impglyphitem.hxx.

int GlyphItem::m_nCharCount
private

Definition at line 54 of file impglyphitem.hxx.

int GlyphItem::m_nCharPos
private

Definition at line 57 of file impglyphitem.hxx.

Referenced by dropGlyph().

GlyphItemFlags GlyphItem::m_nFlags
private

Definition at line 58 of file impglyphitem.hxx.

Referenced by dropGlyph().

int GlyphItem::m_nNewWidth
int GlyphItem::m_nOrigWidth
private

Definition at line 55 of file impglyphitem.hxx.

int GlyphItem::m_nXOffset
private

Definition at line 59 of file impglyphitem.hxx.

LogicalFontInstance* GlyphItem::m_pFontInstance
private

Definition at line 56 of file impglyphitem.hxx.

Referenced by GetGlyphBoundRect(), and GetGlyphOutline().


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