|
Blender V5.0
|
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 74 of file grease_pencil_fill.cc.
|
inline |
Definition at line 88 of file grease_pencil_fill.cc.
References BLI_assert, and has_buffer().
|
inline |
Definition at line 93 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 134 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 83 of file grease_pencil_fill.cc.
Referenced by acquire(), release(), and ~ImageBufferAccessor().
|
inline |
Definition at line 124 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().
|
inline |
Definition at line 140 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 129 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 155 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 160 of file grease_pencil_fill.cc.
References index_from_coord().
|
inline |
Definition at line 150 of file grease_pencil_fill.cc.
|
inline |
Definition at line 145 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 103 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 114 of file grease_pencil_fill.cc.
|
inline |
Definition at line 119 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().