|
Blender V5.3
|
#include <DNA_gpencil_legacy_types.h>
Public Attributes | |
| struct bGPDstroke * | next = nullptr |
| struct bGPDstroke * | prev = nullptr |
| bGPDspoint * | points = nullptr |
| bGPDtriangle * | triangles = nullptr |
| int | totpoints = 0 |
| int | tot_triangles = 0 |
| short | thickness = 0 |
| eGPDstroke_Flag | flag = {} |
| short | _pad [2] = {} |
| double | inittime = 0 |
| DNA_DEPRECATED char | colorname [128] = "" |
| int | mat_nr = 0 |
| eGPDstroke_Caps | caps [2] = {} |
| float | hardness = 0 |
| float | aspect_ratio [2] = {} |
| float | fill_opacity_fac = 0 |
| float | uv_rotation = 0 |
| float | uv_translation [2] = {} |
| float | uv_scale = 0 |
| int | select_index = 0 |
| char | _pad4 [4] = {} |
| struct MDeformVert * | dvert = nullptr |
| void * | _pad3 = nullptr |
| float | vert_color_fill [4] = {} |
| struct bGPDcurve * | editcurve = nullptr |
| bGPDstroke_Runtime | runtime |
| void * | _pad5 = nullptr |
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 458 of file DNA_gpencil_legacy_types.h.
| short blender::bGPDstroke::_pad[2] = {} |
Definition at line 476 of file DNA_gpencil_legacy_types.h.
| void* blender::bGPDstroke::_pad3 = nullptr |
Definition at line 509 of file DNA_gpencil_legacy_types.h.
| char blender::bGPDstroke::_pad4[4] = {} |
Definition at line 505 of file DNA_gpencil_legacy_types.h.
| void* blender::bGPDstroke::_pad5 = nullptr |
Definition at line 518 of file DNA_gpencil_legacy_types.h.
| float blender::bGPDstroke::aspect_ratio[2] = {} |
factor xy of shape for dots gradients
Definition at line 492 of file DNA_gpencil_legacy_types.h.
Referenced by blender::annotation_stroke_newfrombuffer(), blender::blo_do_versions_280(), blender::bke::greasepencil::convert::legacy_gpencil_frame_to_grease_pencil_drawing(), and blender::view3d_ruler_to_gpencil().
| eGPDstroke_Caps blender::bGPDstroke::caps[2] = {} |
Caps mode for each stroke extreme
Definition at line 487 of file DNA_gpencil_legacy_types.h.
Referenced by blender::bke::greasepencil::convert::legacy_gpencil_frame_to_grease_pencil_drawing(), and blender::stroke_delete_tagged_points().
| DNA_DEPRECATED char blender::bGPDstroke::colorname[128] = "" |
Color name.
Definition at line 482 of file DNA_gpencil_legacy_types.h.
Referenced by blender::blo_do_versions_270(), and blender::do_versions_fix_annotations().
| struct MDeformVert* blender::bGPDstroke::dvert = nullptr |
Vertex weight data.
Definition at line 508 of file DNA_gpencil_legacy_types.h.
Referenced by blender::annotation_free_stroke(), blender::BKE_annotations_blend_read_data(), blender::BKE_annotations_free_stroke(), blender::BKE_annotations_free_stroke_weights(), blender::BKE_gpencil_stroke_duplicate(), blender::BKE_gpencil_stroke_weights_duplicate(), blender::bke::greasepencil::convert::find_used_vertex_groups(), blender::greasepencil_blend_write(), blender::stroke_delete_tagged_points(), and blender::stroke_join_islands().
Curve used to edit the stroke using Bezier handlers.
Definition at line 515 of file DNA_gpencil_legacy_types.h.
Referenced by blender::BKE_annotations_blend_read_data(), blender::BKE_annotations_free_stroke(), blender::BKE_annotations_free_stroke_editcurve(), blender::BKE_gpencil_stroke_duplicate(), blender::greasepencil_blend_write(), and blender::bke::greasepencil::convert::legacy_gpencil_frame_to_grease_pencil_drawing().
| float blender::bGPDstroke::fill_opacity_fac = 0 |
Factor of opacity for Fill color (used by opacity modifier).
Definition at line 495 of file DNA_gpencil_legacy_types.h.
Referenced by blender::annotation_stroke_newfrombuffer(), blender::blo_do_versions_280(), and blender::view3d_ruler_to_gpencil().
| eGPDstroke_Flag blender::bGPDstroke::flag = {} |
Various settings about this stroke.
Definition at line 475 of file DNA_gpencil_legacy_types.h.
Referenced by blender::annotation_can_draw_stroke(), blender::annotation_draw_strokes(), blender::annotation_stroke_newfrombuffer(), blender::draw_distortion(), blender::ED_gpencil_stroke_can_use_direct(), blender::gpencil_point_to_xy(), blender::bke::greasepencil::convert::legacy_gpencil_frame_to_grease_pencil_drawing(), blender::stroke_delete_tagged_points(), blender::stroke_join_islands(), blender::track_mask_gpencil_layer_rasterize(), and blender::view3d_ruler_to_gpencil().
| float blender::bGPDstroke::hardness = 0 |
gradient control along y for color
Definition at line 490 of file DNA_gpencil_legacy_types.h.
Referenced by blender::annotation_stroke_newfrombuffer(), blender::blo_do_versions_280(), blender::bke::greasepencil::convert::legacy_gpencil_frame_to_grease_pencil_drawing(), and blender::view3d_ruler_to_gpencil().
| double blender::bGPDstroke::inittime = 0 |
Init time of stroke.
Definition at line 479 of file DNA_gpencil_legacy_types.h.
Referenced by blender::annotation_stroke_newfrombuffer(), blender::bke::greasepencil::convert::legacy_gpencil_frame_to_grease_pencil_drawing(), and blender::stroke_delete_tagged_points().
| int blender::bGPDstroke::mat_nr = 0 |
Material index.
Definition at line 485 of file DNA_gpencil_legacy_types.h.
Referenced by blender::bke::greasepencil::convert::legacy_gpencil_frame_to_grease_pencil_drawing().
| struct bGPDstroke* blender::bGPDstroke::next = nullptr |
Definition at line 461 of file DNA_gpencil_legacy_types.h.
Referenced by blender::annotation_stroke_doeraser(), blender::annotation_stroke_eraser_dostroke(), blender::BKE_gpencil_stroke_duplicate(), blender::check_point_in_layer(), blender::draw_distortion(), blender::edbm_fit_edge_loops_to_annotation_exec(), and blender::track_mask_gpencil_layer_rasterize().
| bGPDspoint* blender::bGPDstroke::points = nullptr |
Array of data-points for stroke.
Definition at line 464 of file DNA_gpencil_legacy_types.h.
Referenced by blender::annotation_can_draw_stroke(), blender::annotation_draw_strokes(), blender::annotation_free_stroke(), blender::annotation_stroke_addpoint(), blender::annotation_stroke_arrow_allocate(), blender::annotation_stroke_eraser_dostroke(), blender::annotation_stroke_newfrombuffer(), blender::BKE_annotations_blend_read_data(), blender::BKE_annotations_free_stroke(), blender::BKE_gpencil_stroke_duplicate(), blender::blo_do_versions_270(), blender::blo_do_versions_280(), blender::check_point_in_stroke(), blender::draw_distortion(), blender::bke::greasepencil::convert::get_legacy_layer_to_stroke_matrix(), blender::greasepencil_blend_write(), blender::greasepencil_copy_data(), blender::bke::greasepencil::convert::legacy_gpencil_frame_to_grease_pencil_drawing(), blender::stroke_delete_tagged_points(), blender::stroke_fill_triangulate(), blender::stroke_join_islands(), blender::stroke_uv_update(), blender::track_mask_gpencil_layer_rasterize(), blender::view3d_ruler_from_gpencil(), and blender::view3d_ruler_to_gpencil().
| struct bGPDstroke * blender::bGPDstroke::prev = nullptr |
Definition at line 461 of file DNA_gpencil_legacy_types.h.
Referenced by blender::BKE_gpencil_stroke_duplicate().
| bGPDstroke_Runtime blender::bGPDstroke::runtime |
Definition at line 517 of file DNA_gpencil_legacy_types.h.
| int blender::bGPDstroke::select_index = 0 |
Stroke selection index.
Definition at line 504 of file DNA_gpencil_legacy_types.h.
| short blender::bGPDstroke::thickness = 0 |
Thickness of stroke.
Definition at line 473 of file DNA_gpencil_legacy_types.h.
Referenced by blender::annotation_stroke_newfrombuffer(), blender::blo_do_versions_270(), blender::bke::greasepencil::convert::legacy_gpencil_frame_to_grease_pencil_drawing(), and blender::view3d_ruler_to_gpencil().
| int blender::bGPDstroke::tot_triangles = 0 |
Number of triangles in array.
Definition at line 470 of file DNA_gpencil_legacy_types.h.
Referenced by blender::annotation_stroke_addpoint(), blender::annotation_stroke_newfrombuffer(), blender::BKE_annotation_stroke_geometry_update(), blender::BKE_annotations_blend_read_data(), blender::greasepencil_blend_write(), and blender::stroke_fill_triangulate().
| int blender::bGPDstroke::totpoints = 0 |
Number of data-points in array.
Definition at line 468 of file DNA_gpencil_legacy_types.h.
Referenced by blender::annotation_can_draw_stroke(), blender::annotation_draw_strokes(), blender::annotation_stroke_addpoint(), blender::annotation_stroke_arrow_allocate(), blender::annotation_stroke_eraser_dostroke(), blender::annotation_stroke_newfrombuffer(), blender::BKE_annotation_stroke_geometry_update(), blender::BKE_annotations_blend_read_data(), blender::BKE_annotations_free_stroke_weights(), blender::BKE_gpencil_stroke_weights_duplicate(), blender::blo_do_versions_270(), blender::blo_do_versions_280(), blender::check_point_in_stroke(), blender::draw_distortion(), blender::bke::greasepencil::convert::find_used_vertex_groups(), blender::bke::greasepencil::convert::get_legacy_layer_to_stroke_matrix(), blender::gpencil_calc_stroke_fill_uv(), blender::greasepencil_blend_write(), blender::greasepencil_copy_data(), blender::bke::greasepencil::convert::legacy_gpencil_frame_to_grease_pencil_drawing(), blender::stroke_delete_tagged_points(), blender::stroke_fill_triangulate(), blender::stroke_join_islands(), blender::stroke_uv_update(), blender::track_mask_gpencil_layer_rasterize(), blender::view3d_ruler_from_gpencil(), and blender::view3d_ruler_to_gpencil().
| bGPDtriangle* blender::bGPDstroke::triangles = nullptr |
Tessellated triangles for GP Fill.
Definition at line 466 of file DNA_gpencil_legacy_types.h.
Referenced by blender::annotation_free_stroke(), blender::BKE_annotation_stroke_geometry_update(), blender::BKE_annotations_blend_read_data(), blender::BKE_annotations_free_stroke(), blender::BKE_gpencil_stroke_duplicate(), blender::greasepencil_blend_write(), and blender::stroke_fill_triangulate().
| float blender::bGPDstroke::uv_rotation = 0 |
UV rotation
Definition at line 498 of file DNA_gpencil_legacy_types.h.
Referenced by blender::bke::greasepencil::convert::get_legacy_texture_matrix(), and blender::gpencil_calc_stroke_fill_uv().
| float blender::bGPDstroke::uv_scale = 0 |
Definition at line 501 of file DNA_gpencil_legacy_types.h.
Referenced by blender::annotation_stroke_newfrombuffer(), blender::bke::greasepencil::convert::get_legacy_texture_matrix(), blender::gpencil_calc_stroke_fill_uv(), and blender::view3d_ruler_to_gpencil().
| float blender::bGPDstroke::uv_translation[2] = {} |
UV translation (X and Y axis)
Definition at line 500 of file DNA_gpencil_legacy_types.h.
Referenced by blender::bke::greasepencil::convert::get_legacy_texture_matrix(), and blender::gpencil_calc_stroke_fill_uv().
| float blender::bGPDstroke::vert_color_fill[4] = {} |
Vertex Color for Fill (one for all stroke, A=mix factor).
Definition at line 512 of file DNA_gpencil_legacy_types.h.
Referenced by blender::blo_do_versions_280(), and blender::bke::greasepencil::convert::legacy_gpencil_frame_to_grease_pencil_drawing().