Blender V5.0
tGPsdata Struct Reference

Public Attributes

Mainbmain
Scenescene
Depsgraph * depsgraph
wmWindowwin
ScrAreaarea
ARegionregion
View2Dv2d
ViewDepthsdepths
const rctfsubrect
rctf subrect_data
GP_SpaceConversion gsc
PointerRNA ownerPtr
bGPdatagpd
bGPDlayergpl
bGPDframegpf
char * 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 94 of file annotate_paint.cc.

Member Data Documentation

◆ align_flag

char* tGPsdata::align_flag

projection-mode flags (toolsettings - eGPencil_Placement_Flags)

Definition at line 127 of file annotate_paint.cc.

Referenced by annotation_paint_initstroke(), annotation_project_check(), and annotation_session_initdata().

◆ area

◆ bmain

Main* tGPsdata::bmain

◆ curtime

double tGPsdata::curtime

Used when converting to path.

Definition at line 162 of file annotate_paint.cc.

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

◆ custom_color

float tGPsdata::custom_color[4]

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

Definition at line 172 of file annotate_paint.cc.

Referenced by annotation_paint_initstroke(), and annotation_session_initdata().

◆ depsgraph

◆ depths

ViewDepths* tGPsdata::depths

◆ erasercursor

void* tGPsdata::erasercursor

radial cursor data for drawing eraser.

Definition at line 175 of file annotate_paint.cc.

Referenced by annotation_draw_toggle_eraser_cursor().

◆ flags

◆ gpd

◆ gpf

◆ gpl

bGPDlayer* tGPsdata::gpl

layer we're working on.

Definition at line 122 of file annotate_paint.cc.

Referenced by annotation_paint_initstroke(), annotation_stroke_end(), and annotation_stroke_newfrombuffer().

◆ gsc

GP_SpaceConversion tGPsdata::gsc

settings to pass to gp_points_to_xy().

Definition at line 115 of file annotate_paint.cc.

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

◆ imat

float tGPsdata::imat[4][4]

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

Definition at line 168 of file annotate_paint.cc.

Referenced by annotation_session_initdata(), and annotation_stroke_convertcoords().

◆ inittime

◆ keymodifier

short tGPsdata::keymodifier

key used for invoking the operator.

Definition at line 181 of file annotate_paint.cc.

Referenced by annotation_draw_init().

◆ mat

float tGPsdata::mat[4][4]

Definition at line 169 of file annotate_paint.cc.

Referenced by annotation_paint_initstroke(), and annotation_session_initdata().

◆ mval

◆ mvalo

float tGPsdata::mvalo[2]

◆ ocurtime

double tGPsdata::ocurtime

Used when converting to path.

Definition at line 164 of file annotate_paint.cc.

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

◆ opressure

float tGPsdata::opressure

previous stylus pressure.

Definition at line 152 of file annotate_paint.cc.

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

◆ ownerPtr

PointerRNA tGPsdata::ownerPtr

pointer to owner of gp-datablock.

Definition at line 118 of file annotate_paint.cc.

Referenced by annotation_session_initdata().

◆ paintmode

◆ pressure

float tGPsdata::pressure

current stylus pressure.

Definition at line 150 of file annotate_paint.cc.

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

◆ radius

short tGPsdata::radius

◆ region

◆ scene

◆ stabilizer_cursor

void* tGPsdata::stabilizer_cursor

Definition at line 142 of file annotate_paint.cc.

Referenced by annotation_draw_toggle_stabilizer_cursor().

◆ stabilizer_factor

float tGPsdata::stabilizer_factor

Definition at line 140 of file annotate_paint.cc.

Referenced by annotation_draw_apply(), and annotation_draw_invoke().

◆ stabilizer_radius

char tGPsdata::stabilizer_radius

Definition at line 141 of file annotate_paint.cc.

Referenced by annotation_draw_invoke(), and annotation_stroke_filtermval().

◆ status

◆ straight

short tGPsdata::straight[2]

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

Definition at line 178 of file annotate_paint.cc.

Referenced by annotation_draw_apply_event().

◆ subrect

const rctf* tGPsdata::subrect

for using the camera rect within the 3d view.

Definition at line 111 of file annotate_paint.cc.

Referenced by annotation_paint_initstroke(), and annotation_stroke_convertcoords().

◆ subrect_data

rctf tGPsdata::subrect_data

Definition at line 112 of file annotate_paint.cc.

Referenced by annotation_paint_initstroke().

◆ v2d

View2D* tGPsdata::v2d

needed for GP_STROKE_2DSPACE.

Definition at line 107 of file annotate_paint.cc.

Referenced by annotation_paint_initstroke(), annotation_session_initdata(), and annotation_stroke_convertcoords().

◆ win

wmWindow* tGPsdata::win

window where painting originated.

Definition at line 101 of file annotate_paint.cc.

Referenced by annotation_draw_cursor_set(), and annotation_session_initdata().


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