Blender V4.3
blender::ed::sculpt_paint::GreasePencilFillOpData Struct Reference

Static Public Member Functions

static GreasePencilFillOpData from_context (bContext &C, blender::bke::greasepencil::Layer &layer, const int material_index, const bool invert, const bool precision)
 

Public Attributes

blender::bke::greasepencil::Layerlayer
 
int material_index
 
bool invert = false
 
bool precision = false
 
eGP_FillExtendModes extension_mode
 
float extension_length
 
bool extension_cut
 
bool show_boundaries
 
bool show_extension
 
float2 fill_mouse_pos
 
bool is_extension_drag_active = false
 
float2 extension_mouse_pos
 
void * overlay_cb_handle
 

Detailed Description

Definition at line 624 of file grease_pencil_draw_ops.cc.

Member Function Documentation

◆ from_context()

Member Data Documentation

◆ extension_cut

bool blender::ed::sculpt_paint::GreasePencilFillOpData::extension_cut

◆ extension_length

float blender::ed::sculpt_paint::GreasePencilFillOpData::extension_length

◆ extension_mode

◆ extension_mouse_pos

float2 blender::ed::sculpt_paint::GreasePencilFillOpData::extension_mouse_pos

Definition at line 651 of file grease_pencil_draw_ops.cc.

◆ fill_mouse_pos

float2 blender::ed::sculpt_paint::GreasePencilFillOpData::fill_mouse_pos

Definition at line 647 of file grease_pencil_draw_ops.cc.

◆ invert

bool blender::ed::sculpt_paint::GreasePencilFillOpData::invert = false

Definition at line 630 of file grease_pencil_draw_ops.cc.

Referenced by from_context().

◆ is_extension_drag_active

bool blender::ed::sculpt_paint::GreasePencilFillOpData::is_extension_drag_active = false

Definition at line 649 of file grease_pencil_draw_ops.cc.

◆ layer

blender::bke::greasepencil::Layer& blender::ed::sculpt_paint::GreasePencilFillOpData::layer

Definition at line 625 of file grease_pencil_draw_ops.cc.

Referenced by from_context().

◆ material_index

int blender::ed::sculpt_paint::GreasePencilFillOpData::material_index

Definition at line 628 of file grease_pencil_draw_ops.cc.

Referenced by from_context().

◆ overlay_cb_handle

void* blender::ed::sculpt_paint::GreasePencilFillOpData::overlay_cb_handle

◆ precision

bool blender::ed::sculpt_paint::GreasePencilFillOpData::precision = false

Definition at line 632 of file grease_pencil_draw_ops.cc.

Referenced by from_context().

◆ show_boundaries

bool blender::ed::sculpt_paint::GreasePencilFillOpData::show_boundaries

◆ show_extension

bool blender::ed::sculpt_paint::GreasePencilFillOpData::show_extension

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