|
Blender V5.0
|
#include <DNA_gpencil_legacy_types.h>
Public Attributes | |
| float | x |
| float | y |
| float | z |
| float | pressure |
| float | strength |
| float | time |
| int | flag |
| float | uv_fac |
| float | uv_rot |
| float | uv_fill [2] |
| float | vert_color [4] |
| char | _pad2 [4] |
Grease-Pencil Annotations - 'Stroke Point' -> Coordinates may either be 2d or 3d depending on settings at the time -> Coordinates of point on stroke, in proportions of window size This assumes that the bottom-left corner is (0,0)
Definition at line 35 of file DNA_gpencil_legacy_types.h.
| char bGPDspoint::_pad2[4] |
Runtime data
Definition at line 60 of file DNA_gpencil_legacy_types.h.
| int bGPDspoint::flag |
Additional options.
Definition at line 47 of file DNA_gpencil_legacy_types.h.
Referenced by annotation_stroke_eraser_dostroke(), BKE_gpencil_stroke_delete_tagged_points(), and gpencil_stroke_join_islands().
| float bGPDspoint::pressure |
Pressure of input device (from 0 to 1) at this point.
Definition at line 41 of file DNA_gpencil_legacy_types.h.
Referenced by annotation_draw_stroke_2d(), annotation_draw_stroke_3d(), annotation_draw_stroke_point(), annotation_stroke_addpoint(), annotation_stroke_arrow_init_point_default(), annotation_stroke_newfrombuffer(), gpencil_stroke_join_islands(), and view3d_ruler_to_gpencil().
| float bGPDspoint::strength |
Color strength (used for alpha factor).
Definition at line 43 of file DNA_gpencil_legacy_types.h.
Referenced by annotation_stroke_addpoint(), annotation_stroke_arrow_init_point_default(), annotation_stroke_newfrombuffer(), gpencil_stroke_join_islands(), and view3d_ruler_to_gpencil().
| float bGPDspoint::time |
Seconds since start of stroke.
Definition at line 45 of file DNA_gpencil_legacy_types.h.
Referenced by annotation_stroke_addpoint(), annotation_stroke_arrow_init_point_default(), annotation_stroke_newfrombuffer(), BKE_gpencil_stroke_delete_tagged_points(), and gpencil_stroke_join_islands().
| float bGPDspoint::uv_fac |
Factor of uv along the stroke.
Definition at line 50 of file DNA_gpencil_legacy_types.h.
Referenced by BKE_gpencil_stroke_uv_update().
| float bGPDspoint::uv_fill[2] |
UV for fill mode
Definition at line 54 of file DNA_gpencil_legacy_types.h.
Referenced by BKE_gpencil_stroke_fill_triangulate().
| float bGPDspoint::uv_rot |
UV rotation for dot mode.
Definition at line 52 of file DNA_gpencil_legacy_types.h.
| float bGPDspoint::vert_color[4] |
Vertex Color RGBA (A=mix factor).
Definition at line 57 of file DNA_gpencil_legacy_types.h.
Referenced by blo_do_versions_280(), and gpencil_stroke_join_islands().
| float bGPDspoint::x |
Co-ordinates of point (usually 2d, but can be 3d as well).
Definition at line 39 of file DNA_gpencil_legacy_types.h.
Referenced by annotation_arrow_create(), annotation_draw_stroke_2d(), annotation_draw_stroke_3d(), annotation_draw_stroke_point(), annotation_stroke_addpoint(), annotation_stroke_arrow_init_conv_point(), annotation_stroke_arrow_init_point(), annotation_stroke_eraser_is_occluded(), annotation_stroke_newfrombuffer(), BKE_gpencil_stroke_2d_flat(), draw_distortion(), blender::bke::greasepencil::convert::get_legacy_layer_to_stroke_matrix(), gpencil_point_to_xy(), gpencil_stroke_join_islands(), greasepencil_copy_data(), track_mask_gpencil_layer_rasterize(), view3d_ruler_from_gpencil(), and view3d_ruler_to_gpencil().
| float bGPDspoint::y |
Definition at line 39 of file DNA_gpencil_legacy_types.h.
Referenced by check_point_in_stroke(), draw_distortion(), blender::bke::greasepencil::convert::get_legacy_layer_to_stroke_matrix(), gpencil_point_to_xy(), and track_mask_gpencil_layer_rasterize().
| float bGPDspoint::z |
Definition at line 39 of file DNA_gpencil_legacy_types.h.
Referenced by blender::bke::greasepencil::convert::get_legacy_layer_to_stroke_matrix().