20#ifndef INCLUDED_VCL_IMPGLYPHITEM_HXX
21#define INCLUDED_VCL_IMPGLYPHITEM_HXX
66 : m_aLinearPos(rLinearPos)
67 , m_nOrigWidth(nOrigWidth)
68 , m_nCharPos(nCharPos)
69 , m_nXOffset(nXOffset)
70 , m_nYOffset(nYOffset)
71 , m_nNewWidth(nOrigWidth)
72 , m_aGlyphId(aGlyphId)
74 , m_nCharCount(nCharCount)
92 inline void dropGlyph();
97 int charPos()
const {
return m_nCharPos; }
98 int xOffset()
const {
return m_nXOffset; }
99 int yOffset()
const {
return m_nYOffset; }
void setLinearPos(const DevicePoint &point)
bool GetGlyphBoundRect(const LogicalFontInstance *, tools::Rectangle &) const
bool GetGlyphOutline(const LogicalFontInstance *, basegfx::B2DPolyPolygon &) const
DeviceCoordinate m_nOrigWidth
void setNewWidth(DeviceCoordinate width)
void addNewWidth(DeviceCoordinate width)
void setLinearPosX(double x)
bool IsSafeToInsertKashida() const
sal_GlyphId glyphId() const
DeviceCoordinate newWidth() const
bool IsClusterStart() const
const DevicePoint & linearPos() const
bool isLayoutEquivalent(const GlyphItem &other) const
GlyphItem(int nCharPos, int nCharCount, sal_GlyphId aGlyphId, const DevicePoint &rLinearPos, GlyphItemFlags nFlags, DeviceCoordinate nOrigWidth, int nXOffset, int nYOffset)
bool IsUnsafeToBreak() const
DeviceCoordinate m_nNewWidth
void adjustLinearPosX(double diff)
DeviceCoordinate origWidth() const
virtual bool GetGlyphOutline(sal_GlyphId, basegfx::B2DPolyPolygon &, bool) const =0
bool GetGlyphBoundRect(sal_GlyphId, tools::Rectangle &, bool) const
SalLayoutGlyphsImpl(LogicalFontInstance &rFontInstance)
void SetFlags(SalLayoutFlags flags)
SalLayoutFlags GetFlags() const
rtl::Reference< LogicalFontInstance > m_rFontInstance
SalLayoutGlyphsImpl * clone() const
bool isSafeToBreak(const_iterator pos, bool rtl) const
bool isLayoutEquivalent(const SalLayoutGlyphsImpl *other) const
SalLayoutGlyphsImpl * cloneCharRange(sal_Int32 index, sal_Int32 length) const
const rtl::Reference< LogicalFontInstance > & GetFont() const
sal_Int32 DeviceCoordinate
@ IS_SAFE_TO_INSERT_KASHIDA