Blender V4.3
paint_image_ops_paint.cc File Reference

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

#include "DNA_brush_types.h"
#include "DNA_color_types.h"
#include "DNA_scene_types.h"
#include "DNA_space_types.h"
#include "BLI_math_color.h"
#include "BKE_brush.hh"
#include "BKE_context.hh"
#include "BKE_layer.hh"
#include "BKE_paint.hh"
#include "BKE_undo_system.hh"
#include "ED_paint.hh"
#include "ED_view3d.hh"
#include "GPU_immediate.hh"
#include "GPU_state.hh"
#include "MEM_guardedalloc.h"
#include "RNA_access.hh"
#include "WM_api.hh"
#include "WM_types.hh"
#include "ED_image.hh"
#include "paint_intern.hh"

Go to the source code of this file.

Classes

class  blender::ed::sculpt_paint::image::ops::paint::AbstractPaintMode
 
class  blender::ed::sculpt_paint::image::ops::paint::ImagePaintMode
 
class  blender::ed::sculpt_paint::image::ops::paint::ProjectionPaintMode
 
struct  blender::ed::sculpt_paint::image::ops::paint::PaintOperation
 

Namespaces

namespace  blender
 
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 *, int x, int y, void *customdata)
 
static std::unique_ptr< PaintOperationblender::ed::sculpt_paint::image::ops::paint::texture_paint_init (bContext *C, wmOperator *op, const float mouse[2])
 
static void blender::ed::sculpt_paint::image::ops::paint::paint_stroke_update_step (bContext *C, wmOperator *, PaintStroke *stroke, PointerRNA *itemptr)
 
static void blender::ed::sculpt_paint::image::ops::paint::paint_stroke_redraw (const bContext *C, PaintStroke *stroke, bool final)
 
static void blender::ed::sculpt_paint::image::ops::paint::paint_stroke_done (const bContext *C, PaintStroke *stroke)
 
static bool blender::ed::sculpt_paint::image::ops::paint::paint_stroke_test_start (bContext *C, wmOperator *op, const float mouse[2])
 
static int blender::ed::sculpt_paint::image::ops::paint::paint_invoke (bContext *C, wmOperator *op, const wmEvent *event)
 
static int blender::ed::sculpt_paint::image::ops::paint::paint_exec (bContext *C, wmOperator *op)
 
static int 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 PAINT_OT_image_paint (wmOperatorType *ot)
 

Detailed Description

Painting operator to paint in 2D and 3D.

Definition in file paint_image_ops_paint.cc.

Function Documentation

◆ PAINT_OT_image_paint()