Flutter Engine
The Flutter Engine
|
#include <BisectSlide.h>
Public Member Functions | |
SkISize | getDimensions () const override |
bool | onChar (SkUnichar c) override |
void | draw (SkCanvas *canvas) override |
Public Member Functions inherited from Slide | |
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 () |
Public Member Functions inherited from SkRefCntBase | |
SkRefCntBase () | |
virtual | ~SkRefCntBase () |
bool | unique () const |
void | ref () const |
void | unref () const |
Static Public Member Functions | |
static sk_sp< BisectSlide > | Create (const char filepath[]) |
Additional Inherited Members | |
Protected Attributes inherited from Slide | |
SkString | fName |
This is a simple utility designed to extract the paths from an SKP file and then isolate a single one of them via bisect. Use the 'x' and 'X' keys to guide a binary search:
'x': Throw out half the paths. 'X': Toggle which half gets tossed and which half is kept. 'Z': Back up one level. 'D': Dump the path.
Definition at line 36 of file BisectSlide.h.
|
static |
Definition at line 20 of file BisectSlide.cpp.
|
overridevirtual |
Implements Slide.
Definition at line 103 of file BisectSlide.cpp.
|
inlineoverridevirtual |
A slide may have a content dimensions that is independent of the current window size. An empty size indicates that the Slide's dimensions are equal to the window's dimensions.
Reimplemented from Slide.
Definition at line 41 of file BisectSlide.h.
|
overridevirtual |
Reimplemented from Slide.
Definition at line 47 of file BisectSlide.cpp.