class PaperDrawable

Defined at line 22 of file ../../src/ui/lib/escher/paper/paper_drawable.h

PaperDrawable is a pure virtual interface with a single DrawInScene() method

that is invoked by PaperRenderer::Draw(). Clients may use pre-existing

implementations of PaperDrawable, or roll their own.

Public Methods

void DrawInScene (const PaperScene * scene, PaperDrawCallFactory * draw_call_factory, PaperTransformStack * transform_stack, Frame * frame, PaperDrawableFlags flags)

Subclasses have a large amount of freedom when implementing this method.

The only constraint is that any items pushed onto |transform_stack| must be

popped before the method returns.