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

Public Attributes

bContextC
 
struct Mainbmain
 
struct Depsgraphdepsgraph
 
struct wmWindowwin
 
struct Scenescene
 
struct Objectob
 
struct ScrAreaarea
 
struct RegionView3Drv3d
 
struct View3Dv3d
 
struct ARegionregion
 
struct bGPdatagpd
 
struct Materialmat
 
struct Brushbrush
 
struct bGPDlayergpl
 
struct bGPDframegpf
 
struct bGPDstrokegps_mouse
 
struct ReportListreports
 
struct ViewDepthsdepths
 
short flag
 
short oldkey
 
bool on_back
 
bool is_render
 
bool done
 
int mouse [2]
 
int sizex
 
int sizey
 
int lock_axis
 
short fill_leak
 
float fill_threshold
 
int fill_simplylvl
 
int fill_draw_mode
 
float fill_factor
 
int active_cfra
 
short sbuffer_used
 
voidsbuffer
 
floatdepth_arr
 
Imageima
 
BLI_Stackstack
 
voiddraw_handle_3d
 
int bwinx
 
int bwiny
 
rcti brect
 
GP_SpaceConversion gsc
 
float zoom
 
float fill_extend_fac
 

Detailed Description

Definition at line 82 of file gpencil_fill.c.

Member Data Documentation

◆ active_cfra

int tGPDfill::active_cfra

◆ area

struct ScrArea* tGPDfill::area

area where painting originated

Definition at line 93 of file gpencil_fill.c.

Referenced by gpencil_session_init_fill().

◆ bmain

struct Main* tGPDfill::bmain

◆ brect

rcti tGPDfill::brect

Definition at line 167 of file gpencil_fill.c.

Referenced by gpencil_fill_modal(), and gpencil_render_offscreen().

◆ brush

struct Brush* tGPDfill::brush

◆ bwinx

int tGPDfill::bwinx

Definition at line 164 of file gpencil_fill.c.

Referenced by gpencil_fill_modal(), and gpencil_render_offscreen().

◆ bwiny

int tGPDfill::bwiny

Definition at line 166 of file gpencil_fill.c.

Referenced by gpencil_fill_modal(), and gpencil_render_offscreen().

◆ C

bContext* tGPDfill::C

◆ depsgraph

struct Depsgraph* tGPDfill::depsgraph

◆ depth_arr

float* tGPDfill::depth_arr

◆ depths

struct ViewDepths* tGPDfill::depths

For operations that require occlusion testing.

Definition at line 115 of file gpencil_fill.c.

Referenced by gpencil_fill_exit(), and gpencil_get_depth_array().

◆ done

bool tGPDfill::done

Flag to check something was done.

Definition at line 125 of file gpencil_fill.c.

Referenced by gpencil_fill_modal(), and gpencil_stroke_from_buffer().

◆ draw_handle_3d

void* tGPDfill::draw_handle_3d

handle for drawing strokes while operator is running 3d stuff

Definition at line 161 of file gpencil_fill.c.

Referenced by gpencil_fill_exit(), and gpencil_fill_invoke().

◆ fill_draw_mode

int tGPDfill::fill_draw_mode

boundary limits drawing mode

Definition at line 142 of file gpencil_fill.c.

Referenced by gpencil_draw_datablock(), and gpencil_session_init_fill().

◆ fill_extend_fac

float tGPDfill::fill_extend_fac

◆ fill_factor

float tGPDfill::fill_factor

◆ fill_leak

short tGPDfill::fill_leak

number of pixel to consider the leak is too small (x 2)

Definition at line 136 of file gpencil_fill.c.

Referenced by gpencil_boundaryfill_area(), and gpencil_session_init_fill().

◆ fill_simplylvl

int tGPDfill::fill_simplylvl

number of simplify steps

Definition at line 140 of file gpencil_fill.c.

Referenced by gpencil_session_init_fill(), and gpencil_stroke_from_buffer().

◆ fill_threshold

float tGPDfill::fill_threshold

factor for transparency

