20#ifndef INCLUDED_VCL_IMPGLYPHITEM_HXX
21#define INCLUDED_VCL_IMPGLYPHITEM_HXX
27#include <rtl/math.hxx>
67 double nXOffset,
double nYOffset)
68 : m_aLinearPos(rLinearPos)
69 , m_nOrigWidth(nOrigWidth)
70 , m_nCharPos(nCharPos)
71 , m_nXOffset(nXOffset)
72 , m_nYOffset(nYOffset)
73 , m_nNewWidth(nOrigWidth)
74 , m_aGlyphId(aGlyphId)
76 , m_nCharCount(nCharCount)
94 inline void dropGlyph();
99 int charPos()
const {
return m_nCharPos; }
bool GetGlyphBoundRect(const LogicalFontInstance *, tools::Rectangle &) const
bool GetGlyphOutline(const LogicalFontInstance *, basegfx::B2DPolyPolygon &) const
void setLinearPosX(double x)
GlyphItem(int nCharPos, int nCharCount, sal_GlyphId aGlyphId, const basegfx::B2DPoint &rLinearPos, GlyphItemFlags nFlags, double nOrigWidth, double nXOffset, double nYOffset)
bool IsSafeToInsertKashida() const
sal_GlyphId glyphId() const
bool IsClusterStart() const
void setLinearPos(const basegfx::B2DPoint &point)
void addNewWidth(double width)
bool isLayoutEquivalent(const GlyphItem &other) const
basegfx::B2DPoint m_aLinearPos
bool IsUnsafeToBreak() const
void setNewWidth(double width)
void adjustLinearPosX(double diff)
const basegfx::B2DPoint & linearPos() 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
@ IS_SAFE_TO_INSERT_KASHIDA