Blender V4.3
bGPDspoint Struct Reference

#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
 

Detailed Description

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.

Member Data Documentation

◆ _pad2

char bGPDspoint::_pad2[4]

Runtime data

Definition at line 97 of file DNA_gpencil_legacy_types.h.

◆ flag

◆ pressure

◆ runtime

◆ strength

◆ time

◆ uv_fac

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().

◆ uv_fill

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().

◆ uv_rot

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().

◆ vert_color

◆ x

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().

◆ y

◆ z


The documentation for this struct was generated from the following file: