LibreOffice Module vcl (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SalLayoutGlyphsImpl Class Reference

#include <impglyphitem.hxx>

Inheritance diagram for SalLayoutGlyphsImpl:
Collaboration diagram for SalLayoutGlyphsImpl:

Public Member Functions

 SalLayoutGlyphsImpl (LogicalFontInstance &rFontInstance)
SalLayoutGlyphsImplclone () const
SalLayoutGlyphsImplcloneCharRange (sal_Int32 index, sal_Int32 length) const
const rtl::Reference< LogicalFontInstance > & GetFont () const
bool IsValid () const
void SetFlags (SalLayoutFlags flags)
SalLayoutFlags GetFlags () const
bool isLayoutEquivalent (const SalLayoutGlyphsImpl *other) const

Private Member Functions

bool isSafeToBreak (const_iterator pos, bool rtl) const

Private Attributes

rtl::Reference< LogicalFontInstancem_rFontInstance
SalLayoutFlags mnFlags = SalLayoutFlags::NONE

Detailed Description

Definition at line 141 of file impglyphitem.hxx.

Constructor & Destructor Documentation

◆ SalLayoutGlyphsImpl()

SalLayoutGlyphsImpl::SalLayoutGlyphsImpl ( LogicalFontInstance rFontInstance)

Definition at line 144 of file impglyphitem.hxx.

Referenced by clone(), and cloneCharRange().

Member Function Documentation

◆ clone()

SalLayoutGlyphsImpl * SalLayoutGlyphsImpl::clone ( ) const

Definition at line 96 of file impglyphitem.cxx.

References SalLayoutGlyphsImpl().

Referenced by GenericSalLayout::GetGlyphs().

◆ cloneCharRange()

SalLayoutGlyphsImpl * SalLayoutGlyphsImpl::cloneCharRange ( sal_Int32  index,
sal_Int32  length 
) const

◆ GetFlags()

SalLayoutFlags SalLayoutGlyphsImpl::GetFlags ( ) const

◆ GetFont()

const rtl::Reference< LogicalFontInstance > & SalLayoutGlyphsImpl::GetFont ( ) const

◆ isLayoutEquivalent()

bool SalLayoutGlyphsImpl::isLayoutEquivalent ( const SalLayoutGlyphsImpl other) const

Definition at line 206 of file impglyphitem.cxx.

References GetFlags(), GetFont(), pos, and size.

Referenced by checkGlyphsEqual().

◆ isSafeToBreak()

bool SalLayoutGlyphsImpl::isSafeToBreak ( const_iterator  pos,
bool  rtl 
) const

Definition at line 185 of file impglyphitem.cxx.

References begin, and pos.

Referenced by cloneCharRange().

◆ IsValid()

bool SalLayoutGlyphsImpl::IsValid ( ) const

Definition at line 226 of file impglyphitem.cxx.

References m_rFontInstance.

Referenced by GenericSalLayout::GetTextWidth(), and GenericSalLayout::Justify().

◆ SetFlags()

void SalLayoutGlyphsImpl::SetFlags ( SalLayoutFlags  flags)

Definition at line 152 of file impglyphitem.hxx.

References mnFlags.

Referenced by GenericSalLayout::LayoutText(), and makeGlyphsSubset().

Member Data Documentation

◆ m_rFontInstance

rtl::Reference<LogicalFontInstance> SalLayoutGlyphsImpl::m_rFontInstance

Definition at line 160 of file impglyphitem.hxx.

Referenced by GetFont(), and IsValid().

◆ mnFlags

SalLayoutFlags SalLayoutGlyphsImpl::mnFlags = SalLayoutFlags::NONE

Definition at line 161 of file impglyphitem.hxx.

Referenced by GetFlags(), and SetFlags().

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