|
| TextBoxSlide (ShaperFactory fact, MakeBidiIteratorCallback bidi, MakeScriptRunCallback script, const char suffix[]) |
|
void | load (SkScalar w, SkScalar h) override |
|
void | resize (SkScalar w, SkScalar h) override |
|
void | draw (SkCanvas *canvas) override |
|
virtual SkISize | getDimensions () const |
|
virtual void | gpuTeardown () |
|
virtual void | draw (SkCanvas *canvas)=0 |
|
virtual bool | animate (double nanos) |
|
virtual void | load (SkScalar winWidth, SkScalar winHeight) |
|
virtual void | resize (SkScalar winWidth, SkScalar winHeight) |
|
virtual void | unload () |
|
virtual bool | onChar (SkUnichar c) |
|
virtual bool | onMouse (SkScalar x, SkScalar y, skui::InputState state, skui::ModifierKey modifiers) |
|
virtual bool | onGetControls (SkMetaData *) |
|
virtual void | onSetControls (const SkMetaData &) |
|
const SkString & | getName () |
|
| SkRefCntBase () |
|
virtual | ~SkRefCntBase () |
|
bool | unique () const |
|
void | ref () const |
|
void | unref () const |
|
Definition at line 123 of file TextBoxSlide.cpp.
◆ TextBoxSlide()
Definition at line 125 of file TextBoxSlide.cpp.
129 : fShaper(fact()), fBidiCallback(bidi), fScriptRunCallback(
script) {
131 }
SK_API SkString SkStringPrintf(const char *format,...) SK_PRINTF_LIKE(1
Creates a new string and writes into it using a printf()-style format.
◆ draw()
void TextBoxSlide::draw |
( |
SkCanvas * |
canvas | ) |
|
|
inlineoverridevirtual |
Implements Slide.
Definition at line 137 of file TextBoxSlide.cpp.
137 {
146 }
constexpr SkColor SK_ColorGRAY
constexpr SkColor SK_ColorBLACK
constexpr SkColor SK_ColorWHITE
void translate(SkScalar dx, SkScalar dy)
◆ load()
◆ resize()
The documentation for this class was generated from the following file: