LibreOffice Module vcl (master) 1
|
#include <impglyphitem.hxx>
Public Member Functions | |
GlyphItem (int nCharPos, int nCharCount, sal_GlyphId aGlyphId, const basegfx::B2DPoint &rLinearPos, GlyphItemFlags nFlags, double nOrigWidth, double nXOffset, double nYOffset) | |
bool | IsInCluster () const |
bool | IsRTLGlyph () const |
bool | IsVertical () const |
bool | IsSpacing () const |
bool | IsDropped () const |
bool | IsClusterStart () const |
bool | IsUnsafeToBreak () const |
bool | IsSafeToInsertKashida () const |
bool | GetGlyphBoundRect (const LogicalFontInstance *, tools::Rectangle &) const |
bool | GetGlyphOutline (const LogicalFontInstance *, basegfx::B2DPolyPolygon &) const |
void | dropGlyph () |
sal_GlyphId | glyphId () const |
int | charCount () const |
double | origWidth () const |
int | charPos () const |
double | xOffset () const |
double | yOffset () const |
double | newWidth () const |
const basegfx::B2DPoint & | linearPos () const |
void | setNewWidth (double width) |
void | addNewWidth (double width) |
void | setLinearPos (const basegfx::B2DPoint &point) |
void | setLinearPosX (double x) |
void | adjustLinearPosX (double diff) |
bool | isLayoutEquivalent (const GlyphItem &other) const |
Private Attributes | |
basegfx::B2DPoint | m_aLinearPos |
double | m_nOrigWidth |
sal_Int32 | m_nCharPos |
double | m_nXOffset |
double | m_nYOffset |
double | m_nNewWidth |
sal_GlyphId | m_aGlyphId |
GlyphItemFlags | m_nFlags |
sal_Int8 | m_nCharCount |
Definition at line 52 of file impglyphitem.hxx.
|
inline |
Definition at line 65 of file impglyphitem.hxx.
References m_nFlags.
|
inline |
Definition at line 106 of file impglyphitem.hxx.
|
inline |
Definition at line 109 of file impglyphitem.hxx.
References basegfx::Tuple2D< typename TYPE >::adjustX().
|
inline |
Definition at line 97 of file impglyphitem.hxx.
Referenced by vcl::PDFWriterImpl::drawLayout().
|
inline |
Definition at line 99 of file impglyphitem.hxx.
Referenced by SalLayoutGlyphsImpl::cloneCharRange(), vcl::PDFWriterImpl::drawLayout(), and MultiSalLayout::ImplAdjustMultiLayout().
|
inline |
Definition at line 135 of file impglyphitem.hxx.
References IS_DROPPED, m_nCharPos, and m_nFlags.
|
inline |
Definition at line 123 of file impglyphitem.hxx.
References LogicalFontInstance::GetGlyphBoundRect(), IsVertical(), and m_aGlyphId.
Referenced by vcl::PDFWriterImpl::drawLayout(), SalLayout::GetBoundRect(), and OutputDevice::ImplDrawEmphasisMarks().
|
inline |
Definition at line 129 of file impglyphitem.hxx.
References LogicalFontInstance::GetGlyphOutline(), IsVertical(), and m_aGlyphId.
Referenced by SalLayout::GetOutline().
|
inline |
Definition at line 96 of file impglyphitem.hxx.
Referenced by vcl::PDFWriterImpl::drawLayout().
|
inline |
Definition at line 85 of file impglyphitem.hxx.
References IS_CLUSTER_START, and m_nFlags.
Referenced by vcl::PDFWriterImpl::drawLayout().
|
inline |
Definition at line 84 of file impglyphitem.hxx.
References IS_DROPPED, and m_nFlags.
|
inline |
Definition at line 80 of file impglyphitem.hxx.
References IS_IN_CLUSTER, and m_nFlags.
Referenced by vcl::PDFWriterImpl::drawLayout().
|
inline |
Definition at line 110 of file impglyphitem.hxx.
References basegfx::Tuple2D< typename TYPE >::getX(), basegfx::Tuple2D< typename TYPE >::getY(), IS_UNSAFE_TO_BREAK, m_aGlyphId, m_aLinearPos, m_nCharCount, m_nCharPos, m_nFlags, m_nFlags, m_nNewWidth, m_nOrigWidth, m_nXOffset, and m_nYOffset.
|
inline |
Definition at line 81 of file impglyphitem.hxx.
References IS_RTL_GLYPH, and m_nFlags.
|
inline |
Definition at line 87 of file impglyphitem.hxx.
References IS_SAFE_TO_INSERT_KASHIDA, and m_nFlags.
|
inline |
Definition at line 83 of file impglyphitem.hxx.
References IS_SPACING, and m_nFlags.
Referenced by vcl::PDFWriterImpl::drawLayout(), OutputDevice::ImplDrawEmphasisMarks(), and OutputDevice::ImplDrawTextLines().
|
inline |
Definition at line 86 of file impglyphitem.hxx.
References IS_UNSAFE_TO_BREAK, and m_nFlags.
|
inline |
Definition at line 82 of file impglyphitem.hxx.
References IS_VERTICAL, and m_nFlags.
Referenced by vcl::PDFWriterImpl::drawLayout(), GetGlyphBoundRect(), GetGlyphOutline(), and OutputDevice::ImplDrawEmphasisMarks().
|
inline |
Definition at line 103 of file impglyphitem.hxx.
|
inline |
Definition at line 102 of file impglyphitem.hxx.
Referenced by vcl::PDFWriterImpl::drawLayout(), MultiSalLayout::GetTextWidth(), MultiSalLayout::ImplAdjustMultiLayout(), and OutputDevice::ImplDrawTextLines().
|
inline |
Definition at line 98 of file impglyphitem.hxx.
Referenced by vcl::PDFWriterImpl::drawLayout(), and OutputDevice::ImplDrawEmphasisMarks().
|
inline |
Definition at line 107 of file impglyphitem.hxx.
References point().
|
inline |
Definition at line 108 of file impglyphitem.hxx.
References basegfx::Tuple2D< typename TYPE >::setX(), and x.
|
inline |
Definition at line 105 of file impglyphitem.hxx.
|
inline |
Definition at line 100 of file impglyphitem.hxx.
|
inline |
Definition at line 101 of file impglyphitem.hxx.
|
private |
Definition at line 60 of file impglyphitem.hxx.
Referenced by GetGlyphBoundRect(), GetGlyphOutline(), and isLayoutEquivalent().
|
private |
Definition at line 54 of file impglyphitem.hxx.
Referenced by isLayoutEquivalent().
|
private |
Definition at line 62 of file impglyphitem.hxx.
Referenced by isLayoutEquivalent().
|
private |
Definition at line 56 of file impglyphitem.hxx.
Referenced by dropGlyph(), and isLayoutEquivalent().
|
private |
Definition at line 61 of file impglyphitem.hxx.
Referenced by dropGlyph(), and isLayoutEquivalent().
|
private |
Definition at line 59 of file impglyphitem.hxx.
Referenced by isLayoutEquivalent().
|
private |
Definition at line 55 of file impglyphitem.hxx.
Referenced by isLayoutEquivalent().
|
private |
Definition at line 57 of file impglyphitem.hxx.
Referenced by isLayoutEquivalent().
|
private |
Definition at line 58 of file impglyphitem.hxx.
Referenced by isLayoutEquivalent().