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

#include <impglyphitem.hxx>

Public Member Functions

 GlyphItem (int nCharPos, int nCharCount, sal_GlyphId aGlyphId, const Point &rLinearPos, GlyphItemFlags nFlags, int nOrigWidth, int nXOffset)
 
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 (const LogicalFontInstance *, tools::Rectangle &) const
 
bool GetGlyphOutline (const LogicalFontInstance *, basegfx::B2DPolyPolygon &) const
 
void dropGlyph ()
 
sal_GlyphId glyphId () const
 
int charCount () const
 
int origWidth () const
 
int charPos () const
 
int xOffset () const
 

Public Attributes

Point m_aLinearPos
 
sal_Int32 m_nNewWidth
 

Private Attributes

sal_Int32 m_nOrigWidth
 
sal_Int32 m_nCharPos
 
sal_Int32 m_nXOffset
 
sal_GlyphId m_aGlyphId
 
sal_Int8 m_nCharCount
 
GlyphItemFlags m_nFlags
 

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 
)
inline

Definition at line 64 of file impglyphitem.hxx.

Member Function Documentation

bool GlyphItem::AllowKashida ( ) const
inline

Definition at line 82 of file impglyphitem.hxx.

References ALLOW_KASHIDA.

int GlyphItem::charCount ( ) const
inline

Definition at line 91 of file impglyphitem.hxx.

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

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

Definition at line 109 of file impglyphitem.hxx.

References IS_DROPPED, m_nCharPos, and m_nFlags.

VCL_DLLPUBLIC bool GlyphItem::GetGlyphBoundRect ( const LogicalFontInstance pFontInstance,
tools::Rectangle rRect 
) const
inline
VCL_DLLPUBLIC bool GlyphItem::GetGlyphOutline ( const LogicalFontInstance pFontInstance,
basegfx::B2DPolyPolygon rPoly 
) const
inline

Definition at line 103 of file impglyphitem.hxx.

References LogicalFontInstance::GetGlyphOutline(), IsVertical(), and m_aGlyphId.

Referenced by SalLayout::GetOutline().

sal_GlyphId GlyphItem::glyphId ( ) const
inline
bool GlyphItem::IsClusterStart ( ) const
inline

Definition at line 84 of file impglyphitem.hxx.

References IS_CLUSTER_START.

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

bool GlyphItem::IsDiacritic ( ) const
inline

Definition at line 79 of file impglyphitem.hxx.

References IS_DIACRITIC.

bool GlyphItem::IsDropped ( ) const
inline

Definition at line 83 of file impglyphitem.hxx.

References IS_DROPPED.

bool GlyphItem::IsInCluster ( ) const
inline

Definition at line 77 of file impglyphitem.hxx.

References IS_IN_CLUSTER.

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

bool GlyphItem::IsRTLGlyph ( ) const
inline

Definition at line 78 of file impglyphitem.hxx.

References IS_RTL_GLYPH.

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

Definition at line 80 of file impglyphitem.hxx.

References IS_VERTICAL.

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

int GlyphItem::origWidth ( ) const
inline

Definition at line 92 of file impglyphitem.hxx.

int GlyphItem::xOffset ( ) const
inline

Definition at line 94 of file impglyphitem.hxx.

Member Data Documentation

sal_GlyphId GlyphItem::m_aGlyphId
private

Definition at line 56 of file impglyphitem.hxx.

Referenced by GetGlyphBoundRect(), and GetGlyphOutline().

Point GlyphItem::m_aLinearPos

Definition at line 61 of file impglyphitem.hxx.

sal_Int8 GlyphItem::m_nCharCount
private

Definition at line 57 of file impglyphitem.hxx.

sal_Int32 GlyphItem::m_nCharPos
private

Definition at line 54 of file impglyphitem.hxx.

Referenced by dropGlyph().

GlyphItemFlags GlyphItem::m_nFlags
private

Definition at line 58 of file impglyphitem.hxx.

Referenced by dropGlyph().

sal_Int32 GlyphItem::m_nNewWidth
sal_Int32 GlyphItem::m_nOrigWidth
private

Definition at line 53 of file impglyphitem.hxx.

sal_Int32 GlyphItem::m_nXOffset
private

Definition at line 55 of file impglyphitem.hxx.


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