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

#include <SVGTextChunk.h>

Public Types

enum  ChunkStyle {
  DefaultStyle = 1 << 0, MiddleAnchor = 1 << 1, EndAnchor = 1 << 2, RightToLeftText = 1 << 3,
  VerticalText = 1 << 4, LengthAdjustSpacing = 1 << 5, LengthAdjustSpacingAndGlyphs = 1 << 6
}
 

Public Member Functions

 SVGTextChunk (const Vector< SVGInlineTextBox *> &, unsigned first, unsigned limit)
 
unsigned totalCharacters () const
 
float totalLength () const
 
float totalAnchorShift () const
 
void layout (HashMap< SVGInlineTextBox *, AffineTransform > &) const
 

Member Enumeration Documentation

◆ ChunkStyle

Enumerator
DefaultStyle 
MiddleAnchor 
EndAnchor 
RightToLeftText 
VerticalText 
LengthAdjustSpacing 
LengthAdjustSpacingAndGlyphs 

Constructor & Destructor Documentation

◆ SVGTextChunk()

WebCore::SVGTextChunk::SVGTextChunk ( const Vector< SVGInlineTextBox *> &  lineLayoutBoxes,
unsigned  first,
unsigned  limit 
)

Member Function Documentation

◆ layout()

void WebCore::SVGTextChunk::layout ( HashMap< SVGInlineTextBox *, AffineTransform > &  textBoxTransformations) const

◆ totalAnchorShift()

float WebCore::SVGTextChunk::totalAnchorShift ( ) const

◆ totalCharacters()

unsigned WebCore::SVGTextChunk::totalCharacters ( ) const

◆ totalLength()

float WebCore::SVGTextChunk::totalLength ( ) const

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