LibreOffice Module vcl (master)  1
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
SalLayout Class Referenceabstract

#include <vcllayout.hxx>

Inheritance diagram for SalLayout:
[legend]
Collaboration diagram for SalLayout:
[legend]

Public Member Functions

virtual ~SalLayout ()
 
DevicePointDrawBase ()
 
const DevicePointDrawBase () const
 
PointDrawOffset ()
 
const PointDrawOffset () const
 
DevicePoint GetDrawPosition (const DevicePoint &rRelative=DevicePoint(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
 
int GetUnitsPerPixel () const
 
Degree10 GetOrientation () const
 
void SetTextRenderModeForResolutionIndependentLayout (bool bTextRenderModeForResolutionIndependentLayout)
 
virtual sal_Int32 GetTextBreak (DeviceCoordinate nMaxWidth, DeviceCoordinate nCharExtra, int nFactor) const =0
 
virtual DeviceCoordinate FillDXArray (std::vector< DeviceCoordinate > *pDXArray) const =0
 
virtual DeviceCoordinate GetTextWidth () const
 
virtual void GetCaretPositions (int nArraySize, sal_Int32 *pCaretXArray) const =0
 
virtual bool IsKashidaPosValid (int) const
 
virtual bool GetNextGlyph (const GlyphItem **pGlyph, DevicePoint &rPos, int &nStart, const LogicalFontInstance **ppGlyphFont=nullptr, const vcl::font::PhysicalFontFace **pFallbackFont=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
 
int mnUnitsPerPixel
 
Degree10 mnOrientation
 
Point maDrawOffset
 
DevicePoint maDrawBase
 
bool mbTextRenderModeForResolutionIndependentLayout
 

Private Member Functions

 SalLayout (const SalLayout &)=delete
 
SalLayoutoperator= (const SalLayout &)=delete
 

Detailed Description

Definition at line 66 of file vcllayout.hxx.

Constructor & Destructor Documentation

SalLayout::~SalLayout ( )
virtual

Definition at line 142 of file sallayout.cxx.

SalLayout::SalLayout ( )
protected

Definition at line 133 of file sallayout.cxx.

References false.

SalLayout::SalLayout ( const SalLayout )
privatedelete

Member Function Documentation

void SalLayout::AdjustLayout ( vcl::text::ImplLayoutArgs rArgs)
virtual
DevicePoint& SalLayout::DrawBase ( )
inline
const DevicePoint& SalLayout::DrawBase ( ) const
inline

Definition at line 72 of file vcllayout.hxx.

Point& SalLayout::DrawOffset ( )
inline
const Point& SalLayout::DrawOffset ( ) const
inline

Definition at line 74 of file vcllayout.hxx.

References Point.

virtual void SalLayout::DrawText ( SalGraphics ) const
pure virtual
virtual DeviceCoordinate SalLayout::FillDXArray ( std::vector< DeviceCoordinate > *  pDXArray) const
pure virtual

Implemented in GenericSalLayout, and MultiSalLayout.

Referenced by MultiSalLayout::GetTextBreak().

bool SalLayout::GetBoundRect ( tools::Rectangle rRect) const
virtual void SalLayout::GetCaretPositions ( int  nArraySize,
sal_Int32 *  pCaretXArray 
) const
pure virtual
DevicePoint SalLayout::GetDrawPosition ( const DevicePoint rRelative = DevicePoint(0,0)) const
SalLayoutGlyphs SalLayout::GetGlyphs ( ) const
virtual

Reimplemented in GenericSalLayout, and MultiSalLayout.

Definition at line 254 of file sallayout.cxx.

Referenced by TrackFontMappingUse().

virtual bool SalLayout::GetNextGlyph ( const GlyphItem **  pGlyph,
DevicePoint rPos,
int nStart,
const LogicalFontInstance **  ppGlyphFont = nullptr,
const vcl::font::PhysicalFontFace **  pFallbackFont = nullptr 
) const
pure virtual
Degree10 SalLayout::GetOrientation ( ) const
inline

Definition at line 83 of file vcllayout.hxx.

bool SalLayout::GetOutline ( basegfx::B2DPolyPolygonVector rVector) const
virtual
virtual sal_Int32 SalLayout::GetTextBreak ( DeviceCoordinate  nMaxWidth,
DeviceCoordinate  nCharExtra,
int  nFactor 
) const
pure virtual

Implemented in GenericSalLayout, and MultiSalLayout.

virtual DeviceCoordinate SalLayout::GetTextWidth ( ) const
inlinevirtual
int SalLayout::GetUnitsPerPixel ( ) const
inline
virtual void SalLayout::InitFont ( ) const
inlinevirtual
virtual bool SalLayout::IsKashidaPosValid ( int  ) const
inlinevirtual

Reimplemented in GenericSalLayout, and MultiSalLayout.

Definition at line 95 of file vcllayout.hxx.

virtual bool SalLayout::LayoutText ( vcl::text::ImplLayoutArgs ,
const SalLayoutGlyphsImpl  
)
pure virtual

Implemented in GenericSalLayout, and MultiSalLayout.

SalLayout& SalLayout::operator= ( const SalLayout )
privatedelete
void SalLayout::SetTextRenderModeForResolutionIndependentLayout ( bool  bTextRenderModeForResolutionIndependentLayout)
inline

Definition at line 85 of file vcllayout.hxx.

Member Data Documentation

DevicePoint SalLayout::maDrawBase
protected
Point SalLayout::maDrawOffset
mutableprotected
bool SalLayout::mbTextRenderModeForResolutionIndependentLayout
protected

Definition at line 124 of file vcllayout.hxx.

Referenced by GetDrawPosition().

int SalLayout::mnEndCharPos
protected
int SalLayout::mnMinCharPos
protected
Degree10 SalLayout::mnOrientation
protected

Definition at line 119 of file vcllayout.hxx.

Referenced by AdjustLayout(), and GetDrawPosition().

int SalLayout::mnUnitsPerPixel
protected

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