Definition at line 28 of file textblobblockreordering.cpp.
◆ TextBlobBlockReordering()
skiagm::TextBlobBlockReordering::TextBlobBlockReordering |
( |
| ) |
|
|
inline |
◆ getISize()
SkISize skiagm::TextBlobBlockReordering::getISize |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
◆ getName()
SkString skiagm::TextBlobBlockReordering::getName |
( |
| ) |
const |
|
inlineoverrideprotectedvirtual |
◆ onDraw()
void skiagm::TextBlobBlockReordering::onDraw |
( |
SkCanvas * |
canvas | ) |
|
|
inlineoverrideprotectedvirtual |
Reimplemented from skiagm::GM.
Definition at line 61 of file textblobblockreordering.cpp.
61 {
63
66
70
72
74
75
82
85 }
constexpr SkColor SK_ColorGRAY
constexpr SkColor SK_ColorRED
#define SkScalarFloorToInt(x)
void drawRect(const SkRect &rect, const SkPaint &paint)
void translate(SkScalar dx, SkScalar dy)
void drawColor(SkColor color, SkBlendMode mode=SkBlendMode::kSrcOver)
void drawTextBlob(const SkTextBlob *blob, SkScalar x, SkScalar y, const SkPaint &paint)
void setColor(SkColor color)
const SkRect & bounds() const
Optional< SkRect > bounds
◆ onOnceBeforeDraw()
void skiagm::TextBlobBlockReordering::onOnceBeforeDraw |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
Reimplemented from skiagm::GM.
Definition at line 35 of file textblobblockreordering.cpp.
35 {
37
38
39
42 const char*
text =
"AB";
43
46
49
50
52 }
@ kUTF8
uses bytes to represent UTF-8 or ASCII
@ kAlias
no transparent pixels on glyph edges
font
Font Metadata and Metrics.
The documentation for this class was generated from the following file: