Blender
V3.3
|
Public Attributes | |
bContext * | C |
struct Main * | bmain |
struct Depsgraph * | depsgraph |
struct wmWindow * | win |
struct Scene * | scene |
struct Object * | ob |
struct ScrArea * | area |
struct RegionView3D * | rv3d |
struct View3D * | v3d |
struct ARegion * | region |
struct bGPdata * | gpd |
struct Material * | mat |
struct Brush * | brush |
struct bGPDlayer * | gpl |
struct bGPDframe * | gpf |
struct bGPDstroke * | gps_mouse |
struct ReportList * | reports |
struct ViewDepths * | depths |
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 |
void * | sbuffer |
float * | depth_arr |
Image * | ima |
BLI_Stack * | stack |
void * | draw_handle_3d |
int | bwinx |
int | bwiny |
rcti | brect |
GP_SpaceConversion | gsc |
float | zoom |
float | fill_extend_fac |
Definition at line 82 of file gpencil_fill.c.
int tGPDfill::active_cfra |
Definition at line 147 of file gpencil_fill.c.
Referenced by gpencil_create_extensions(), gpencil_delete_temp_stroke_extension(), gpencil_draw_datablock(), gpencil_fill_modal(), gpencil_session_init_fill(), gpencil_stroke_from_buffer(), and gpencil_zoom_level_set().
struct ScrArea* tGPDfill::area |
area where painting originated
Definition at line 93 of file gpencil_fill.c.
Referenced by gpencil_session_init_fill().
struct Main* tGPDfill::bmain |
Definition at line 84 of file gpencil_fill.c.
Referenced by gpencil_do_frame_fill(), gpencil_render_offscreen(), and gpencil_session_init_fill().
rcti tGPDfill::brect |
Definition at line 167 of file gpencil_fill.c.
Referenced by gpencil_fill_modal(), and gpencil_render_offscreen().
struct Brush* tGPDfill::brush |
current brush
Definition at line 105 of file gpencil_fill.c.
Referenced by gpencil_create_extensions(), gpencil_draw_datablock(), gpencil_fill_modal(), gpencil_get_outline_points(), gpencil_session_init_fill(), and gpencil_zoom_level_set().
int tGPDfill::bwinx |
Definition at line 164 of file gpencil_fill.c.
Referenced by gpencil_fill_modal(), and gpencil_render_offscreen().
int tGPDfill::bwiny |
Definition at line 166 of file gpencil_fill.c.
Referenced by gpencil_fill_modal(), and gpencil_render_offscreen().
bContext* tGPDfill::C |
Definition at line 83 of file gpencil_fill.c.
Referenced by gpencil_do_frame_fill(), gpencil_session_init_fill(), gpencil_stroke_from_buffer(), and gpencil_update_extend().
struct Depsgraph* tGPDfill::depsgraph |
Definition at line 85 of file gpencil_fill.c.
Referenced by gpencil_draw_datablock(), gpencil_get_depth_array(), gpencil_render_offscreen(), gpencil_session_init_fill(), gpencil_stroke_from_buffer(), and gpencil_zoom_level_set().
float* tGPDfill::depth_arr |
depth array for reproject
Definition at line 154 of file gpencil_fill.c.
Referenced by gpencil_do_frame_fill(), gpencil_fill_exit(), gpencil_get_depth_array(), gpencil_session_init_fill(), and gpencil_stroke_from_buffer().
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().
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().
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().
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().
float tGPDfill::fill_extend_fac |
Factor of extension.
Definition at line 176 of file gpencil_fill.c.
Referenced by gpencil_create_extensions(), gpencil_fill_invoke(), gpencil_fill_modal(), gpencil_session_init_fill(), and gpencil_update_extend().
float tGPDfill::fill_factor |
Definition at line 144 of file gpencil_fill.c.
Referenced by draw_mouse_position(), gpencil_fill_modal(), gpencil_render_offscreen(), and gpencil_session_init_fill().
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().
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().
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().
short tGPDfill::flag |
flags
Definition at line 117 of file gpencil_fill.c.
Referenced by gpencil_draw_datablock(), gpencil_fill_invoke(), gpencil_fill_modal(), gpencil_session_init_fill(), and gpencil_stroke_is_drawable().
struct bGPdata* tGPDfill::gpd |
Current GP data-block.
Definition at line 101 of file gpencil_fill.c.
Referenced by gpencil_create_extensions(), gpencil_delete_temp_stroke_extension(), gpencil_draw_boundary_lines(), gpencil_draw_datablock(), gpencil_fill_invoke(), gpencil_fill_modal(), gpencil_render_offscreen(), gpencil_session_init_fill(), gpencil_stroke_from_buffer(), and gpencil_zoom_level_set().
struct bGPDframe* tGPDfill::gpf |
frame
Definition at line 109 of file gpencil_fill.c.
Referenced by gpencil_fill_modal(), and gpencil_stroke_from_buffer().
struct bGPDlayer* tGPDfill::gpl |
layer
Definition at line 107 of file gpencil_fill.c.
Referenced by gpencil_draw_datablock(), gpencil_fill_modal(), gpencil_session_init_fill(), and gpencil_stroke_from_buffer().
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().
GP_SpaceConversion tGPDfill::gsc |
Definition at line 170 of file gpencil_fill.c.
Referenced by gpencil_session_init_fill(), and gpencil_zoom_level_set().
Image* tGPDfill::ima |
temp image
Definition at line 157 of file gpencil_fill.c.
Referenced by gpencil_boundaryfill_area(), gpencil_do_frame_fill(), gpencil_erase_processed_area(), gpencil_find_and_mark_empty_areas(), gpencil_get_outline_points(), gpencil_invert_image(), gpencil_render_offscreen(), and gpencil_set_borders().
bool tGPDfill::is_render |
Flag for render mode
Definition at line 123 of file gpencil_fill.c.
Referenced by gpencil_draw_basic_stroke(), gpencil_fill_modal(), gpencil_session_init_fill(), and gpencil_stroke_is_drawable().
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().
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().
int tGPDfill::mouse[2] |
mouse fill center position
Definition at line 127 of file gpencil_fill.c.
Referenced by gpencil_fill_modal().
struct Object* tGPDfill::ob |
current active gp object
Definition at line 91 of file gpencil_fill.c.
Referenced by gpencil_create_extensions(), gpencil_draw_datablock(), gpencil_fill_modal(), gpencil_session_init_fill(), gpencil_stroke_from_buffer(), and gpencil_zoom_level_set().
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().
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().
struct ARegion* tGPDfill::region |
region where painting originated
Definition at line 99 of file gpencil_fill.c.
Referenced by gpencil_fill_draw_3d(), gpencil_fill_exit(), gpencil_fill_invoke(), gpencil_fill_modal(), gpencil_get_depth_array(), gpencil_render_offscreen(), gpencil_session_init_fill(), gpencil_stroke_from_buffer(), and gpencil_zoom_level_set().
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().
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().
void* tGPDfill::sbuffer |
temporary points
Definition at line 152 of file gpencil_fill.c.
Referenced by gpencil_do_frame_fill(), gpencil_erase_processed_area(), gpencil_fill_exit(), gpencil_get_depth_array(), gpencil_points_from_stack(), gpencil_session_init_fill(), and gpencil_stroke_from_buffer().
short tGPDfill::sbuffer_used |
number of elements currently in cache
Definition at line 150 of file gpencil_fill.c.
Referenced by gpencil_erase_processed_area(), gpencil_get_depth_array(), gpencil_points_from_stack(), gpencil_session_init_fill(), and gpencil_stroke_from_buffer().
struct Scene* tGPDfill::scene |
current scene from context
Definition at line 89 of file gpencil_fill.c.
Referenced by gpencil_draw_datablock(), gpencil_fill_modal(), gpencil_get_depth_array(), gpencil_render_offscreen(), gpencil_session_init_fill(), and gpencil_stroke_from_buffer().
int tGPDfill::sizex |
windows width
Definition at line 129 of file gpencil_fill.c.
Referenced by gpencil_draw_datablock(), and gpencil_render_offscreen().
int tGPDfill::sizey |
window height
Definition at line 131 of file gpencil_fill.c.
Referenced by gpencil_draw_datablock(), and gpencil_render_offscreen().
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().
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().
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().
float tGPDfill::zoom |
Zoom factor.
Definition at line 173 of file gpencil_fill.c.
Referenced by draw_mouse_position(), gpencil_fill_modal(), gpencil_render_offscreen(), gpencil_session_init_fill(), and gpencil_zoom_level_set().