Kage Studio 0.7.230612
A Simple Free and Open Source 2D Animation Software
Loading...
Searching...
No Matches
VectorData Class Reference

#include <vectordata.h>

Collaboration diagram for VectorData:

Public Types

enum  type {
  TYPE_INIT , TYPE_FILL , TYPE_CLOSE_PATH , TYPE_ENDFILL ,
  TYPE_STROKE , TYPE_MOVE , TYPE_LINE , TYPE_CURVE_QUADRATIC ,
  TYPE_CURVE_CUBIC , TYPE_TEXT , TYPE_IMAGE
}
 

Public Member Functions

 VectorData ()
 
 VectorData (type p_type)
 
virtual ~VectorData ()
 
void setType (type p_type)
 
type getType () const
 
void setPoints (vector< PointData > p_points)
 
vector< PointDatagetPoints ()
 
VectorData clone ()
 

Data Fields

StrokeColorData stroke
 
ColorData fillColor
 
string fillColorGradientID
 
unsigned int count
 
type vectorType
 
vector< PointDatapoints
 

Protected Attributes

long lImg
 

Member Enumeration Documentation

◆ type

Enumerator
TYPE_INIT 
TYPE_FILL 
TYPE_CLOSE_PATH 
TYPE_ENDFILL 
TYPE_STROKE 
TYPE_MOVE 
TYPE_LINE 
TYPE_CURVE_QUADRATIC 
TYPE_CURVE_CUBIC 
TYPE_TEXT 
TYPE_IMAGE 

Constructor & Destructor Documentation

◆ VectorData() [1/2]

VectorData::VectorData ( )

◆ VectorData() [2/2]

VectorData::VectorData ( type  p_type)
Here is the call graph for this function:

◆ ~VectorData()

VectorData::~VectorData ( )
virtual

Member Function Documentation

◆ clone()

VectorData VectorData::clone ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getPoints()

vector< PointData > VectorData::getPoints ( )

◆ getType()

VectorData::type VectorData::getType ( ) const
Here is the caller graph for this function:

◆ setPoints()

void VectorData::setPoints ( vector< PointData p_points)
Here is the caller graph for this function:

◆ setType()

void VectorData::setType ( type  p_type)
Here is the caller graph for this function:

Field Documentation

◆ count

unsigned int VectorData::count

◆ fillColor

ColorData VectorData::fillColor

◆ fillColorGradientID

string VectorData::fillColorGradientID

◆ lImg

long VectorData::lImg
protected

◆ points

vector<PointData> VectorData::points

◆ stroke

StrokeColorData VectorData::stroke

◆ vectorType

type VectorData::vectorType

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