Blender V5.3
blender::tGPsdata Struct Reference

Public Attributes

Main * bmain
Scene * scene
Depsgraph * depsgraph
wmWindow * win
ScrArea * area
ARegion * region
View2D * v2d
ViewDepths * depths
const rctf * subrect
rctf subrect_data
GP_SpaceConversion gsc
PointerRNA ownerPtr
bGPdata * gpd
bGPDlayer * gpl
bGPDframe * gpf
eGPencil_Placement_Flags * align_flag
eGPencil_PaintStatus status
eGPencil_PaintModes paintmode
eGPencil_PaintFlags flags
short radius
float stabilizer_factor
char stabilizer_radius
void * stabilizer_cursor
float mval [2]
float mvalo [2]
float pressure
float opressure
double inittime
double curtime
double ocurtime
float imat [4][4]
float mat [4][4]
float custom_color [4]
void * erasercursor
short straight [2]
short keymodifier

Detailed Description

Definition at line 98 of file annotate_paint.cc.

Member Data Documentation

◆ align_flag

eGPencil_Placement_Flags* blender::tGPsdata::align_flag

◆ area

◆ bmain

◆ curtime

double blender::tGPsdata::curtime

Used when converting to path.

Definition at line 166 of file annotate_paint.cc.

Referenced by blender::annotation_draw_apply(), blender::annotation_draw_apply_event(), and blender::annotation_draw_exec().

◆ custom_color

float blender::tGPsdata::custom_color[4]

custom color - hack for enforcing a particular color for track/mask editing.

Definition at line 178 of file annotate_paint.cc.

Referenced by blender::annotation_paint_initstroke(), and blender::annotation_session_initdata().

◆ depsgraph

◆ depths

◆ erasercursor

void* blender::tGPsdata::erasercursor

radial cursor data for drawing eraser.

Definition at line 181 of file annotate_paint.cc.

Referenced by blender::annotation_draw_toggle_eraser_cursor().

◆ flags

◆ gpd

◆ gpf

◆ gpl

bGPDlayer* blender::tGPsdata::gpl

◆ gsc

GP_SpaceConversion blender::tGPsdata::gsc

settings to pass to gp_points_to_xy().

Definition at line 119 of file annotate_paint.cc.

Referenced by blender::annotation_paint_initstroke(), blender::annotation_session_initdata(), and blender::annotation_stroke_eraser_dostroke().

◆ imat

float blender::tGPsdata::imat[4][4]

Inverted transformation matrix applying when converting coords from screen-space to region space.

Definition at line 174 of file annotate_paint.cc.

Referenced by blender::annotation_session_initdata(), and blender::annotation_stroke_convertcoords().

◆ inittime

◆ keymodifier

short blender::tGPsdata::keymodifier

key used for invoking the operator.

Definition at line 187 of file annotate_paint.cc.

Referenced by blender::annotation_draw_init().

◆ mat

float blender::tGPsdata::mat[4][4]

◆ mval

◆ mvalo

◆ ocurtime

double blender::tGPsdata::ocurtime

Used when converting to path.

Definition at line 168 of file annotate_paint.cc.

Referenced by blender::annotation_draw_apply(), blender::annotation_draw_apply_event(), and blender::annotation_draw_exec().

◆ opressure

float blender::tGPsdata::opressure

previous stylus pressure.

Definition at line 156 of file annotate_paint.cc.

Referenced by blender::annotation_draw_apply(), blender::annotation_draw_apply_event(), and blender::annotation_draw_exec().

◆ ownerPtr

PointerRNA blender::tGPsdata::ownerPtr

pointer to owner of gp-datablock.

Definition at line 122 of file annotate_paint.cc.

Referenced by blender::annotation_session_initdata().

◆ paintmode

◆ pressure

float blender::tGPsdata::pressure

◆ radius

◆ region

◆ scene

◆ stabilizer_cursor

void* blender::tGPsdata::stabilizer_cursor

◆ stabilizer_factor

float blender::tGPsdata::stabilizer_factor

◆ stabilizer_radius

char blender::tGPsdata::stabilizer_radius

◆ status

◆ straight

short blender::tGPsdata::straight[2]

1: line horizontal, 2: line vertical, other: not defined, second element position.

Definition at line 184 of file annotate_paint.cc.

Referenced by blender::annotation_draw_apply_event().

◆ subrect

const rctf* blender::tGPsdata::subrect

for using the camera rect within the 3d view.

Definition at line 115 of file annotate_paint.cc.

Referenced by blender::annotation_paint_initstroke(), and blender::annotation_stroke_convertcoords().

◆ subrect_data

rctf blender::tGPsdata::subrect_data

Definition at line 116 of file annotate_paint.cc.

Referenced by blender::annotation_paint_initstroke().

◆ v2d

View2D* blender::tGPsdata::v2d

◆ win

wmWindow* blender::tGPsdata::win

window where painting originated.

Definition at line 105 of file annotate_paint.cc.

Referenced by blender::annotation_draw_cursor_set(), and blender::annotation_session_initdata().


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