|
Blender V4.3
|
#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] |
| bGPDspoint_Runtime | runtime |
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 72 of file DNA_gpencil_legacy_types.h.
| char bGPDspoint::_pad2[4] |
Runtime data
Definition at line 97 of file DNA_gpencil_legacy_types.h.
| int bGPDspoint::flag |
Additional options.
Definition at line 84 of file DNA_gpencil_legacy_types.h.
Referenced by annotation_stroke_eraser_dostroke(), BKE_gpencil_editcurve_stroke_sync_selection(), BKE_gpencil_stroke_close(), BKE_gpencil_stroke_delete_tagged_points(), createTransGPencil_center_get(), createTransGPencil_strokes(), gpencil_stroke_copy_point(), and gpencil_stroke_join_islands().
| float bGPDspoint::pressure |
Pressure of input device (from 0 to 1) at this point.
Definition at line 78 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(), BKE_gpencil_point_coords_apply(), BKE_gpencil_point_coords_apply_with_mat4(), BKE_gpencil_point_coords_get(), BKE_gpencil_stroke_average_pressure_get(), BKE_gpencil_stroke_close(), BKE_gpencil_stroke_editcurve_generate(), BKE_gpencil_stroke_is_pressure_constant(), BKE_gpencil_stroke_join(), BKE_gpencil_stroke_smooth_thickness(), BKE_gpencil_transform(), createTransGPencil_strokes(), ED_gpencil_tpoint_to_point(), gpencil_stroke_copy_point(), gpencil_stroke_editcurve_generate_edgecases(), gpencil_stroke_join_islands(), and view3d_ruler_to_gpencil().
| bGPDspoint_Runtime bGPDspoint::runtime |
Definition at line 99 of file DNA_gpencil_legacy_types.h.
Referenced by BKE_gpencil_frame_original_pointers_update(), and createTransGPencil_strokes().
| float bGPDspoint::strength |
Color strength (used for alpha factor).
Definition at line 80 of file DNA_gpencil_legacy_types.h.
Referenced by annotation_stroke_addpoint(), annotation_stroke_arrow_init_point_default(), annotation_stroke_newfrombuffer(), BKE_gpencil_stroke_close(), BKE_gpencil_stroke_editcurve_generate(), BKE_gpencil_stroke_join(), BKE_gpencil_stroke_smooth_strength(), createTransGPencil_strokes(), ED_gpencil_tpoint_to_point(), gpencil_stroke_copy_point(), gpencil_stroke_editcurve_generate_edgecases(), gpencil_stroke_join_islands(), and view3d_ruler_to_gpencil().
| float bGPDspoint::time |
Seconds since start of stroke.
Definition at line 82 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(), gpencil_stroke_copy_point(), and gpencil_stroke_join_islands().
| float bGPDspoint::uv_fac |
Factor of uv along the stroke.
Definition at line 87 of file DNA_gpencil_legacy_types.h.
Referenced by BKE_gpencil_stroke_smooth_uv(), BKE_gpencil_stroke_uv_update(), and ED_gpencil_tpoint_to_point().
| float bGPDspoint::uv_fill[2] |
UV for fill mode
Definition at line 91 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 89 of file DNA_gpencil_legacy_types.h.
Referenced by BKE_gpencil_stroke_smooth_uv(), and ED_gpencil_tpoint_to_point().
| float bGPDspoint::vert_color[4] |
Vertex Color RGBA (A=mix factor).
Definition at line 94 of file DNA_gpencil_legacy_types.h.
Referenced by BKE_gpencil_stroke_close(), BKE_gpencil_stroke_editcurve_generate(), BKE_gpencil_stroke_set_random_color(), blo_do_versions_280(), ED_gpencil_tpoint_to_point(), gpencil_stroke_copy_point(), gpencil_stroke_editcurve_generate_edgecases(), and gpencil_stroke_join_islands().
| float bGPDspoint::x |
Co-ordinates of point (usually 2d, but can be 3d as well).
Definition at line 76 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_point_coords_apply(), BKE_gpencil_point_coords_apply_with_mat4(), BKE_gpencil_point_coords_get(), BKE_gpencil_stroke_2d_flat(), BKE_gpencil_stroke_2d_flat_ref(), BKE_gpencil_stroke_close(), BKE_gpencil_stroke_editcurve_generate(), BKE_gpencil_stroke_from_view_space(), BKE_gpencil_stroke_join(), BKE_gpencil_stroke_length(), BKE_gpencil_stroke_normal(), BKE_gpencil_stroke_segment_length(), BKE_gpencil_stroke_set_random_color(), BKE_gpencil_stroke_smooth_point(), BKE_gpencil_stroke_to_view_space(), BKE_gpencil_stroke_trim(), BKE_gpencil_transform(), BKE_gpencil_update_layer_transforms(), createTransGPencil_center_get(), createTransGPencil_strokes(), draw_distortion(), ED_gpencil_tpoint_to_point(), blender::bke::greasepencil::convert::get_legacy_layer_to_stroke_matrix(), gpencil_point_to_xy(), gpencil_stroke_copy_point(), gpencil_stroke_editcurve_generate_edgecases(), gpencil_stroke_join_islands(), greasepencil_copy_data(), blender::ed::object::object_origin_set_exec(), track_mask_gpencil_layer_rasterize(), view3d_ruler_from_gpencil(), and view3d_ruler_to_gpencil().
| float bGPDspoint::y |
| float bGPDspoint::z |
Definition at line 76 of file DNA_gpencil_legacy_types.h.
Referenced by BKE_gpencil_stroke_set_random_color(), blender::bke::greasepencil::convert::get_legacy_layer_to_stroke_matrix(), and gpencil_stroke_copy_point().