Blender  V3.3
Classes | Namespaces | Functions
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 "BKE_brush.h"
#include "BKE_context.h"
#include "BKE_paint.h"
#include "BKE_undo_system.h"
#include "DEG_depsgraph.h"
#include "ED_paint.h"
#include "ED_view3d.h"
#include "GPU_immediate.h"
#include "GPU_state.h"
#include "MEM_guardedalloc.h"
#include "RNA_access.h"
#include "RNA_define.h"
#include "WM_api.h"
#include "WM_message.h"
#include "WM_toolsystem.h"
#include "WM_types.h"
#include "ED_image.h"
#include "paint_intern.h"

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

 blender
 
 blender::ed
 
 blender::ed::sculpt_paint
 
 blender::ed::sculpt_paint::image
 
 blender::ed::sculpt_paint::image::ops
 
 blender::ed::sculpt_paint::image::ops::paint
 

Functions

static void blender::ed::sculpt_paint::image::ops::paint::gradient_draw_line (bContext *UNUSED(C), int x, int y, void *customdata)
 
static 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 *UNUSED(op), struct PaintStroke *stroke, PointerRNA *itemptr)
 
static void blender::ed::sculpt_paint::image::ops::paint::paint_stroke_redraw (const bContext *C, struct PaintStroke *stroke, bool final)
 
static void blender::ed::sculpt_paint::image::ops::paint::paint_stroke_done (const bContext *C, struct 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()

void PAINT_OT_image_paint ( wmOperatorType ot)