|
| static IndexMask | blender::ed::greasepencil::get_visible_boundary_strokes (const Object &object, const DrawingInfo &info, const bool is_boundary_layer, IndexMaskMemory &memory) |
| |
| static VArray< ColorGeometry4f > | blender::ed::greasepencil::get_stroke_colors (const Object &object, const bke::CurvesGeometry &curves, const VArray< float > &opacities, const VArray< int > materials, const ColorGeometry4f &tint_color, const std::optional< float > alpha_threshold) |
| |
| static rctf | blender::ed::greasepencil::get_region_bounds (const ARegion ®ion) |
| |
| static rctf | blender::ed::greasepencil::get_boundary_bounds (const ARegion ®ion, const RegionView3D &rv3d, const Object &object, const Object &object_eval, const VArray< bool > &boundary_layers, const Span< DrawingInfo > src_drawings) |
| |
| static auto | blender::ed::greasepencil::fit_strokes_to_view (const ViewContext &view_context, const VArray< bool > &boundary_layers, const Span< DrawingInfo > src_drawings, const FillToolFitMethod fit_method, const float2 fill_point, const bool uniform_zoom, const float max_zoom_factor, const float2 margin) |
| |
| bke::CurvesGeometry | blender::ed::greasepencil::fill_strokes (const ViewContext &view_context, const Brush &brush, const Scene &scene, const bke::greasepencil::Layer &layer, const VArray< bool > &boundary_layers, Span< DrawingInfo > src_drawings, bool invert, const std::optional< float > alpha_threshold, const float2 &fill_point, const ExtensionData &extensions, FillToolFitMethod fit_method, int stroke_material_index, bool keep_images) |
| |
|
| enum class | blender::ed::greasepencil::FillResult { blender::ed::greasepencil::Success
, blender::ed::greasepencil::BorderContact
} |
| |
| enum | blender::ed::greasepencil::FillBorderMode { blender::ed::greasepencil::Cancel
, blender::ed::greasepencil::Ignore
} |
| |
| constexpr const int | blender::ed::greasepencil::num_directions = 8 |
| |
| static const int2 | blender::ed::greasepencil::offset_by_direction [num_directions] |
| |
| static bool | blender::ed::greasepencil::get_flag (const ColorGeometry4b &color, const ColorFlag flag) |
| |
| static void | blender::ed::greasepencil::set_flag (ColorGeometry4b &color, const ColorFlag flag, bool value) |
| |
| static void | blender::ed::greasepencil::convert_colors_to_flags (ImageBufferAccessor &buffer) |
| |
| static void | blender::ed::greasepencil::convert_flags_to_colors (ImageBufferAccessor &buffer) |
| |
| static void | blender::ed::greasepencil::mark_borders (ImageBufferAccessor &buffer) |
| |
| template<FillBorderMode border_mode> |
| FillResult | blender::ed::greasepencil::flood_fill (ImageBufferAccessor &buffer, const int leak_filter_width=0) |
| |
| static void | blender::ed::greasepencil::invert_fill (ImageBufferAccessor &buffer) |
| |
| static void | blender::ed::greasepencil::dilate (ImageBufferAccessor &buffer, int iterations=1) |
| |
| static void | blender::ed::greasepencil::erode (ImageBufferAccessor &buffer, int iterations=1) |
| |
| static int | blender::ed::greasepencil::wrap_dir_3n (const int dir) |
| |
| static FillBoundary | blender::ed::greasepencil::build_fill_boundary (const ImageBufferAccessor &buffer, bool include_holes) |
| |
| static bke::CurvesGeometry | blender::ed::greasepencil::boundary_to_curves (const Scene &scene, const ViewContext &view_context, const Brush &brush, const FillBoundary &boundary, const ImageBufferAccessor &buffer, const ed::greasepencil::DrawingPlacement &placement, const int material_index, const float hardness) |
| |
| static bke::CurvesGeometry | blender::ed::greasepencil::process_image (Image &ima, const Scene &scene, const ViewContext &view_context, const Brush &brush, const ed::greasepencil::DrawingPlacement &placement, const int stroke_material_index, const float stroke_hardness, const bool invert, const bool output_as_colors) |
| |