FastLED 3.9.15
Loading...
Searching...
No Matches

◆ nsgif__bitmap_set_opaque()

static void fl::third_party::nsgif__bitmap_set_opaque ( const struct nsgif * gif,
const struct nsgif_frame * frame )
inlinestatic

Helper to tell the client that whether the bitmap is opaque.

Parameters
[in]gifThe gif object we're decoding.
[in]frameThe frame that has been decoded.

Definition at line 273 of file gif.cpp.hpp.

276{
277 if (gif->bitmap.set_opaque) {
278 gif->bitmap.set_opaque(
279 gif->frame_image, frame->opaque);
280 }
281}
bool opaque
whether the frame is totally opaque
Definition gif.cpp.hpp:45
nsgif_bitmap_t * frame_image
currently decoded image; stored as bitmap from bitmap_create callback
Definition gif.cpp.hpp:86
nsgif_bitmap_cb_vt bitmap
callbacks for bitmap functions
Definition gif.cpp.hpp:77
void(* set_opaque)(nsgif_bitmap_t *bitmap, bool opaque)
Set whether a bitmap can be plotted opaque.
Definition nsgif.hpp:215

References FL_NOEXCEPT.

Referenced by nsgif__update_bitmap().

+ Here is the caller graph for this function: