|
Blender V5.3
|
#include <DNA_gpencil_legacy_types.h>
Public Attributes | |
| float | x = 0 |
| float | y = 0 |
| float | z = 0 |
| float | pressure = 0 |
| float | strength = 0 |
| float | time = 0 |
| eGPDspoint_Flag | flag = {} |
| float | uv_fac = 0 |
| float | uv_rot = 0 |
| 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 308 of file DNA_gpencil_legacy_types.h.
| char blender::bGPDspoint::_pad2[4] = {} |
Definition at line 330 of file DNA_gpencil_legacy_types.h.
| eGPDspoint_Flag blender::bGPDspoint::flag = {} |
Additional options.
Definition at line 318 of file DNA_gpencil_legacy_types.h.
Referenced by blender::annotation_stroke_eraser_dostroke(), blender::stroke_delete_tagged_points(), and blender::stroke_join_islands().
| float blender::bGPDspoint::pressure = 0 |
Pressure of input device (from 0 to 1) at this point.
Definition at line 312 of file DNA_gpencil_legacy_types.h.
Referenced by blender::annotation_draw_stroke_2d(), blender::annotation_draw_stroke_3d(), blender::annotation_draw_stroke_point(), blender::annotation_stroke_addpoint(), blender::annotation_stroke_arrow_init_point_default(), blender::annotation_stroke_newfrombuffer(), blender::stroke_join_islands(), and blender::view3d_ruler_to_gpencil().
| float blender::bGPDspoint::strength = 0 |
Color strength (used for alpha factor).
Definition at line 314 of file DNA_gpencil_legacy_types.h.
Referenced by blender::annotation_stroke_addpoint(), blender::annotation_stroke_arrow_init_point_default(), blender::annotation_stroke_newfrombuffer(), blender::blo_do_versions_270(), blender::stroke_join_islands(), and blender::view3d_ruler_to_gpencil().
| float blender::bGPDspoint::time = 0 |
Seconds since start of stroke.
Definition at line 316 of file DNA_gpencil_legacy_types.h.
Referenced by blender::annotation_stroke_addpoint(), blender::annotation_stroke_arrow_init_point_default(), blender::annotation_stroke_newfrombuffer(), blender::stroke_delete_tagged_points(), and blender::stroke_join_islands().
| float blender::bGPDspoint::uv_fac = 0 |
Factor of uv along the stroke.
Definition at line 321 of file DNA_gpencil_legacy_types.h.
Referenced by blender::stroke_uv_update().
| float blender::bGPDspoint::uv_fill[2] = {} |
UV for fill mode
Definition at line 325 of file DNA_gpencil_legacy_types.h.
Referenced by blender::stroke_fill_triangulate().
| float blender::bGPDspoint::uv_rot = 0 |
UV rotation for dot mode.
Definition at line 323 of file DNA_gpencil_legacy_types.h.
| float blender::bGPDspoint::vert_color[4] = {} |
Vertex Color RGBA (A=mix factor).
Definition at line 328 of file DNA_gpencil_legacy_types.h.
Referenced by blender::blo_do_versions_280(), and blender::stroke_join_islands().
| float blender::bGPDspoint::x = 0 |
Co-ordinates of point (usually 2d, but can be 3d as well).
Definition at line 310 of file DNA_gpencil_legacy_types.h.
Referenced by blender::annotation_arrow_create(), blender::annotation_draw_stroke_2d(), blender::annotation_draw_stroke_3d(), blender::annotation_draw_stroke_point(), blender::annotation_stroke_addpoint(), blender::annotation_stroke_arrow_init_conv_point(), blender::annotation_stroke_arrow_init_point(), blender::annotation_stroke_eraser_is_occluded(), blender::annotation_stroke_newfrombuffer(), blender::draw_distortion(), blender::edbm_fit_edge_loops_to_annotation_exec(), blender::bke::greasepencil::convert::get_legacy_layer_to_stroke_matrix(), blender::gpencil_point_to_xy(), blender::greasepencil_copy_data(), blender::stroke_2d_flat(), blender::stroke_join_islands(), blender::track_mask_gpencil_layer_rasterize(), blender::view3d_ruler_from_gpencil(), and blender::view3d_ruler_to_gpencil().
| float blender::bGPDspoint::y = 0 |
Definition at line 310 of file DNA_gpencil_legacy_types.h.
Referenced by blender::check_point_in_stroke(), blender::draw_distortion(), blender::edbm_fit_edge_loops_to_annotation_exec(), blender::bke::greasepencil::convert::get_legacy_layer_to_stroke_matrix(), blender::gpencil_point_to_xy(), and blender::track_mask_gpencil_layer_rasterize().
| float blender::bGPDspoint::z = 0 |
Definition at line 310 of file DNA_gpencil_legacy_types.h.
Referenced by blender::edbm_fit_edge_loops_to_annotation_exec(), and blender::bke::greasepencil::convert::get_legacy_layer_to_stroke_matrix().