The StrokeGL class.
More...
#include <stroke.hpp>
◆ StrokeGL()
PIC_INLINE pic::StrokeGL::StrokeGL |
( |
int |
width, |
|
|
int |
height, |
|
|
int |
brushSize = 128 , |
|
|
float * |
color = NULL |
|
) |
| |
StrokeGL.
- Parameters
-
width | |
height | |
brushSize | |
color | |
◆ ~StrokeGL()
◆ bindCol()
void pic::StrokeGL::bindCol |
( |
float |
val | ) |
|
|
inline |
◆ initShaders()
◆ Insert2DPoint()
PIC_INLINE void pic::StrokeGL::Insert2DPoint |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
Insert2DPoint.
- Parameters
-
◆ RenderAnnotationGL()
PIC_INLINE void pic::StrokeGL::RenderAnnotationGL |
( |
| ) |
|
◆ RenderBrushGL()
PIC_INLINE void pic::StrokeGL::RenderBrushGL |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
RenderBrushGL.
- Parameters
-
◆ RenderGL()
◆ Resample()
◆ Reset()
◆ Size()
unsigned int pic::StrokeGL::Size |
( |
| ) |
|
|
inline |
◆ Straightner()
void pic::StrokeGL::Straightner |
( |
| ) |
|
|
inline |
◆ unBindCol()
void pic::StrokeGL::unBindCol |
( |
| ) |
|
|
inline |
◆ annotation
float pic::StrokeGL::annotation |
◆ annotationProgram
◆ brushProgram
◆ brushSize
int pic::StrokeGL::brushSize |
|
protected |
◆ color
float pic::StrokeGL::color[4] |
|
protected |
◆ height
int pic::StrokeGL::height |
|
protected |
◆ positions
std::vector<float> pic::StrokeGL::positions |
|
protected |
◆ quad
◆ rSize
float pic::StrokeGL::rSize |
|
protected |
◆ shape
◆ size
float pic::StrokeGL::size |
|
protected |
◆ tmpColor
float pic::StrokeGL::tmpColor[3] |
|
protected |
◆ width
The documentation for this class was generated from the following file:
- C:/Users/Francesco/Documents/GitHub/piccante/include/util/gl/stroke.hpp