|
Blender V4.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 |
Definition at line 73 of file grease_pencil_fill.cc.
|
inline |
Definition at line 87 of file grease_pencil_fill.cc.
References BLI_assert, and has_buffer().
|
inline |
Definition at line 92 of file grease_pencil_fill.cc.
References BKE_image_acquire_ibuf(), BLI_assert, and has_buffer().
Referenced by blender::ed::greasepencil::process_image().
|
inline |
Definition at line 133 of file grease_pencil_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 82 of file grease_pencil_fill.cc.
Referenced by acquire(), release(), and ~ImageBufferAccessor().
|
inline |
Definition at line 123 of file grease_pencil_fill.cc.
Referenced by blender::ed::greasepencil::build_fill_boundary(), blender::ed::greasepencil::flood_fill(), and blender::ed::greasepencil::mark_borders().
Definition at line 139 of file grease_pencil_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 128 of file grease_pencil_fill.cc.
Referenced by blender::ed::greasepencil::build_fill_boundary(), blender::ed::greasepencil::dilate(), and blender::ed::greasepencil::erode().
|
inline |
Definition at line 154 of file grease_pencil_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 159 of file grease_pencil_fill.cc.
References index_from_coord().
|
inline |
Definition at line 149 of file grease_pencil_fill.cc.
|
inline |
Definition at line 144 of file grease_pencil_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 102 of file grease_pencil_fill.cc.
References BKE_image_release_ibuf(), BLI_assert, and has_buffer().
Referenced by blender::ed::greasepencil::process_image().
|
inline |
Definition at line 113 of file grease_pencil_fill.cc.
|
inline |
Definition at line 118 of file grease_pencil_fill.cc.
Referenced by blender::ed::greasepencil::build_fill_boundary(), blender::ed::greasepencil::flood_fill(), and blender::ed::greasepencil::mark_borders().