Blender
V3.3
|
#include <DNA_gpencil_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 |
Definition at line 65 of file DNA_gpencil_types.h.
char bGPDspoint::_pad2[4] |
Runtime data
Definition at line 90 of file DNA_gpencil_types.h.
int bGPDspoint::flag |
Additional options.
Definition at line 77 of file DNA_gpencil_types.h.
Referenced by annotation_stroke_eraser_dostroke(), BKE_gpencil_dissolve_points(), BKE_gpencil_editcurve_stroke_sync_selection(), BKE_gpencil_from_image(), BKE_gpencil_stroke_close(), BKE_gpencil_stroke_delete_tagged_points(), BKE_gpencil_stroke_editcurve_sync_selection(), BKE_gpencil_stroke_merge_distance(), BKE_gpencil_stroke_perimeter_from_view(), BKE_gpencil_stroke_sample(), BKE_gpencil_stroke_select_check(), BKE_gpencil_stroke_subdivide(), BKE_gpencil_stroke_sync_selection(), BKE_gpencil_stroke_uniform_subdivide(), BKE_gpencil_stroke_update_geometry_from_editcurve(), createTransGPencil_center_get(), createTransGPencil_strokes(), deselect_all_selected(), ED_gpencil_select_stroke_segment(), ED_gpencil_select_toggle_all(), ED_gpencil_stroke_join_and_trim(), ED_gpencil_stroke_reproject(), ED_gpencil_vgroup_assign(), ED_gpencil_vgroup_deselect(), ED_gpencil_vgroup_remove(), ED_gpencil_vgroup_select(), ED_transform_calc_gizmo_stats(), gpencil_add_move_points(), gpencil_calc_points_factor(), gpencil_copy_move_point(), gpencil_copy_points(), gpencil_count_subdivision_cuts(), gpencil_cutter_dissolve(), gpencil_cutter_lasso_select(), gpencil_dissolve_selected_stroke_points(), gpencil_duplicate_exec(), gpencil_duplicate_points(), gpencil_generic_stroke_select(), gpencil_get_elements_len(), gpencil_insert_point(), gpencil_insert_points_to_stroke(), gpencil_material_select_exec(), gpencil_point_edit_flag(), gpencil_primitive_update_strokes(), gpencil_reveal_select_frame(), gpencil_select_alternate_exec(), gpencil_select_exec(), gpencil_select_first_exec(), gpencil_select_last_exec(), gpencil_select_less_exec(), gpencil_select_linked_exec(), gpencil_select_more_exec(), gpencil_select_random_exec(), gpencil_select_same_layer(), gpencil_select_same_material(), gpencil_select_vertex_color_exec(), gpencil_selected_hue_table(), gpencil_selectmode_toggle_exec(), gpencil_snap_to_cursor(), gpencil_snap_to_grid(), gpencil_stroke_copy_point(), gpencil_stroke_eraser_dostroke(), gpencil_stroke_eraser_is_occluded(), gpencil_stroke_join_islands(), gpencil_stroke_points_centroid(), gpencil_stroke_separate_exec(), gpencil_stroke_soft_refine(), gpencil_stroke_split_exec(), gpencil_stroke_subdivide(), gpencil_stroke_unselect(), gpencil_strokes_paste_exec(), gpencil_subdivide_stroke(), gpencil_vertexpaint_brightness_contrast_exec(), gpencil_vertexpaint_hsv_exec(), gpencil_vertexpaint_invert_exec(), gpencil_vertexpaint_levels_exec(), gpencil_vertexpaint_select_stroke(), gpencil_vertexpaint_set_exec(), overlay_gpencil_draw_stroke_color_name(), select_all_stroke_points(), stroke_march_count(), stroke_march_next_point(), and stroke_march_next_point_no_interp().
float bGPDspoint::pressure |
Pressure of input device (from 0 to 1) at this point.
Definition at line 71 of file DNA_gpencil_types.h.
Referenced by add_point(), add_stroke(), add_stroke_cyclic(), add_stroke_simple(), annotation_draw_stroke_2d(), annotation_draw_stroke_3d(), annotation_draw_stroke_point(), annotation_stroke_addpoint(), annotation_stroke_arrow_init_point_default(), annotation_stroke_newfrombuffer(), apply_layer_settings(), BKE_gpencil_convert_mesh(), BKE_gpencil_from_image(), 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_perimeter_from_view(), BKE_gpencil_stroke_sample(), BKE_gpencil_stroke_smooth_thickness(), BKE_gpencil_stroke_subdivide(), BKE_gpencil_stroke_uniform_subdivide(), BKE_gpencil_stroke_update_geometry_from_editcurve(), BKE_gpencil_transform(), createTransGPencil_strokes(), deformStroke(), duplicateStroke(), ED_gpencil_stroke_init_data(), ED_gpencil_tpoint_to_point(), fade_stroke_points(), gpencil_add_new_points(), gpencil_brush_randomize_apply(), gpencil_brush_thickness_apply(), gpencil_buffer_add_point(), gpencil_calc_points_factor(), gpencil_convert_spline(), gpencil_copy_move_point(), gpencil_copy_points(), gpencil_create_extensions(), gpencil_draw_stroke_3d(), gpencil_draw_stroke_volumetric_3d(), gpencil_frame_is_equal(), gpencil_generate_edgeloops(), gpencil_insert_points_to_stroke(), gpencil_interpolate_update_points(), gpencil_primitive_update_strokes(), gpencil_stroke_copy_point(), gpencil_stroke_editcurve_generate_edgecases(), gpencil_stroke_eraser_dostroke(), gpencil_stroke_from_buffer(), gpencil_stroke_join_islands(), gpencil_stroke_newfrombuffer(), gpencil_stroke_normalize_exec(), gpencil_stroke_perimeter_ex(), gpencil_stroke_subdivide(), gpencil_stroke_to_bezier(), gpencil_stroke_to_path(), gpencil_subdivide_stroke(), new_sample_point_from_gp_point(), stroke_dash(), stroke_march_next_point(), and view3d_ruler_to_gpencil().
bGPDspoint_Runtime bGPDspoint::runtime |
Definition at line 92 of file DNA_gpencil_types.h.
Referenced by add_stroke_cyclic(), add_stroke_simple(), BKE_gpencil_frame_original_pointers_update(), BKE_gpencil_stroke_subdivide(), createTransGPencil_strokes(), gpencil_bake_grease_pencil_animation_exec(), gpencil_generic_stroke_select(), gpencil_point_edit_flag(), gpencil_sculpt_rotation_eval_get(), gpencil_select_exec(), gpencil_stroke_do_circle_sel(), gpencil_update_on_write_stroke_cb(), gpencil_vertexpaint_select_stroke(), gpencil_weightpaint_select_stroke(), and stroke_dash().
float bGPDspoint::strength |
Color strength (used for alpha factor).
Definition at line 73 of file DNA_gpencil_types.h.
Referenced by add_point(), add_stroke(), add_stroke_cyclic(), add_stroke_simple(), annotation_stroke_addpoint(), annotation_stroke_arrow_init_point_default(), annotation_stroke_newfrombuffer(), apply_layer_settings(), BKE_gpencil_convert_mesh(), BKE_gpencil_from_image(), BKE_gpencil_stroke_close(), BKE_gpencil_stroke_editcurve_generate(), BKE_gpencil_stroke_join(), BKE_gpencil_stroke_perimeter_from_view(), BKE_gpencil_stroke_sample(), BKE_gpencil_stroke_smooth_strength(), BKE_gpencil_stroke_subdivide(), BKE_gpencil_stroke_uniform_subdivide(), BKE_gpencil_stroke_update_geometry_from_editcurve(), createTransGPencil_strokes(), deformStroke(), duplicateStroke(), ED_gpencil_stroke_init_data(), ED_gpencil_tpoint_to_point(), fade_stroke_points(), gpencil_add_new_points(), gpencil_brush_randomize_apply(), gpencil_brush_strength_apply(), gpencil_buffer_add_point(), gpencil_calc_points_factor(), gpencil_convert_spline(), gpencil_copy_move_point(), gpencil_copy_points(), gpencil_create_extensions(), gpencil_draw_basic_stroke(), gpencil_frame_is_equal(), gpencil_generate_edgeloops(), gpencil_insert_points_to_stroke(), gpencil_interpolate_update_points(), gpencil_primitive_update_strokes(), gpencil_set_point_varying_color(), gpencil_stroke_copy_point(), gpencil_stroke_editcurve_generate_edgecases(), gpencil_stroke_eraser_dostroke(), gpencil_stroke_from_buffer(), gpencil_stroke_join_islands(), gpencil_stroke_newfrombuffer(), gpencil_stroke_normalize_exec(), gpencil_stroke_subdivide(), gpencil_subdivide_stroke(), new_sample_point_from_gp_point(), stroke_dash(), stroke_march_next_point(), and view3d_ruler_to_gpencil().
float bGPDspoint::time |
Seconds since start of stroke.
Definition at line 75 of file DNA_gpencil_types.h.
Referenced by annotation_stroke_addpoint(), annotation_stroke_arrow_init_point_default(), annotation_stroke_newfrombuffer(), BKE_gpencil_stroke_delete_tagged_points(), BKE_gpencil_stroke_subdivide(), BKE_gpencil_stroke_uniform_subdivide(), gpencil_convert_check_has_valid_timing(), gpencil_copy_move_point(), gpencil_copy_points(), gpencil_primitive_update_strokes(), gpencil_stroke_copy_point(), gpencil_stroke_from_buffer(), gpencil_stroke_join_islands(), gpencil_stroke_newfrombuffer(), gpencil_stroke_subdivide(), gpencil_stroke_to_bezier(), gpencil_stroke_to_path(), gpencil_subdivide_stroke(), and new_sample_point_from_gp_point().
float bGPDspoint::uv_fac |
Factor of uv along the stroke.
Definition at line 80 of file DNA_gpencil_types.h.
Referenced by BKE_gpencil_stroke_perimeter_from_view(), BKE_gpencil_stroke_sample(), BKE_gpencil_stroke_smooth_uv(), BKE_gpencil_stroke_subdivide(), BKE_gpencil_stroke_uv_update(), deformStroke(), ED_gpencil_tpoint_to_point(), gpencil_buffer_add_point(), gpencil_copy_move_point(), gpencil_copy_points(), gpencil_frame_is_equal(), gpencil_insert_points_to_stroke(), gpencil_primitive_update_strokes(), gpencil_stroke_newfrombuffer(), gpencil_subdivide_stroke(), and stroke_march_next_point().
float bGPDspoint::uv_fill[2] |
Uv for fill mode
Definition at line 84 of file DNA_gpencil_types.h.
Referenced by BKE_gpencil_stroke_fill_triangulate(), BKE_gpencil_stroke_subdivide(), gpencil_buffer_add_point(), and stroke_march_next_point().
float bGPDspoint::uv_rot |
Uv rotation for dot mode.
Definition at line 82 of file DNA_gpencil_types.h.
Referenced by BKE_gpencil_stroke_perimeter_from_view(), BKE_gpencil_stroke_sample(), BKE_gpencil_stroke_smooth_uv(), BKE_gpencil_stroke_subdivide(), deformStroke(), ED_gpencil_tpoint_to_point(), gpencil_brush_randomize_apply(), gpencil_buffer_add_point(), gpencil_copy_move_point(), gpencil_copy_points(), gpencil_frame_is_equal(), gpencil_insert_points_to_stroke(), gpencil_primitive_update_strokes(), gpencil_stroke_newfrombuffer(), gpencil_subdivide_stroke(), and stroke_march_next_point().
float bGPDspoint::vert_color[4] |
Vertex Color RGBA (A=mix factor).
Definition at line 87 of file DNA_gpencil_types.h.
Referenced by BKE_gpencil_from_image(), BKE_gpencil_stroke_close(), BKE_gpencil_stroke_editcurve_generate(), BKE_gpencil_stroke_set_random_color(), BKE_gpencil_stroke_subdivide(), BKE_gpencil_stroke_uniform_subdivide(), BKE_gpencil_stroke_update_geometry_from_editcurve(), blo_do_versions_280(), brush_average_apply(), brush_blur_apply(), brush_replace_apply(), brush_smear_apply(), brush_tint_apply(), deformStroke(), ED_gpencil_point_vertex_color_set(), ED_gpencil_tpoint_to_point(), get_surrounding_color(), gpencil_buffer_add_point(), gpencil_calc_points_factor(), gpencil_copy_move_point(), gpencil_copy_points(), gpencil_extract_palette_from_vertex(), gpencil_frame_is_equal(), gpencil_grid_colors_calc(), gpencil_insert_points_to_stroke(), gpencil_material_to_vertex_exec(), gpencil_reset_vertex(), gpencil_save_selected_point(), gpencil_sbuffer_stroke_ensure(), gpencil_select_vertex_color_exec(), gpencil_selected_hue_table(), gpencil_stroke_copy_point(), gpencil_stroke_editcurve_generate_edgecases(), gpencil_stroke_join_islands(), gpencil_stroke_newfrombuffer(), gpencil_stroke_subdivide(), gpencil_subdivide_stroke(), gpencil_vertexpaint_brightness_contrast_exec(), gpencil_vertexpaint_brush_do_frame(), gpencil_vertexpaint_hsv_exec(), gpencil_vertexpaint_invert_exec(), gpencil_vertexpaint_levels_exec(), gpencil_vertexpaint_set_exec(), new_sample_point_from_gp_point(), stroke_dash(), and stroke_march_next_point().
float bGPDspoint::x |
Co-ordinates of point (usually 2d, but can be 3d as well).
Definition at line 69 of file DNA_gpencil_types.h.
Referenced by add_point(), 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(), apply_layer_settings(), apply_stroke_envelope(), BKE_gpencil_convert_mesh(), BKE_gpencil_from_image(), 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_merge_distance(), BKE_gpencil_stroke_normal(), BKE_gpencil_stroke_perimeter_from_view(), BKE_gpencil_stroke_sample(), BKE_gpencil_stroke_segment_length(), BKE_gpencil_stroke_set_random_color(), BKE_gpencil_stroke_shrink(), BKE_gpencil_stroke_smooth_point(), BKE_gpencil_stroke_stretch(), BKE_gpencil_stroke_subdivide(), BKE_gpencil_stroke_to_view_space(), BKE_gpencil_stroke_trim(), BKE_gpencil_stroke_uniform_subdivide(), BKE_gpencil_stroke_update_geometry_from_editcurve(), BKE_gpencil_transform(), BKE_gpencil_update_layer_transforms(), build_sequential(), calc_point_weight_by_distance(), calc_radius_limit(), createTransGPencil_center_get(), createTransGPencil_strokes(), deformStroke(), draw_distortion(), draw_mouse_position(), ED_gpencil_join_objects_exec(), ED_gpencil_project_point_to_plane(), ED_gpencil_project_stroke_to_plane(), ED_gpencil_project_stroke_to_view(), ED_gpencil_projected_2d_bound_box(), ED_gpencil_reset_layers_parent(), ED_gpencil_select_stroke_segment(), ED_gpencil_stroke_close_by_distance(), ED_gpencil_stroke_init_data(), ED_gpencil_stroke_reproject(), ED_gpencil_tpoint_to_point(), ED_transform_calc_gizmo_stats(), foreach_display_point_gpencil_stroke_fn(), gpencil_add_new_points(), gpencil_apply_parent(), gpencil_apply_parent_point(), gpencil_bake_grease_pencil_animation_exec(), gpencil_brush_clone_add(), gpencil_brush_clone_adjust(), gpencil_brush_clone_init(), gpencil_brush_grab_apply_cached(), gpencil_brush_pinch_apply(), gpencil_brush_push_apply(), gpencil_brush_randomize_apply(), gpencil_brush_twist_apply(), gpencil_buffer_add_point(), gpencil_calc_points_factor(), gpencil_convert_spline(), gpencil_copy_move_point(), gpencil_copy_points(), gpencil_create_extensions(), gpencil_cutter_dissolve(), gpencil_deform_verts(), gpencil_draw_basic_stroke(), gpencil_draw_stroke_3d(), gpencil_draw_stroke_volumetric_3d(), gpencil_fill_modal(), gpencil_frame_is_equal(), gpencil_generate_edgeloops(), gpencil_generic_stroke_select(), gpencil_get_nearest_stroke_index(), gpencil_hook_co_apply(), gpencil_insert_point(), gpencil_insert_points_to_stroke(), gpencil_interpolate_update_points(), gpencil_layer_to_curve(), gpencil_point_to_parent_space(), gpencil_point_to_xy(), gpencil_point_to_xy_fl(), gpencil_primitive_update_strokes(), gpencil_sbuffer_stroke_ensure(), gpencil_sculpt_compute_lock_axis(), gpencil_sculpt_rotation_eval_get(), gpencil_snap_to_cursor(), gpencil_snap_to_grid(), gpencil_stroke_addpoint(), gpencil_stroke_center(), gpencil_stroke_copy_point(), gpencil_stroke_editcurve_generate_edgecases(), gpencil_stroke_eraser_is_occluded(), gpencil_stroke_from_buffer(), gpencil_stroke_join_islands(), gpencil_stroke_newfrombuffer(), gpencil_stroke_perimeter_ex(), gpencil_stroke_points_centroid(), gpencil_stroke_subdivide(), gpencil_strokepoint_convertcoords(), gpencil_subdivide_stroke(), gpencil_vertex_group_smooth_exec(), greasepencil_copy_data(), new_sample_point_from_gp_point(), object_origin_set_exec(), overlay_gpencil_draw_stroke_color_name(), stroke_dash(), stroke_march_count(), stroke_march_next_point(), stroke_march_next_point_no_interp(), blender::io::gpencil::GpencilIO::stroke_point_radius_get(), track_mask_gpencil_layer_rasterize(), update_mirror_local(), update_mirror_object(), view3d_ruler_from_gpencil(), and view3d_ruler_to_gpencil().
float bGPDspoint::y |
Definition at line 69 of file DNA_gpencil_types.h.
Referenced by add_point(), BKE_gpencil_stroke_set_random_color(), check_point_in_stroke(), draw_distortion(), ED_gpencil_stroke_init_data(), gpencil_brush_twist_apply(), gpencil_layer_to_curve(), gpencil_point_to_xy(), gpencil_point_to_xy_fl(), gpencil_sculpt_compute_lock_axis(), gpencil_stroke_copy_point(), gpencil_strokepoint_convertcoords(), stroke_dash(), and track_mask_gpencil_layer_rasterize().
float bGPDspoint::z |
Definition at line 69 of file DNA_gpencil_types.h.
Referenced by add_point(), BKE_gpencil_from_image(), BKE_gpencil_stroke_set_random_color(), ED_gpencil_stroke_init_data(), gpencil_sculpt_compute_lock_axis(), gpencil_stroke_copy_point(), and stroke_dash().