tbx  0.7.3
Public Member Functions | Public Attributes | List of all members
tbx::DrawElementMove Class Reference

Move to (x, y) starting new subpath. More...

#include <drawpath.h>

Inheritance diagram for tbx::DrawElementMove:
tbx::DrawElement

Public Member Functions

 DrawElementMove (int ix, int iy)
 Construct a new move element. More...
 
- Public Member Functions inherited from tbx::DrawElement
ElementType type () const
 

Public Attributes

int x
 
int y
 

Additional Inherited Members

- Public Types inherited from tbx::DrawElement
enum  ElementType {
  END, CONTINUATION, MOVE, MOVE_INTERNAL,
  CLOSE_GAP, CLOSE_LINE, BEZIER, GAP,
  LINE
}
 Draw element types.
 
- Static Public Member Functions inherited from tbx::DrawElement
static int size_in_words (ElementType type)
 Return the size of each Draw element type.
 
- Protected Member Functions inherited from tbx::DrawElement
 DrawElement (ElementType type)
 

Detailed Description

Move to (x, y) starting new subpath.

The new subpath does affect winding numbers and so is filled normally. This is the normal way to start a new subpath.

Constructor & Destructor Documentation

tbx::DrawElementMove::DrawElementMove ( int  ix,
int  iy 
)
inline

Construct a new move element.

Parameters
ixx coordinate in user coordinates
iyy coordinate in user coordinates

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