class Shape

Defined at line 17 of file ../../src/ui/lib/escher/scene/shape.h

Describes a planar shape primitive to be drawn.

Public Methods

void Shape (Type type)

Defined at line 11 of file ../../src/ui/lib/escher/scene/shape.cc

void Shape (MeshPtr mesh)

Defined at line 13 of file ../../src/ui/lib/escher/scene/shape.cc

void ~Shape ()

Defined at line 15 of file ../../src/ui/lib/escher/scene/shape.cc

Type type ()

Defined at line 25 of file ../../src/ui/lib/escher/scene/shape.h

const MeshPtr & mesh ()

Defined at line 28 of file ../../src/ui/lib/escher/scene/shape.h

void set_mesh (MeshPtr mesh)

Defined at line 30 of file ../../src/ui/lib/escher/scene/shape.cc

BoundingBox bounding_box ()

Defined at line 17 of file ../../src/ui/lib/escher/scene/shape.cc

Enumerations

enum Type
Name Value
kRect 0
kCircle 1
kMesh 2
kNone 3

Defined at line 19 of file ../../src/ui/lib/escher/scene/shape.h