Flutter Engine
The Flutter Engine
|
#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< RunRec > | fRuns |
std::vector< SkGlyphID > | fGlyphIDs |
std::vector< SkPoint > | fGlyphPos |
std::vector< size_t > | fClusters |
Definition at line 48 of file TextShaper.h.
|
strong |
Enumerator | |
---|---|
kConservative | |
kTight |
Definition at line 60 of file TextShaper.h.
SkRect skottie::Shaper::ShapedGlyphs::computeBounds | ( | BoundsType | btype | ) | const |
Definition at line 676 of file TextShaper.cpp.
void skottie::Shaper::ShapedGlyphs::draw | ( | SkCanvas * | canvas, |
const SkPoint & | origin, | ||
const SkPaint & | paint | ||
) | const |
Definition at line 721 of file TextShaper.cpp.
std::vector<size_t> skottie::Shaper::ShapedGlyphs::fClusters |
Definition at line 58 of file TextShaper.h.
std::vector<SkGlyphID> skottie::Shaper::ShapedGlyphs::fGlyphIDs |
Definition at line 52 of file TextShaper.h.
std::vector<SkPoint> skottie::Shaper::ShapedGlyphs::fGlyphPos |
Definition at line 53 of file TextShaper.h.
std::vector<RunRec> skottie::Shaper::ShapedGlyphs::fRuns |
Definition at line 49 of file TextShaper.h.