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

Static Public Member Functions

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

Public Attributes

bke::greasepencil::Layer & layer
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
bool is_delaunay_method
float2 fill_mouse_pos
bool is_extension_drag_active = false
float2 extension_mouse_pos
Vector< float2 > mouse_positions
void * overlay_cb_handle

Detailed Description

Definition at line 695 of file 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

eGP_FillExtendModes blender::ed::sculpt_paint::GreasePencilFillOpData::extension_mode

◆ extension_mouse_pos

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

Definition at line 724 of file draw_ops.cc.

◆ fill_mouse_pos

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

Definition at line 720 of file draw_ops.cc.

◆ invert

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

Definition at line 701 of file draw_ops.cc.

Referenced by from_context().

◆ is_delaunay_method

bool blender::ed::sculpt_paint::GreasePencilFillOpData::is_delaunay_method

◆ is_extension_drag_active

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

Definition at line 722 of file draw_ops.cc.

◆ layer

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

Definition at line 696 of file draw_ops.cc.

Referenced by from_context().

◆ material_index

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

Definition at line 699 of file draw_ops.cc.

Referenced by from_context().

◆ mouse_positions

Vector<float2> blender::ed::sculpt_paint::GreasePencilFillOpData::mouse_positions

◆ overlay_cb_handle

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

◆ precision

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

Definition at line 703 of file 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: