|
Blender V5.0
|
#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 | 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 230 of file DNA_gpencil_legacy_types.h.
| short bGPDstroke::_pad[2] |
Definition at line 247 of file DNA_gpencil_legacy_types.h.
| void* bGPDstroke::_pad3 |
Definition at line 280 of file DNA_gpencil_legacy_types.h.
| char bGPDstroke::_pad4[4] |
Definition at line 276 of file DNA_gpencil_legacy_types.h.
| void* bGPDstroke::_pad5 |
Definition at line 289 of file DNA_gpencil_legacy_types.h.
| float bGPDstroke::aspect_ratio[2] |
factor xy of shape for dots gradients
Definition at line 263 of file DNA_gpencil_legacy_types.h.
Referenced by annotation_stroke_newfrombuffer(), and view3d_ruler_to_gpencil().
| short bGPDstroke::caps[2] |
Caps mode for each stroke extreme
Definition at line 258 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 253 of file DNA_gpencil_legacy_types.h.
| struct MDeformVert* bGPDstroke::dvert |
Vertex weight data.
Definition at line 279 of file DNA_gpencil_legacy_types.h.
Referenced by annotation_free_stroke(), BKE_gpencil_free_stroke(), BKE_gpencil_free_stroke_weights(), BKE_gpencil_stroke_delete_tagged_points(), BKE_gpencil_stroke_duplicate(), BKE_gpencil_stroke_weights_duplicate(), and gpencil_stroke_join_islands().
| struct bGPDcurve* bGPDstroke::editcurve |
Curve used to edit the stroke using Bezier handlers.
Definition at line 286 of file DNA_gpencil_legacy_types.h.
Referenced by BKE_gpencil_free_stroke(), BKE_gpencil_free_stroke_editcurve(), and BKE_gpencil_stroke_duplicate().
| float bGPDstroke::fill_opacity_fac |
Factor of opacity for Fill color (used by opacity modifier).
Definition at line 266 of file DNA_gpencil_legacy_types.h.
Referenced by annotation_stroke_newfrombuffer(), and view3d_ruler_to_gpencil().
| short bGPDstroke::flag |
Various settings about this stroke.
Definition at line 247 of file DNA_gpencil_legacy_types.h.
Referenced by annotation_can_draw_stroke(), annotation_stroke_newfrombuffer(), BKE_gpencil_stroke_delete_tagged_points(), draw_distortion(), ED_gpencil_stroke_can_use_direct(), gpencil_point_to_xy(), gpencil_stroke_join_islands(), track_mask_gpencil_layer_rasterize(), and view3d_ruler_to_gpencil().
| float bGPDstroke::hardness |
gradient control along y for color
Definition at line 261 of file DNA_gpencil_legacy_types.h.
Referenced by annotation_stroke_newfrombuffer(), and view3d_ruler_to_gpencil().
| double bGPDstroke::inittime |
Init time of stroke.
Definition at line 250 of file DNA_gpencil_legacy_types.h.
Referenced by annotation_stroke_newfrombuffer(), and BKE_gpencil_stroke_delete_tagged_points().
| int bGPDstroke::mat_nr |
Material index.
Definition at line 256 of file DNA_gpencil_legacy_types.h.
| struct bGPDstroke* bGPDstroke::next |
Definition at line 233 of file DNA_gpencil_legacy_types.h.
Referenced by annotation_stroke_doeraser(), annotation_stroke_eraser_dostroke(), BKE_gpencil_stroke_duplicate(), check_point_in_layer(), draw_distortion(), and track_mask_gpencil_layer_rasterize().
| bGPDspoint* bGPDstroke::points |
Array of data-points for stroke.
Definition at line 236 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_free_stroke(), BKE_gpencil_stroke_delete_tagged_points(), BKE_gpencil_stroke_duplicate(), BKE_gpencil_stroke_fill_triangulate(), BKE_gpencil_stroke_uv_update(), check_point_in_stroke(), draw_distortion(), blender::bke::greasepencil::convert::get_legacy_layer_to_stroke_matrix(), gpencil_stroke_join_islands(), track_mask_gpencil_layer_rasterize(), and view3d_ruler_to_gpencil().
| struct bGPDstroke * bGPDstroke::prev |
Definition at line 233 of file DNA_gpencil_legacy_types.h.
Referenced by BKE_gpencil_stroke_duplicate().
| bGPDstroke_Runtime bGPDstroke::runtime |
Definition at line 288 of file DNA_gpencil_legacy_types.h.
| int bGPDstroke::select_index |
Stroke selection index.
Definition at line 275 of file DNA_gpencil_legacy_types.h.
| short bGPDstroke::thickness |
Thickness of stroke.
Definition at line 245 of file DNA_gpencil_legacy_types.h.
Referenced by annotation_stroke_newfrombuffer(), and view3d_ruler_to_gpencil().
| int bGPDstroke::tot_triangles |
Number of triangles in array.
Definition at line 242 of file DNA_gpencil_legacy_types.h.
Referenced by annotation_stroke_addpoint(), annotation_stroke_newfrombuffer(), BKE_gpencil_stroke_fill_triangulate(), and BKE_gpencil_stroke_geometry_update().
| int bGPDstroke::totpoints |
Number of data-points in array.
Definition at line 240 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_gpencil_free_stroke_weights(), BKE_gpencil_stroke_delete_tagged_points(), BKE_gpencil_stroke_fill_triangulate(), BKE_gpencil_stroke_geometry_update(), BKE_gpencil_stroke_uv_update(), BKE_gpencil_stroke_weights_duplicate(), check_point_in_stroke(), draw_distortion(), blender::bke::greasepencil::convert::get_legacy_layer_to_stroke_matrix(), gpencil_calc_stroke_fill_uv(), 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 238 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(), and BKE_gpencil_stroke_geometry_update().
| float bGPDstroke::uv_rotation |
UV rotation
Definition at line 269 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 272 of file DNA_gpencil_legacy_types.h.
Referenced by annotation_stroke_newfrombuffer(), 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 271 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 283 of file DNA_gpencil_legacy_types.h.