tbx  0.7.5
Public Member Functions | Public Attributes | List of all members
tbx::DrawElementMoveInternal Class Reference

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

#include <drawpath.h>

Inheritance diagram for tbx::DrawElementMoveInternal:
tbx::DrawElement

Public Member Functions

 DrawElementMoveInternal (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 not affect winding numbers when filling. This is mainly for internal use and rarely used by applications.

Constructor & Destructor Documentation

◆ DrawElementMoveInternal()

tbx::DrawElementMoveInternal::DrawElementMoveInternal ( 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: