webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Public Member Functions | List of all members
WebCore::ComplexTextController Class Reference

#include <ComplexTextController.h>

Classes

class  ComplexTextRun
 

Public Member Functions

 ComplexTextController (const FontCascade &, const TextRun &, bool mayUseNaturalWritingDirection=false, HashSet< const Font *> *fallbackFonts=0, bool forTextEmphasis=false)
 
WEBCORE_EXPORT ComplexTextController (const FontCascade &, const TextRun &, Vector< Ref< ComplexTextRun >> &)
 
WEBCORE_EXPORT void advance (unsigned to, GlyphBuffer *=nullptr, GlyphIterationStyle=IncludePartialGlyphs, HashSet< const Font *> *fallbackFonts=nullptr)
 
unsigned offsetForPosition (float x, bool includePartialGlyphs)
 
float runWidthSoFar () const
 
float totalWidth () const
 
float minGlyphBoundingBoxX () const
 
float maxGlyphBoundingBoxX () const
 
float minGlyphBoundingBoxY () const
 
float maxGlyphBoundingBoxY () const
 
 ComplexTextController (const FontCascade &, const TextRun &, bool mayUseNaturalWritingDirection=false, HashSet< const Font *> *fallbackFonts=0, bool forTextEmphasis=false)
 
WEBCORE_EXPORT ComplexTextController (const FontCascade &, const TextRun &, Vector< Ref< ComplexTextRun >> &)
 
WEBCORE_EXPORT void advance (unsigned to, GlyphBuffer *=nullptr, GlyphIterationStyle=IncludePartialGlyphs, HashSet< const Font *> *fallbackFonts=nullptr)
 
unsigned offsetForPosition (float x, bool includePartialGlyphs)
 
float runWidthSoFar () const
 
float totalWidth () const
 
float minGlyphBoundingBoxX () const
 
float maxGlyphBoundingBoxX () const
 
float minGlyphBoundingBoxY () const
 
float maxGlyphBoundingBoxY () const
 

Constructor & Destructor Documentation

◆ ComplexTextController() [1/4]

WebCore::ComplexTextController::ComplexTextController ( const FontCascade font,
const TextRun run,
bool  mayUseNaturalWritingDirection = false,
HashSet< const Font *> *  fallbackFonts = 0,
bool  forTextEmphasis = false 
)

◆ ComplexTextController() [2/4]

WebCore::ComplexTextController::ComplexTextController ( const FontCascade font,
const TextRun run,
Vector< Ref< ComplexTextRun >> &  runs 
)

◆ ComplexTextController() [3/4]

WebCore::ComplexTextController::ComplexTextController ( const FontCascade ,
const TextRun ,
bool  mayUseNaturalWritingDirection = false,
HashSet< const Font *> *  fallbackFonts = 0,
bool  forTextEmphasis = false 
)

◆ ComplexTextController() [4/4]

WEBCORE_EXPORT WebCore::ComplexTextController::ComplexTextController ( const FontCascade ,
const TextRun ,
Vector< Ref< ComplexTextRun >> &   
)

Member Function Documentation

◆ advance() [1/2]

void WebCore::ComplexTextController::advance ( unsigned  to,
GlyphBuffer glyphBuffer = nullptr,
GlyphIterationStyle  iterationStyle = IncludePartialGlyphs,
HashSet< const Font *> *  fallbackFonts = nullptr 
)

◆ advance() [2/2]

WEBCORE_EXPORT void WebCore::ComplexTextController::advance ( unsigned  to,
GlyphBuffer = nullptr,
GlyphIterationStyle  = IncludePartialGlyphs,
HashSet< const Font *> *  fallbackFonts = nullptr 
)

◆ maxGlyphBoundingBoxX() [1/2]

float WebCore::ComplexTextController::maxGlyphBoundingBoxX ( ) const
inline

◆ maxGlyphBoundingBoxX() [2/2]

float WebCore::ComplexTextController::maxGlyphBoundingBoxX ( ) const
inline

◆ maxGlyphBoundingBoxY() [1/2]

float WebCore::ComplexTextController::maxGlyphBoundingBoxY ( ) const
inline

◆ maxGlyphBoundingBoxY() [2/2]

float WebCore::ComplexTextController::maxGlyphBoundingBoxY ( ) const
inline

◆ minGlyphBoundingBoxX() [1/2]

float WebCore::ComplexTextController::minGlyphBoundingBoxX ( ) const
inline

◆ minGlyphBoundingBoxX() [2/2]

float WebCore::ComplexTextController::minGlyphBoundingBoxX ( ) const
inline

◆ minGlyphBoundingBoxY() [1/2]

float WebCore::ComplexTextController::minGlyphBoundingBoxY ( ) const
inline

◆ minGlyphBoundingBoxY() [2/2]

float WebCore::ComplexTextController::minGlyphBoundingBoxY ( ) const
inline

◆ offsetForPosition() [1/2]

unsigned WebCore::ComplexTextController::offsetForPosition ( float  x,
bool  includePartialGlyphs 
)

◆ offsetForPosition() [2/2]

unsigned WebCore::ComplexTextController::offsetForPosition ( float  x,
bool  includePartialGlyphs 
)

◆ runWidthSoFar() [1/2]

float WebCore::ComplexTextController::runWidthSoFar ( ) const
inline

◆ runWidthSoFar() [2/2]

float WebCore::ComplexTextController::runWidthSoFar ( ) const
inline

◆ totalWidth() [1/2]

float WebCore::ComplexTextController::totalWidth ( ) const
inline

◆ totalWidth() [2/2]

float WebCore::ComplexTextController::totalWidth ( ) const
inline

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