|
Blender V5.3
|
Public Member Functions | |
| bool | has_buffer () const |
| ~ImageBufferAccessor () | |
| void | acquire (Image &ima) |
| void | release () |
| int2 | size () const |
| int | width () const |
| int | height () const |
| bool | is_valid_coord (const int2 &c) const |
| int2 | coord_from_index (const int index) const |
| int | index_from_coord (const int2 &c) const |
| Span< ColorGeometry4b > | pixels () const |
| MutableSpan< ColorGeometry4b > | pixels () |
| ColorGeometry4b & | pixel_from_coord (const int2 &c) |
| const ColorGeometry4b & | pixel_from_coord (const int2 &c) const |
|
inline |
Definition at line 93 of file fill.cc.
References blender::BLI_assert(), and has_buffer().
|
inline |
Definition at line 98 of file fill.cc.
References blender::BKE_image_acquire_ibuf(), blender::BLI_assert(), has_buffer(), and blender::MutableSpan< T >::MutableSpan().
Referenced by blender::ed::greasepencil::process_image().
|
inline |
Definition at line 139 of file fill.cc.
Referenced by blender::ed::greasepencil::boundary_to_curves(), blender::ed::greasepencil::build_fill_boundary(), blender::ed::greasepencil::dilate(), blender::ed::greasepencil::erode(), and blender::ed::greasepencil::flood_fill().
|
inline |
Definition at line 88 of file fill.cc.
Referenced by acquire(), release(), and ~ImageBufferAccessor().
|
inline |
Definition at line 129 of file fill.cc.
Referenced by blender::ed::greasepencil::build_fill_boundary(), blender::ed::greasepencil::flood_fill(), and blender::ed::greasepencil::mark_borders().
|
inline |
Definition at line 145 of file fill.cc.
Referenced by blender::ed::greasepencil::build_fill_boundary(), blender::ed::greasepencil::flood_fill(), pixel_from_coord(), and pixel_from_coord().
|
inline |
Definition at line 134 of file fill.cc.
Referenced by blender::ed::greasepencil::build_fill_boundary(), blender::ed::greasepencil::dilate(), and blender::ed::greasepencil::erode().
|
inline |
Definition at line 160 of file fill.cc.
References index_from_coord().
Referenced by blender::ed::greasepencil::dilate(), blender::ed::greasepencil::erode(), and blender::ed::greasepencil::flood_fill().
|
inline |
Definition at line 165 of file fill.cc.
References index_from_coord().
|
inline |
|
inline |
Definition at line 150 of file fill.cc.
Referenced by blender::ed::greasepencil::build_fill_boundary(), blender::ed::greasepencil::convert_colors_to_flags(), blender::ed::greasepencil::convert_flags_to_colors(), blender::ed::greasepencil::dilate(), blender::ed::greasepencil::erode(), blender::ed::greasepencil::flood_fill(), blender::ed::greasepencil::invert_fill(), and blender::ed::greasepencil::mark_borders().
|
inline |
Definition at line 108 of file fill.cc.
References blender::BKE_image_release_ibuf(), blender::BLI_assert(), and has_buffer().
Referenced by blender::ed::greasepencil::process_image().
|
inline |
|
inline |
Definition at line 124 of file fill.cc.
Referenced by blender::ed::greasepencil::build_fill_boundary(), blender::ed::greasepencil::flood_fill(), and blender::ed::greasepencil::mark_borders().