Skia
2D Graphics Library
skottie::Shaper::ShapedGlyphs Struct Reference

#include <TextShaper.h>

Public Types

enum class  BoundsType { kConservative , kTight }
 

Public Member Functions

SkRect computeBounds (BoundsType) const
 
void draw (SkCanvas *, const SkPoint &origin, const SkPaint &) const
 

Public Attributes

std::vector< RunRecfRuns
 
std::vector< SkGlyphIDfGlyphIDs
 
std::vector< SkPoint > fGlyphPos
 
std::vector< size_t > fClusters
 

Member Enumeration Documentation

◆ BoundsType

Enumerator
kConservative 
kTight 

Member Function Documentation

◆ computeBounds()

SkRect skottie::Shaper::ShapedGlyphs::computeBounds ( BoundsType  ) const

◆ draw()

void skottie::Shaper::ShapedGlyphs::draw ( SkCanvas ,
const SkPoint &  origin,
const SkPaint  
) const

Member Data Documentation

◆ fClusters

std::vector<size_t> skottie::Shaper::ShapedGlyphs::fClusters

◆ fGlyphIDs

std::vector<SkGlyphID> skottie::Shaper::ShapedGlyphs::fGlyphIDs

◆ fGlyphPos

std::vector<SkPoint> skottie::Shaper::ShapedGlyphs::fGlyphPos

◆ fRuns

std::vector<RunRec> skottie::Shaper::ShapedGlyphs::fRuns

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