|
Blender V4.3
|
#include <ED_gpencil_legacy.hh>
Public Attributes | |
| float | m_xy [2] |
| float | pressure |
| float | strength |
| float | time |
| float | uv_fac |
| float | uv_rot |
| float | rnd [3] |
| bool | rnd_dirty |
| float | vert_color [4] |
Temporary 'Stroke Point' data (2D / screen-space)
Used as part of the 'stroke cache' used during drawing of new strokes
Definition at line 52 of file ED_gpencil_legacy.hh.
| float tGPspoint::m_xy[2] |
Coordinates x and y of cursor (in relative to area).
Definition at line 54 of file ED_gpencil_legacy.hh.
Referenced by annotation_draw_stabilizer(), annotation_draw_stroke_buffer(), annotation_smooth_buffer(), annotation_stroke_addpoint(), annotation_stroke_arrow_init_point(), annotation_stroke_newfrombuffer(), and gpencil_stroke_convertcoords().
| float tGPspoint::pressure |
Pressure of tablet at this point.
Definition at line 56 of file ED_gpencil_legacy.hh.
Referenced by annotation_draw_stroke_buffer(), annotation_stroke_addpoint(), annotation_stroke_newfrombuffer(), and ED_gpencil_tpoint_to_point().
| float tGPspoint::rnd[3] |
Random value.
Definition at line 66 of file ED_gpencil_legacy.hh.
| bool tGPspoint::rnd_dirty |
Random flag.
Definition at line 68 of file ED_gpencil_legacy.hh.
| float tGPspoint::strength |
Pressure of tablet at this point for alpha factor.
Definition at line 58 of file ED_gpencil_legacy.hh.
Referenced by annotation_stroke_addpoint(), annotation_stroke_newfrombuffer(), and ED_gpencil_tpoint_to_point().
| float tGPspoint::time |
Time relative to stroke start (used when converting to path & in build modifier).
Definition at line 60 of file ED_gpencil_legacy.hh.
Referenced by annotation_stroke_addpoint(), and annotation_stroke_newfrombuffer().
| float tGPspoint::uv_fac |
Factor of uv along the stroke.
Definition at line 62 of file ED_gpencil_legacy.hh.
Referenced by ED_gpencil_tpoint_to_point().
| float tGPspoint::uv_rot |
UV rotation for dot mode.
Definition at line 64 of file ED_gpencil_legacy.hh.
Referenced by ED_gpencil_tpoint_to_point().
| float tGPspoint::vert_color[4] |
Point vertex color.
Definition at line 70 of file ED_gpencil_legacy.hh.