tbx  0.7.5
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Friends | List of all members
tbx::DrawElement Class Reference

Base class for elements added to a draw path. More...

#include <drawpath.h>

Inheritance diagram for tbx::DrawElement:
tbx::DrawElementBezier tbx::DrawElementCloseGap tbx::DrawElementCloseLine tbx::DrawElementContinuation tbx::DrawElementEnd tbx::DrawElementGap tbx::DrawElementLine tbx::DrawElementMove tbx::DrawElementMoveInternal

Public Types

enum  ElementType {
  END, CONTINUATION, MOVE, MOVE_INTERNAL,
  CLOSE_GAP, CLOSE_LINE, BEZIER, GAP,
  LINE
}
 Draw element types.
 

Public Member Functions

ElementType type () const
 

Static Public Member Functions

static int size_in_words (ElementType type)
 Return the size of each Draw element type.
 

Protected Member Functions

 DrawElement (ElementType type)
 

Friends

class DrawPath
 

Detailed Description

Base class for elements added to a draw path.


The documentation for this class was generated from the following files: