Blender  V3.3
Public Attributes | List of all members
tGPsdata Struct Reference

Public Attributes

Mainbmain
 
Scenescene
 
struct Depsgraphdepsgraph
 
wmWindowwin
 
ScrAreaarea
 
ARegionregion
 
View2Dv2d
 
ViewDepthsdepths
 
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
 
voidstabilizer_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]
 
voiderasercursor
 
short straight [2]
 
short keymodifier
 
bContextC
 
Objectob
 
Objectob_eval
 
float mvali [2]
 
float diff_mat [4][4]
 
Materialmaterial
 
Brushbrush
 
Brusheraser
 
int lock_axis
 
bool disable_fill
 
RNGrng
 
bool shift
 
float totpixlen
 
bool disable_stabilizer
 
tGPguide guide
 
ReportListreports
 
GpRandomSettings random_settings
 

Detailed Description

Definition at line 100 of file annotate_paint.c.

Member Data Documentation

◆ align_flag

char * tGPsdata::align_flag

◆ area

ScrArea * tGPsdata::area

◆ bmain

Main * tGPsdata::bmain

◆ brush

Brush* tGPsdata::brush

◆ C

bContext* tGPsdata::C

◆ curtime

double tGPsdata::curtime

◆ custom_color

float tGPsdata::custom_color

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

Definition at line 178 of file annotate_paint.c.

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

◆ depsgraph

struct Depsgraph * tGPsdata::depsgraph

◆ depths

ViewDepths * tGPsdata::depths

◆ diff_mat

float tGPsdata::diff_mat[4][4]

Definition at line 211 of file gpencil_paint.c.

Referenced by gpencil_stroke_doeraser(), and gpencil_stroke_eraser_dostroke().

◆ disable_fill

bool tGPsdata::disable_fill

the stroke is no fill mode

Definition at line 232 of file gpencil_paint.c.

Referenced by gpencil_paint_initstroke(), and gpencil_session_initdata().

◆ disable_stabilizer

bool tGPsdata::disable_stabilizer

Special mode for fill brush.

Definition at line 243 of file gpencil_paint.c.

Referenced by gpencil_add_fake_points(), gpencil_draw_apply(), gpencil_session_initdata(), and gpencil_stroke_filtermval().

◆ eraser

Brush* tGPsdata::eraser

◆ erasercursor

void * tGPsdata::erasercursor

radial cursor data for drawing eraser.

Definition at line 181 of file annotate_paint.c.

Referenced by annotation_draw_toggle_eraser_cursor(), and gpencil_draw_toggle_eraser_cursor().

◆ flags

eGPencil_PaintFlags tGPsdata::flags

◆ gpd

bGPdata * tGPsdata::gpd

◆ gpf

bGPDframe * tGPsdata::gpf

◆ gpl

bGPDlayer * tGPsdata::gpl

◆ gsc

GP_SpaceConversion tGPsdata::gsc

◆ guide

tGPguide tGPsdata::guide

◆ imat

float tGPsdata::imat

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

Definition at line 174 of file annotate_paint.c.

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

◆ inittime

double tGPsdata::inittime

◆ keymodifier

short tGPsdata::keymodifier

key used for invoking the operator.

key used for invoking the operator

Definition at line 187 of file annotate_paint.c.

Referenced by annotation_draw_init(), and gpencil_draw_init().

◆ lock_axis

int tGPsdata::lock_axis

lock drawing to one axis

Definition at line 230 of file gpencil_paint.c.

Referenced by gpencil_reproject_toplane(), gpencil_session_initdata(), and gpencil_stroke_addpoint().

◆ mat

float tGPsdata::mat

◆ material

Material* tGPsdata::material

current material

Definition at line 221 of file gpencil_paint.c.

Referenced by gpencil_init_colors(), and gpencil_stroke_addpoint().

◆ mval

float tGPsdata::mval

◆ mvali

float tGPsdata::mvali[2]

initial recorded mouse-position

Definition at line 187 of file gpencil_paint.c.

Referenced by gpencil_draw_apply_event(), gpencil_draw_modal(), gpencil_snap_to_guide(), and gpencil_speed_guide_init().

◆ mvalo

float tGPsdata::mvalo

◆ ob

Object* tGPsdata::ob

◆ ob_eval

Object* tGPsdata::ob_eval

◆ ocurtime

double tGPsdata::ocurtime

◆ opressure

float tGPsdata::opressure

◆ ownerPtr

PointerRNA tGPsdata::ownerPtr

◆ paintmode

eGPencil_PaintModes tGPsdata::paintmode

◆ pressure

float tGPsdata::pressure

◆ radius

short tGPsdata::radius

◆ random_settings

GpRandomSettings tGPsdata::random_settings

Random settings by stroke

Definition at line 250 of file gpencil_paint.c.

Referenced by gpencil_apply_randomness(), gpencil_draw_apply_event(), gpencil_draw_invoke(), and gpencil_stroke_addpoint().

◆ region

ARegion * tGPsdata::region

◆ reports

ReportList* tGPsdata::reports

Definition at line 247 of file gpencil_paint.c.

Referenced by gpencil_draw_init(), and gpencil_paint_initstroke().

◆ rng

RNG* tGPsdata::rng

◆ scene

Scene * tGPsdata::scene

◆ shift

bool tGPsdata::shift

◆ stabilizer_cursor

void* tGPsdata::stabilizer_cursor

Definition at line 148 of file annotate_paint.c.

Referenced by annotation_draw_toggle_stabilizer_cursor().

◆ stabilizer_factor

float tGPsdata::stabilizer_factor

Definition at line 146 of file annotate_paint.c.

Referenced by annotation_draw_apply(), and annotation_draw_invoke().

◆ stabilizer_radius

char tGPsdata::stabilizer_radius

Definition at line 147 of file annotate_paint.c.

Referenced by annotation_draw_invoke(), and annotation_stroke_filtermval().

◆ status

eGPencil_PaintStatus tGPsdata::status

◆ straight

short tGPsdata::straight

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

1: line horizontal, 2: line vertical, other: not defined

Definition at line 184 of file annotate_paint.c.

Referenced by annotation_draw_apply_event(), gpencil_draw_apply_event(), gpencil_draw_modal(), and gpencil_snap_to_guide().

◆ subrect

rctf * tGPsdata::subrect

for using the camera rect within the 3d view.

Definition at line 117 of file annotate_paint.c.

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

◆ subrect_data

rctf tGPsdata::subrect_data

Definition at line 118 of file annotate_paint.c.

Referenced by annotation_paint_initstroke(), and gpencil_paint_initstroke().

◆ totpixlen

float tGPsdata::totpixlen

size in pixels for uv calculation

Definition at line 241 of file gpencil_paint.c.

Referenced by gpencil_stroke_addpoint().

◆ v2d

View2D * tGPsdata::v2d

◆ win

wmWindow * tGPsdata::win

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