Blender V4.3
grease_pencil_paint_common.cc File Reference
#include "BKE_brush.hh"
#include "BKE_colortools.hh"
#include "BKE_context.hh"
#include "BKE_crazyspace.hh"
#include "BKE_curves.hh"
#include "BKE_grease_pencil.hh"
#include "BKE_paint.hh"
#include "BLI_index_mask.hh"
#include "BLI_math_vector.hh"
#include "BLI_task.hh"
#include "DEG_depsgraph_query.hh"
#include "DNA_brush_types.h"
#include "DNA_node_tree_interface_types.h"
#include "DNA_screen_types.h"
#include "DNA_view3d_types.h"
#include "ED_grease_pencil.hh"
#include "ED_view3d.hh"
#include "grease_pencil_intern.hh"
#include <iostream>

Go to the source code of this file.

Namespaces

namespace  blender
 
namespace  blender::ed
 
namespace  blender::ed::sculpt_paint
 
namespace  blender::ed::sculpt_paint::greasepencil
 

Functions

Vector< ed::greasepencil::MutableDrawingInfoblender::ed::sculpt_paint::greasepencil::get_drawings_for_painting (const bContext &C)
 
void blender::ed::sculpt_paint::greasepencil::init_brush (Brush &brush)
 
float blender::ed::sculpt_paint::greasepencil::brush_radius (const Scene &scene, const Brush &brush, float pressure)
 
float blender::ed::sculpt_paint::greasepencil::brush_point_influence (const Scene &scene, const Brush &brush, const float2 &co, const InputSample &sample, float multi_frame_falloff)
 
float blender::ed::sculpt_paint::greasepencil::closest_distance_to_surface_2d (const float2 pt, const Span< float2 > verts)
 
float blender::ed::sculpt_paint::greasepencil::brush_fill_influence (const Scene &scene, const Brush &brush, Span< float2 > fill_positions, const InputSample &sample, float multi_frame_falloff)
 
IndexMask blender::ed::sculpt_paint::greasepencil::brush_point_influence_mask (const Scene &scene, const Brush &brush, const float2 &mouse_position, float pressure, float multi_frame_falloff, const IndexMask &selection, Span< float2 > view_positions, Vector< float > &influences, IndexMaskMemory &memory)
 
bool blender::ed::sculpt_paint::greasepencil::is_brush_inverted (const Brush &brush, BrushStrokeMode stroke_mode)
 
DeltaProjectionFunc blender::ed::sculpt_paint::greasepencil::get_screen_projection_fn (const GreasePencilStrokeParams &params, const Object &object, const bke::greasepencil::Layer &layer)
 
IndexMask blender::ed::sculpt_paint::greasepencil::point_selection_mask (const GreasePencilStrokeParams &params, const bool use_masking, IndexMaskMemory &memory)
 
IndexMask blender::ed::sculpt_paint::greasepencil::stroke_selection_mask (const GreasePencilStrokeParams &params, const bool use_masking, IndexMaskMemory &memory)
 
IndexMask blender::ed::sculpt_paint::greasepencil::fill_selection_mask (const GreasePencilStrokeParams &params, const bool use_masking, IndexMaskMemory &memory)
 
bke::crazyspace::GeometryDeformation blender::ed::sculpt_paint::greasepencil::get_drawing_deformation (const GreasePencilStrokeParams &params)
 
Array< float2blender::ed::sculpt_paint::greasepencil::calculate_view_positions (const GreasePencilStrokeParams &params, const IndexMask &selection)
 
Array< floatblender::ed::sculpt_paint::greasepencil::calculate_view_radii (const GreasePencilStrokeParams &params, const IndexMask &selection)
 
bool blender::ed::sculpt_paint::greasepencil::do_vertex_color_points (const Brush &brush)
 
bool blender::ed::sculpt_paint::greasepencil::do_vertex_color_fill (const Brush &brush)