LibreOffice Module vcl (master) 1
|
#include <vcllayout.hxx>
Public Member Functions | |
virtual | ~SalLayout () |
basegfx::B2DPoint & | DrawBase () |
const basegfx::B2DPoint & | DrawBase () const |
Point & | DrawOffset () |
const Point & | DrawOffset () const |
basegfx::B2DPoint | GetDrawPosition (const basegfx::B2DPoint &rRelative=basegfx::B2DPoint(0, 0)) const |
virtual bool | LayoutText (vcl::text::ImplLayoutArgs &, const SalLayoutGlyphsImpl *)=0 |
virtual void | AdjustLayout (vcl::text::ImplLayoutArgs &) |
virtual void | InitFont () const |
virtual void | DrawText (SalGraphics &) const =0 |
Degree10 | GetOrientation () const |
void | SetSubpixelPositioning (bool bSubpixelPositioning) |
bool | GetSubpixelPositioning () const |
virtual sal_Int32 | GetTextBreak (double nMaxWidth, double nCharExtra, int nFactor) const =0 |
virtual double | FillDXArray (std::vector< double > *pDXArray, const OUString &rStr) const =0 |
virtual double | GetTextWidth () const |
virtual void | GetCaretPositions (std::vector< double > &rCaretPositions, const OUString &rStr) const =0 |
virtual bool | IsKashidaPosValid (int, int) const =0 |
virtual bool | GetNextGlyph (const GlyphItem **pGlyph, basegfx::B2DPoint &rPos, int &nStart, const LogicalFontInstance **ppGlyphFont=nullptr) const =0 |
virtual bool | GetOutline (basegfx::B2DPolyPolygonVector &) const |
bool | GetBoundRect (tools::Rectangle &) const |
virtual SalLayoutGlyphs | GetGlyphs () const |
Protected Member Functions | |
SalLayout () | |
Protected Attributes | |
int | mnMinCharPos |
int | mnEndCharPos |
LanguageTag | maLanguageTag |
Degree10 | mnOrientation |
Point | maDrawOffset |
basegfx::B2DPoint | maDrawBase |
bool | mbSubpixelPositioning |
Private Member Functions | |
SalLayout (const SalLayout &)=delete | |
SalLayout & | operator= (const SalLayout &)=delete |
Definition at line 67 of file vcllayout.hxx.
|
virtual |
Definition at line 133 of file sallayout.cxx.
|
protected |
Definition at line 124 of file sallayout.cxx.
References LANGUAGE_DONTKNOW, and maLanguageTag.
|
privatedelete |
|
virtual |
Reimplemented in GenericSalLayout, and MultiSalLayout.
Definition at line 136 of file sallayout.cxx.
References maLanguageTag, vcl::text::ImplLayoutArgs::maLanguageTag, mnEndCharPos, vcl::text::ImplLayoutArgs::mnEndCharPos, mnMinCharPos, vcl::text::ImplLayoutArgs::mnMinCharPos, mnOrientation, and vcl::text::ImplLayoutArgs::mnOrientation.
Referenced by GenericSalLayout::AdjustLayout(), and MultiSalLayout::AdjustLayout().
|
inline |
Definition at line 72 of file vcllayout.hxx.
Referenced by vcl::PDFWriterImpl::drawShadow(), MultiSalLayout::DrawText(), MultiSalLayout::GetOutline(), OutputDevice::ImplDrawEmphasisMarks(), OutputDevice::ImplDrawRotateText(), OutputDevice::ImplDrawSpecialText(), OutputDevice::ImplDrawText(), OutputDevice::ImplDrawTextBackground(), OutputDevice::ImplDrawTextDirect(), and OutputDevice::ImplDrawTextLines().
|
inline |
Definition at line 73 of file vcllayout.hxx.
|
inline |
Definition at line 74 of file vcllayout.hxx.
Referenced by vcl::PDFWriterImpl::drawRelief(), MultiSalLayout::DrawText(), MultiSalLayout::GetOutline(), OutputDevice::ImplDrawRotateText(), and OutputDevice::ImplDrawSpecialText().
|
inline |
Definition at line 75 of file vcllayout.hxx.
|
pure virtual |
Implemented in GenericSalLayout, and MultiSalLayout.
Referenced by MultiSalLayout::DrawText(), OutputDevice::ImplDrawRotateText(), and OutputDevice::ImplDrawTextDirect().
|
pure virtual |
Implemented in GenericSalLayout, and MultiSalLayout.
Referenced by MultiSalLayout::GetTextBreak().
bool SalLayout::GetBoundRect | ( | tools::Rectangle & | rRect | ) | const |
Definition at line 217 of file sallayout.cxx.
References tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), tools::Rectangle::AdjustTop(), GlyphItem::GetGlyphBoundRect(), GetNextGlyph(), basegfx::Tuple2D< typename TYPE >::getX(), basegfx::Tuple2D< typename TYPE >::getY(), tools::Rectangle::IsEmpty(), tools::Rectangle::SetEmpty(), and tools::Rectangle::Union().
Referenced by OutputDevice::ImplDrawRotateText().
|
pure virtual |
Implemented in MultiSalLayout, and GenericSalLayout.
basegfx::B2DPoint SalLayout::GetDrawPosition | ( | const basegfx::B2DPoint & | rRelative = basegfx::B2DPoint(0,0) | ) | const |
Definition at line 144 of file sallayout.cxx.
References basegfx::Tuple2D< typename TYPE >::getX(), basegfx::Tuple2D< typename TYPE >::getY(), maDrawBase, maDrawOffset, mbSubpixelPositioning, mnOrientation, toRadians(), Point::X(), and Point::Y().
Referenced by vcl::PDFWriterImpl::drawLayout(), GenericSalLayout::GetNextGlyph(), OutputDevice::ImplDrawTextLines(), and OutputDevice::ImplGetTextBoundRect().
|
virtual |
Reimplemented in MultiSalLayout, and GenericSalLayout.
Definition at line 253 of file sallayout.cxx.
Referenced by TrackFontMappingUse().
|
pure virtual |
Implemented in MultiSalLayout, and GenericSalLayout.
Referenced by vcl::PDFWriterImpl::drawLayout(), GetBoundRect(), GetOutline(), OutputDevice::ImplDrawEmphasisMarks(), and OutputDevice::ImplDrawTextLines().
|
inline |
Definition at line 83 of file vcllayout.hxx.
|
virtual |
Reimplemented in MultiSalLayout.
Definition at line 184 of file sallayout.cxx.
References basegfx::B2DPolyPolygon::count(), basegfx::utils::createTranslateB2DHomMatrix(), GlyphItem::GetGlyphOutline(), GetNextGlyph(), basegfx::Tuple2D< typename TYPE >::getX(), basegfx::Tuple2D< typename TYPE >::getY(), and basegfx::B2DPolyPolygon::transform().
Referenced by MultiSalLayout::GetOutline().
|
inline |
Definition at line 90 of file vcllayout.hxx.
Referenced by GenericSalLayout::ApplyDXArray(), and GenericSalLayout::LayoutText().
|
pure virtual |
Implemented in GenericSalLayout, and MultiSalLayout.
|
inlinevirtual |
Reimplemented in MultiSalLayout, and GenericSalLayout.
Definition at line 98 of file vcllayout.hxx.
Referenced by vcl::PDFWriterImpl::drawLayout(), OutputDevice::ImplDrawRotateText(), OutputDevice::ImplDrawTextBackground(), OutputDevice::ImplDrawTextLines(), and OutputDevice::ImplGetTextBoundRect().
|
inlinevirtual |
Reimplemented in MultiSalLayout.
Definition at line 80 of file vcllayout.hxx.
Referenced by MultiSalLayout::DrawText(), MultiSalLayout::GetNextGlyph(), and MultiSalLayout::GetOutline().
Implemented in GenericSalLayout, and MultiSalLayout.
|
pure virtual |
Implemented in GenericSalLayout, and MultiSalLayout.
|
inline |
Definition at line 85 of file vcllayout.hxx.
|
protected |
Definition at line 126 of file vcllayout.hxx.
Referenced by MultiSalLayout::DrawText(), GetDrawPosition(), MultiSalLayout::GetNextGlyph(), and MultiSalLayout::GetOutline().
|
mutableprotected |
Definition at line 125 of file vcllayout.hxx.
Referenced by MultiSalLayout::DrawText(), GetDrawPosition(), MultiSalLayout::GetNextGlyph(), and MultiSalLayout::GetOutline().
|
protected |
Definition at line 121 of file vcllayout.hxx.
Referenced by AdjustLayout(), and GenericSalLayout::GetCharWidths().
|
protected |
Definition at line 128 of file vcllayout.hxx.
Referenced by GetDrawPosition().
|
protected |
Definition at line 120 of file vcllayout.hxx.
Referenced by AdjustLayout(), GenericSalLayout::ApplyDXArray(), MultiSalLayout::FillDXArray(), MultiSalLayout::GetCaretPositions(), GenericSalLayout::GetCaretPositions(), GenericSalLayout::GetCharWidths(), GenericSalLayout::GetNextGlyph(), GenericSalLayout::GetTextBreak(), MultiSalLayout::GetTextBreak(), and MultiSalLayout::ImplAdjustMultiLayout().
|
protected |
Definition at line 119 of file vcllayout.hxx.
Referenced by AdjustLayout(), GenericSalLayout::ApplyDXArray(), MultiSalLayout::FillDXArray(), MultiSalLayout::GetCaretPositions(), GenericSalLayout::GetCaretPositions(), GenericSalLayout::GetCharWidths(), GenericSalLayout::GetNextGlyph(), GenericSalLayout::GetTextBreak(), MultiSalLayout::GetTextBreak(), and MultiSalLayout::ImplAdjustMultiLayout().
|
protected |
Definition at line 123 of file vcllayout.hxx.
Referenced by AdjustLayout(), and GetDrawPosition().