|
Blender V4.3
|
#include <DNA_gpencil_legacy_types.h>
Public Attributes | |
| struct bGPDstroke * | next |
| struct bGPDstroke * | prev |
| bGPDspoint * | points |
| bGPDtriangle * | triangles |
| int | totpoints |
| int | tot_triangles |
| short | thickness |
| short | flag |
| short | _pad [2] |
| double | inittime |
| char colorname[128] | DNA_DEPRECATED |
| int | mat_nr |
| short | caps [2] |
| float | hardness |
| float | aspect_ratio [2] |
| float | fill_opacity_fac |
| float | boundbox_min [3] |
| float | boundbox_max [3] |
| float | uv_rotation |
| float | uv_translation [2] |
| float | uv_scale |
| int | select_index |
| char | _pad4 [4] |
| struct MDeformVert * | dvert |
| void * | _pad3 |
| float | vert_color_fill [4] |
| struct bGPDcurve * | editcurve |
| bGPDstroke_Runtime | runtime |
| void * | _pad5 |
Grease-Pencil Annotations - 'Stroke' -> A stroke represents a (simplified version) of the curve drawn by the user in one 'mouse-down'->'mouse-up' operation
Definition at line 273 of file DNA_gpencil_legacy_types.h.
| short bGPDstroke::_pad[2] |
Definition at line 290 of file DNA_gpencil_legacy_types.h.
| void* bGPDstroke::_pad3 |
Definition at line 328 of file DNA_gpencil_legacy_types.h.
| char bGPDstroke::_pad4[4] |
Definition at line 324 of file DNA_gpencil_legacy_types.h.
| void* bGPDstroke::_pad5 |
Definition at line 337 of file DNA_gpencil_legacy_types.h.
| float bGPDstroke::aspect_ratio[2] |
factor xy of shape for dots gradients
Definition at line 306 of file DNA_gpencil_legacy_types.h.
Referenced by annotation_stroke_newfrombuffer(), BKE_gpencil_stroke_new(), and view3d_ruler_to_gpencil().
| float bGPDstroke::boundbox_max[3] |
Max of the bound box used to speedup painting operators.
Definition at line 314 of file DNA_gpencil_legacy_types.h.
Referenced by BKE_gpencil_stroke_boundingbox_calc(), and BKE_gpencil_stroke_editcurve_generate().
| float bGPDstroke::boundbox_min[3] |
Min of the bound box used to speedup painting operators.
Definition at line 312 of file DNA_gpencil_legacy_types.h.
Referenced by BKE_gpencil_stroke_boundingbox_calc(), and BKE_gpencil_stroke_editcurve_generate().
| short bGPDstroke::caps[2] |
Caps mode for each stroke extreme
Definition at line 301 of file DNA_gpencil_legacy_types.h.
Referenced by BKE_gpencil_stroke_delete_tagged_points().
| char colorname [128] bGPDstroke::DNA_DEPRECATED |
Color name.
Definition at line 296 of file DNA_gpencil_legacy_types.h.
| struct MDeformVert* bGPDstroke::dvert |
Vertex weight data.
Definition at line 327 of file DNA_gpencil_legacy_types.h.
Referenced by annotation_free_stroke(), BKE_armature_deform_coords_with_gpencil_stroke(), BKE_gpencil_free_stroke(), BKE_gpencil_free_stroke_weights(), BKE_gpencil_stroke_close(), BKE_gpencil_stroke_delete_tagged_points(), BKE_gpencil_stroke_duplicate(), BKE_gpencil_stroke_flip(), BKE_gpencil_stroke_join(), BKE_gpencil_stroke_new(), BKE_gpencil_stroke_trim(), BKE_gpencil_stroke_weights_duplicate(), ED_gpencil_strokes_copybuf_free(), gpencil_stroke_copy_point(), and gpencil_stroke_join_islands().
| struct bGPDcurve* bGPDstroke::editcurve |
Curve used to edit the stroke using Bezier handlers.
Definition at line 334 of file DNA_gpencil_legacy_types.h.
Referenced by BKE_gpencil_editcurve_recalculate_handles(), BKE_gpencil_editcurve_subdivide(), BKE_gpencil_free_stroke(), BKE_gpencil_free_stroke_editcurve(), BKE_gpencil_stroke_duplicate(), BKE_gpencil_stroke_new(), and recalcData_gpencil_strokes().
| float bGPDstroke::fill_opacity_fac |
Factor of opacity for Fill color (used by opacity modifier).
Definition at line 309 of file DNA_gpencil_legacy_types.h.
Referenced by annotation_stroke_newfrombuffer(), BKE_gpencil_stroke_new(), and view3d_ruler_to_gpencil().
| short bGPDstroke::flag |
Various settings about this stroke.
Definition at line 290 of file DNA_gpencil_legacy_types.h.
Referenced by annotation_can_draw_stroke(), annotation_stroke_newfrombuffer(), BKE_gpencil_editcurve_recalculate_handles(), BKE_gpencil_editcurve_stroke_sync_selection(), BKE_gpencil_editcurve_subdivide(), BKE_gpencil_stroke_close(), BKE_gpencil_stroke_delete_tagged_points(), BKE_gpencil_stroke_editcurve_generate(), BKE_gpencil_stroke_new(), BKE_gpencil_stroke_smooth_point(), BKE_gpencil_stroke_smooth_strength(), BKE_gpencil_stroke_smooth_thickness(), BKE_gpencil_stroke_smooth_uv(), draw_distortion(), ED_gpencil_stroke_can_use_direct(), gpencil_point_to_xy(), gpencil_stroke_join_islands(), recalcData_gpencil_strokes(), track_mask_gpencil_layer_rasterize(), and view3d_ruler_to_gpencil().
| float bGPDstroke::hardness |
gradient control along y for color
Definition at line 304 of file DNA_gpencil_legacy_types.h.
Referenced by annotation_stroke_newfrombuffer(), BKE_gpencil_stroke_new(), and view3d_ruler_to_gpencil().
| double bGPDstroke::inittime |
Init time of stroke.
Definition at line 293 of file DNA_gpencil_legacy_types.h.
Referenced by annotation_stroke_newfrombuffer(), BKE_gpencil_stroke_delete_tagged_points(), and BKE_gpencil_stroke_new().
| int bGPDstroke::mat_nr |
Material index.
Definition at line 299 of file DNA_gpencil_legacy_types.h.
Referenced by BKE_gpencil_stroke_new(), and ED_gpencil_stroke_material_editable().
| struct bGPDstroke* bGPDstroke::next |
Definition at line 276 of file DNA_gpencil_legacy_types.h.
Referenced by annotation_stroke_doeraser(), annotation_stroke_eraser_dostroke(), BKE_gpencil_frame_original_pointers_update(), BKE_gpencil_stroke_duplicate(), check_point_in_layer(), draw_distortion(), ED_gpencil_strokes_copybuf_free(), and track_mask_gpencil_layer_rasterize().
| bGPDspoint* bGPDstroke::points |
Array of data-points for stroke.
Definition at line 279 of file DNA_gpencil_legacy_types.h.
Referenced by annotation_can_draw_stroke(), annotation_free_stroke(), annotation_stroke_addpoint(), annotation_stroke_arrow_allocate(), annotation_stroke_eraser_dostroke(), annotation_stroke_newfrombuffer(), BKE_gpencil_editcurve_stroke_sync_selection(), BKE_gpencil_frame_original_pointers_update(), BKE_gpencil_free_stroke(), 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_delete_tagged_points(), BKE_gpencil_stroke_duplicate(), BKE_gpencil_stroke_editcurve_generate(), BKE_gpencil_stroke_fill_triangulate(), BKE_gpencil_stroke_flip(), BKE_gpencil_stroke_from_view_space(), BKE_gpencil_stroke_is_pressure_constant(), BKE_gpencil_stroke_join(), BKE_gpencil_stroke_length(), BKE_gpencil_stroke_minmax(), BKE_gpencil_stroke_new(), BKE_gpencil_stroke_normal(), BKE_gpencil_stroke_segment_length(), BKE_gpencil_stroke_set_random_color(), BKE_gpencil_stroke_smooth(), BKE_gpencil_stroke_smooth_point(), BKE_gpencil_stroke_smooth_strength(), BKE_gpencil_stroke_smooth_thickness(), BKE_gpencil_stroke_smooth_uv(), BKE_gpencil_stroke_to_view_space(), BKE_gpencil_stroke_trim(), BKE_gpencil_stroke_uv_update(), BKE_gpencil_transform(), check_point_in_stroke(), createTransGPencil_center_get(), draw_distortion(), ED_gpencil_strokes_copybuf_free(), blender::bke::greasepencil::convert::get_legacy_layer_to_stroke_matrix(), gpencil_stroke_copy_point(), gpencil_stroke_editcurve_generate_edgecases(), gpencil_stroke_join_islands(), track_mask_gpencil_layer_rasterize(), and view3d_ruler_to_gpencil().
| struct bGPDstroke * bGPDstroke::prev |
Definition at line 276 of file DNA_gpencil_legacy_types.h.
Referenced by BKE_gpencil_stroke_duplicate().
| bGPDstroke_Runtime bGPDstroke::runtime |
Definition at line 336 of file DNA_gpencil_legacy_types.h.
Referenced by BKE_gpencil_frame_original_pointers_update(), ElementResize(), ElementRotation_ex(), transdata_elem_bend(), transdata_elem_shear(), and transdata_elem_translate().
| int bGPDstroke::select_index |
Stroke selection index.
Definition at line 323 of file DNA_gpencil_legacy_types.h.
| short bGPDstroke::thickness |
Thickness of stroke.
Definition at line 288 of file DNA_gpencil_legacy_types.h.
Referenced by annotation_stroke_newfrombuffer(), BKE_gpencil_stroke_join(), BKE_gpencil_stroke_new(), and view3d_ruler_to_gpencil().
| int bGPDstroke::tot_triangles |
Number of triangles in array.
Definition at line 285 of file DNA_gpencil_legacy_types.h.
Referenced by annotation_stroke_addpoint(), annotation_stroke_newfrombuffer(), BKE_gpencil_stroke_fill_triangulate(), BKE_gpencil_stroke_geometry_update(), and BKE_gpencil_stroke_new().
| int bGPDstroke::totpoints |
Number of data-points in array.
Definition at line 283 of file DNA_gpencil_legacy_types.h.
Referenced by annotation_can_draw_stroke(), annotation_stroke_addpoint(), annotation_stroke_arrow_allocate(), annotation_stroke_eraser_dostroke(), annotation_stroke_newfrombuffer(), BKE_armature_deform_coords_with_gpencil_stroke(), BKE_gpencil_frame_original_pointers_update(), BKE_gpencil_free_stroke_weights(), 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_delete_tagged_points(), BKE_gpencil_stroke_editcurve_generate(), BKE_gpencil_stroke_fill_triangulate(), BKE_gpencil_stroke_flip(), BKE_gpencil_stroke_from_view_space(), BKE_gpencil_stroke_geometry_update(), BKE_gpencil_stroke_is_pressure_constant(), BKE_gpencil_stroke_join(), BKE_gpencil_stroke_length(), BKE_gpencil_stroke_minmax(), BKE_gpencil_stroke_new(), BKE_gpencil_stroke_normal(), BKE_gpencil_stroke_point_count(), BKE_gpencil_stroke_segment_length(), BKE_gpencil_stroke_set_random_color(), BKE_gpencil_stroke_smooth(), BKE_gpencil_stroke_smooth_point(), BKE_gpencil_stroke_smooth_strength(), BKE_gpencil_stroke_smooth_thickness(), BKE_gpencil_stroke_smooth_uv(), BKE_gpencil_stroke_to_view_space(), BKE_gpencil_stroke_trim(), BKE_gpencil_stroke_uv_update(), BKE_gpencil_stroke_weights_duplicate(), BKE_gpencil_transform(), check_point_in_stroke(), createTransGPencil_center_get(), draw_distortion(), blender::bke::greasepencil::convert::get_legacy_layer_to_stroke_matrix(), gpencil_calc_stroke_fill_uv(), gpencil_stroke_copy_point(), gpencil_stroke_editcurve_generate_edgecases(), gpencil_stroke_join_islands(), track_mask_gpencil_layer_rasterize(), and view3d_ruler_to_gpencil().
| bGPDtriangle* bGPDstroke::triangles |
Tessellated triangles for GP Fill.
Definition at line 281 of file DNA_gpencil_legacy_types.h.
Referenced by annotation_free_stroke(), BKE_gpencil_free_stroke(), BKE_gpencil_stroke_duplicate(), BKE_gpencil_stroke_fill_triangulate(), BKE_gpencil_stroke_geometry_update(), BKE_gpencil_stroke_new(), and ED_gpencil_strokes_copybuf_free().
| float bGPDstroke::uv_rotation |
UV rotation
Definition at line 317 of file DNA_gpencil_legacy_types.h.
Referenced by blender::bke::greasepencil::convert::get_legacy_texture_matrix(), and gpencil_calc_stroke_fill_uv().
| float bGPDstroke::uv_scale |
Definition at line 320 of file DNA_gpencil_legacy_types.h.
Referenced by annotation_stroke_newfrombuffer(), BKE_gpencil_stroke_new(), blender::bke::greasepencil::convert::get_legacy_texture_matrix(), gpencil_calc_stroke_fill_uv(), and view3d_ruler_to_gpencil().
| float bGPDstroke::uv_translation[2] |
UV translation (X and Y axis)
Definition at line 319 of file DNA_gpencil_legacy_types.h.
Referenced by blender::bke::greasepencil::convert::get_legacy_texture_matrix(), and gpencil_calc_stroke_fill_uv().
| float bGPDstroke::vert_color_fill[4] |
Vertex Color for Fill (one for all stroke, A=mix factor).
Definition at line 331 of file DNA_gpencil_legacy_types.h.