reference

This documentation is automatically generated from the openFrameworks source code using doxygen and refers to the most recent release, version 0.12.0.

#include <ofPath.h>

Public Types

enum  Type {
  moveTo , lineTo , curveTo , bezierTo ,
  quadBezierTo , arc , arcNegative , close
}
 

Public Member Functions

 Command (Type type)
 for close
 
 Command (Type type, const glm::vec3 &p)
 for lineTo and curveTo
 
 Command (Type type, const glm::vec3 &p, const glm::vec3 &cp1, const glm::vec3 &cp2)
 for bezierTo
 
 Command (Type type, const glm::vec3 &centre, float radiusX, float radiusY, float angleBegin, float angleEnd)
 for arc
 

Public Attributes

Type type
 
glm::vec3 to
 
glm::vec3 cp1
 
glm::vec3 cp2
 
float radiusX
 
float radiusY
 
float angleBegin
 
float angleEnd
 

Member Enumeration Documentation

◆ Type

Enumerator
moveTo 
lineTo 
curveTo 
bezierTo 
quadBezierTo 
arc 
arcNegative 
close 

Constructor & Destructor Documentation

◆ Command() [1/4]

ofPath::Command::Command ( Type  type)

for close

◆ Command() [2/4]

ofPath::Command::Command ( Type  type,
const glm::vec3 &  p 
)

for lineTo and curveTo

◆ Command() [3/4]

ofPath::Command::Command ( Type  type,
const glm::vec3 &  p,
const glm::vec3 &  cp1,
const glm::vec3 &  cp2 
)

for bezierTo

◆ Command() [4/4]

ofPath::Command::Command ( Type  type,
const glm::vec3 &  centre,
float  radiusX,
float  radiusY,
float  angleBegin,
float  angleEnd 
)

for arc

Member Data Documentation

◆ angleBegin

float ofPath::Command::angleBegin

◆ angleEnd

float ofPath::Command::angleEnd

◆ cp1

glm::vec3 ofPath::Command::cp1

◆ cp2

glm::vec3 ofPath::Command::cp2

◆ radiusX

float ofPath::Command::radiusX

◆ radiusY

float ofPath::Command::radiusY

◆ to

glm::vec3 ofPath::Command::to

◆ type

Type ofPath::Command::type

The documentation for this struct was generated from the following files:
  • /Users/icq4ever/Desktop/oF0120/libs/openFrameworks/graphics/ofPath.h
  • /Users/icq4ever/Desktop/oF0120/libs/openFrameworks/graphics/ofPath.cpp