Flutter Impeller
IMPELLER_HPP_NAMESPACE::GlyphInfo Class Reference

#include <impeller.hpp>

Inheritance diagram for IMPELLER_HPP_NAMESPACE::GlyphInfo:
IMPELLER_HPP_NAMESPACE::Object< ImpellerGlyphInfo, ImpellerGlyphInfoTraits >

Public Member Functions

 GlyphInfo (ImpellerGlyphInfo info, AdoptTag tag)
 
size_t GetGraphemeClusterCodeUnitRangeBegin () const
 
size_t GetGraphemeClusterCodeUnitRangeEnd () const
 
ImpellerRect GetGraphemeClusterBounds () const
 
bool IsEllipsis () const
 
ImpellerTextDirection GetTextDirection () const
 
- Public Member Functions inherited from IMPELLER_HPP_NAMESPACE::Object< ImpellerGlyphInfo, ImpellerGlyphInfoTraits >
 Object ()=default
 
 Object (ImpellerGlyphInfo object)
 
 Object (ImpellerGlyphInfo object, AdoptTag)
 
 Object (Object &&other)
 
 Object (const Object &other)
 
 ~Object ()
 
Objectoperator= (Object &&other)
 
Objectoperator= (const Object &other)
 
ImpellerGlyphInfo Get () const
 
 operator bool () const
 

Detailed Description

See also
ImpellerGlyphInfo

Definition at line 748 of file impeller.hpp.

Constructor & Destructor Documentation

◆ GlyphInfo()

IMPELLER_HPP_NAMESPACE::GlyphInfo::GlyphInfo ( ImpellerGlyphInfo  info,
AdoptTag  tag 
)
inline

Definition at line 750 of file impeller.hpp.

Member Function Documentation

◆ GetGraphemeClusterBounds()

ImpellerRect IMPELLER_HPP_NAMESPACE::GlyphInfo::GetGraphemeClusterBounds ( ) const
inline
See also
ImpellerGlyphInfoGetGraphemeClusterBounds

Definition at line 771 of file impeller.hpp.

771  {
772  ImpellerRect rect = {};
773  gGlobalProcTable.ImpellerGlyphInfoGetGraphemeClusterBounds(Get(), &rect);
774  return rect;
775  }

References IMPELLER_HPP_NAMESPACE::Object< ImpellerGlyphInfo, ImpellerGlyphInfoTraits >::Get(), and IMPELLER_HPP_NAMESPACE::gGlobalProcTable.

◆ GetGraphemeClusterCodeUnitRangeBegin()

size_t IMPELLER_HPP_NAMESPACE::GlyphInfo::GetGraphemeClusterCodeUnitRangeBegin ( ) const
inline
See also
ImpellerGlyphInfoGetGraphemeClusterCodeUnitRangeBegin

Definition at line 755 of file impeller.hpp.

755  {
756  return gGlobalProcTable
757  .ImpellerGlyphInfoGetGraphemeClusterCodeUnitRangeBegin(Get());
758  }

References IMPELLER_HPP_NAMESPACE::Object< ImpellerGlyphInfo, ImpellerGlyphInfoTraits >::Get(), and IMPELLER_HPP_NAMESPACE::gGlobalProcTable.

◆ GetGraphemeClusterCodeUnitRangeEnd()

size_t IMPELLER_HPP_NAMESPACE::GlyphInfo::GetGraphemeClusterCodeUnitRangeEnd ( ) const
inline
See also
ImpellerGlyphInfoGetGraphemeClusterCodeUnitRangeEnd

Definition at line 763 of file impeller.hpp.

763  {
764  return gGlobalProcTable.ImpellerGlyphInfoGetGraphemeClusterCodeUnitRangeEnd(
765  Get());
766  }

References IMPELLER_HPP_NAMESPACE::Object< ImpellerGlyphInfo, ImpellerGlyphInfoTraits >::Get(), and IMPELLER_HPP_NAMESPACE::gGlobalProcTable.

◆ GetTextDirection()

ImpellerTextDirection IMPELLER_HPP_NAMESPACE::GlyphInfo::GetTextDirection ( ) const
inline
See also
ImpellerGlyphInfoGetTextDirection

Definition at line 787 of file impeller.hpp.

787  {
788  return gGlobalProcTable.ImpellerGlyphInfoGetTextDirection(Get());
789  }

References IMPELLER_HPP_NAMESPACE::Object< ImpellerGlyphInfo, ImpellerGlyphInfoTraits >::Get(), and IMPELLER_HPP_NAMESPACE::gGlobalProcTable.

◆ IsEllipsis()

bool IMPELLER_HPP_NAMESPACE::GlyphInfo::IsEllipsis ( ) const
inline

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