Blender V5.3
paint_image_ops_paint.cc File Reference

Painting operator to paint in 2D and 3D. More...

#include "DNA_brush_types.h"
#include "DNA_scene_types.h"
#include "DNA_space_types.h"
#include "DNA_windowmanager_types.h"
#include "BLI_listbase_iterator.hh"
#include "BLI_math_color_c.hh"
#include "BLI_math_matrix.hh"
#include "BLI_math_vector_c.hh"
#include "BKE_brush.hh"
#include "BKE_colortools.hh"
#include "BKE_context.hh"
#include "BKE_global.hh"
#include "BKE_layer.hh"
#include "BKE_object_types.hh"
#include "BKE_paint.hh"
#include "BKE_paint_types.hh"
#include "BKE_undo_system.hh"
#include "ED_image.hh"
#include "ED_paint.hh"
#include "ED_screen.hh"
#include "ED_view3d.hh"
#include "GPU_immediate.hh"
#include "GPU_state.hh"
#include "MEM_guardedalloc.h"
#include "RNA_access.hh"
#include "RNA_define.hh"
#include "WM_api.hh"
#include "WM_types.hh"
#include "image_paint_intern.hh"
#include "mesh_paint.hh"
#include "sculpt_automask.hh"
#include "sculpt_intern.hh"
#include "../paint_intern.hh"

Go to the source code of this file.

Classes

struct  blender::ed::sculpt_paint::image::ops::paint::PaintGradientData
struct  blender::ed::sculpt_paint::image::ops::paint::ImagePaintStroke
struct  blender::ed::sculpt_paint::image::ops::paint::TexturePaintStroke
struct  blender::ed::sculpt_paint::image::ops::paint::TexturePaintData
struct  blender::ed::sculpt_paint::image::ops::paint::ExperimentalTexturePaintStroke

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::ed
namespace  blender::ed::sculpt_paint
namespace  blender::ed::sculpt_paint::image
namespace  blender::ed::sculpt_paint::image::ops
namespace  blender::ed::sculpt_paint::image::ops::paint

Functions

static void blender::ed::sculpt_paint::image::ops::paint::gradient_draw_line (bContext *C, const int2 &xy, const float2 &, void *customdata)
static void blender::ed::sculpt_paint::image::ops::paint::stroke_cache_update (ViewContext &, Paint &paint, Object &object, const PaintStroke::StrokeStep &stroke_step)
static void blender::ed::sculpt_paint::image::ops::paint::do_brush_action (const Depsgraph &depsgraph, const Scene &scene, const Brush &brush, Object &ob, PaintModeData *paint_mode_data)
static PaintStroke * blender::ed::sculpt_paint::image::ops::paint::create_paint_stroke (bContext *C, wmOperator *op, const wmEvent *event)
static PaintStroke * blender::ed::sculpt_paint::image::ops::paint::get_paint_stroke (bContext *C, wmOperator *op)
static bool blender::ed::sculpt_paint::image::ops::paint::should_check_before_stroke_creation (bContext *C, wmOperator *op)
static bool blender::ed::sculpt_paint::image::ops::paint::check_preconditions (bContext *C, wmOperator *op)
static wmOperatorStatus blender::ed::sculpt_paint::image::ops::paint::paint_invoke (bContext *C, wmOperator *op, const wmEvent *event)
static wmOperatorStatus blender::ed::sculpt_paint::image::ops::paint::paint_exec (bContext *C, wmOperator *op)
static wmOperatorStatus blender::ed::sculpt_paint::image::ops::paint::paint_modal (bContext *C, wmOperator *op, const wmEvent *event)
static void blender::ed::sculpt_paint::image::ops::paint::paint_cancel (bContext *C, wmOperator *op)
void blender::PAINT_OT_image_paint (wmOperatorType *ot)

Detailed Description

Painting operator to paint in 2D and 3D.

Definition in file paint_image_ops_paint.cc.