Definition at line 138 of file gpencil_fill.c.

Referenced by gpencil_draw_datablock(), and gpencil_session_init_fill().

◆ flag

short tGPDfill::flag

◆ gpd

struct bGPdata* tGPDfill::gpd

◆ gpf

struct bGPDframe* tGPDfill::gpf

frame

Definition at line 109 of file gpencil_fill.c.

Referenced by gpencil_fill_modal(), and gpencil_stroke_from_buffer().

◆ gpl

struct bGPDlayer* tGPDfill::gpl

◆ gps_mouse

struct bGPDstroke* tGPDfill::gps_mouse

Temp mouse position stroke.

Definition at line 111 of file gpencil_fill.c.

Referenced by draw_mouse_position(), and gpencil_fill_modal().

◆ gsc

GP_SpaceConversion tGPDfill::gsc

Definition at line 170 of file gpencil_fill.c.

Referenced by gpencil_session_init_fill(), and gpencil_zoom_level_set().

◆ ima

Image* tGPDfill::ima

◆ is_render

bool tGPDfill::is_render

◆ lock_axis

int tGPDfill::lock_axis

lock to viewport axis

Definition at line 133 of file gpencil_fill.c.

Referenced by gpencil_session_init_fill(), and gpencil_stroke_from_buffer().

◆ mat

struct Material* tGPDfill::mat

current material

Definition at line 103 of file gpencil_fill.c.

Referenced by gpencil_draw_basic_stroke(), and gpencil_session_init_fill().

◆ mouse

int tGPDfill::mouse[2]

mouse fill center position

Definition at line 127 of file gpencil_fill.c.

Referenced by gpencil_fill_modal().

◆ ob

struct Object* tGPDfill::ob

◆ oldkey

short tGPDfill::oldkey

avoid too fast events

Definition at line 119 of file gpencil_fill.c.

Referenced by gpencil_fill_modal(), and gpencil_session_init_fill().

◆ on_back

bool tGPDfill::on_back

send to back stroke

Definition at line 121 of file gpencil_fill.c.

Referenced by gpencil_fill_modal(), and gpencil_stroke_from_buffer().

◆ region

struct ARegion* tGPDfill::region

◆ reports

struct ReportList* tGPDfill::reports

Pointer to report messages.

Definition at line 113 of file gpencil_fill.c.

Referenced by gpencil_do_frame_fill(), and gpencil_session_init_fill().

◆ rv3d

struct RegionView3D* tGPDfill::rv3d

region where painting originated

Definition at line 95 of file gpencil_fill.c.

Referenced by gpencil_draw_datablock(), gpencil_render_offscreen(), gpencil_session_init_fill(), and gpencil_stroke_from_buffer().

◆ sbuffer

void* tGPDfill::sbuffer

◆ sbuffer_used

short tGPDfill::sbuffer_used

◆ scene

struct Scene* tGPDfill::scene

◆ sizex

int tGPDfill::sizex

windows width

Definition at line 129 of file gpencil_fill.c.

Referenced by gpencil_draw_datablock(), and gpencil_render_offscreen().

◆ sizey

int tGPDfill::sizey

window height

Definition at line 131 of file gpencil_fill.c.

Referenced by gpencil_draw_datablock(), and gpencil_render_offscreen().

◆ stack

BLI_Stack* tGPDfill::stack

temp points data

Definition at line 159 of file gpencil_fill.c.

Referenced by gpencil_do_frame_fill(), gpencil_get_outline_points(), and gpencil_points_from_stack().

◆ v3d

struct View3D* tGPDfill::v3d

view3 where painting originated

Definition at line 97 of file gpencil_fill.c.

Referenced by gpencil_get_depth_array(), gpencil_render_offscreen(), and gpencil_session_init_fill().

◆ win

struct wmWindow* tGPDfill::win

window where painting originated

Definition at line 87 of file gpencil_fill.c.

Referenced by gpencil_get_depth_array(), and gpencil_session_init_fill().

◆ zoom

float tGPDfill::zoom

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