Blender V5.3
paint_ops.cc File Reference
#include <algorithm>
#include <cstdlib>
#include <cstring>
#include "MEM_guardedalloc.h"
#include "BLI_ghash.hh"
#include "BLI_listbase.hh"
#include "BLI_math_color_c.hh"
#include "BLI_math_vector_c.hh"
#include "BLI_utildefines.hh"
#include "IMB_interp.hh"
#include "DNA_brush_types.h"
#include "DNA_scene_types.h"
#include "BKE_brush.hh"
#include "BKE_context.hh"
#include "BKE_image.hh"
#include "BKE_lib_id.hh"
#include "BKE_library.hh"
#include "BKE_main.hh"
#include "BKE_paint.hh"
#include "BKE_paint_types.hh"
#include "BKE_report.hh"
#include "ED_image.hh"
#include "ED_paint.hh"
#include "ED_screen.hh"
#include "WM_api.hh"
#include "WM_types.hh"
#include "RNA_access.hh"
#include "RNA_define.hh"
#include "IMB_colormanagement.hh"
#include "paint_intern.hh"
#include "curves/sculpt_intern.hh"
#include "mesh/paint_hide.hh"
#include "mesh/paint_mask.hh"
#include "mesh/sculpt_intern.hh"

Go to the source code of this file.

Classes

struct  blender::StencilControlData

Namespaces

namespace  blender
 BMesh Iterators.

Macros

#define PIXEL_MARGIN   5

Enumerations

enum  blender::StencilControlMode { blender::STENCIL_TRANSLATE , blender::STENCIL_SCALE , blender::STENCIL_ROTATE }
enum  blender::StencilTextureMode { blender::STENCIL_PRIMARY = 0 , blender::STENCIL_SECONDARY = 1 }
enum  blender::StencilConstraint { blender::STENCIL_CONSTRAINT_NONE = 0 , blender::STENCIL_CONSTRAINT_X = 1 , blender::STENCIL_CONSTRAINT_Y = 2 }

Functions

static wmOperatorStatus blender::brush_scale_size_exec (bContext *C, wmOperator *op)
static void blender::BRUSH_OT_scale_size (wmOperatorType *ot)
static void blender::stencil_set_target (StencilControlData *scd)
static wmOperatorStatus blender::stencil_control_invoke (bContext *C, wmOperator *op, const wmEvent *event)
static void blender::stencil_restore (StencilControlData *scd)
static void blender::stencil_control_cancel (bContext *, wmOperator *op)
static void blender::stencil_control_calculate (StencilControlData *scd, const int mval[2])
static wmOperatorStatus blender::stencil_control_modal (bContext *C, wmOperator *op, const wmEvent *event)
static bool blender::stencil_control_poll (bContext *C)
static void blender::BRUSH_OT_stencil_control (wmOperatorType *ot)
static wmOperatorStatus blender::stencil_fit_image_aspect_exec (bContext *C, wmOperator *op)
static void blender::BRUSH_OT_stencil_fit_image_aspect (wmOperatorType *ot)
static wmOperatorStatus blender::stencil_reset_transform_exec (bContext *C, wmOperator *op)
static void blender::BRUSH_OT_stencil_reset_transform (wmOperatorType *ot)
void blender::ED_operatormacros_paint ()
void blender::ED_operatortypes_paint ()
static wmKeyMap * blender::paint_stroke_modal_keymap (wmKeyConfig *keyconf)
void blender::ED_keymap_paint (wmKeyConfig *keyconf)

Macro Definition Documentation

◆ PIXEL_MARGIN

#define PIXEL_MARGIN   5