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

◆ getHeight()

fl::u16 fl::third_party::SoftwareGifDecoder::getHeight ( ) const

Definition at line 184 of file software_decoder.cpp.hpp.

184 {
185 if (!ready_ || hasError_) {
186 return 0;
187 }
188
189 const nsgif_info_t* info = nsgif_get_info(gif_);
190 return info ? static_cast<fl::u16>(info->height) : 0;
191}
const nsgif_info_t * nsgif_get_info(const nsgif_t *gif) FL_NOEXCEPT
Get information about a GIF from an nsgif_t object.
Definition gif.cpp.hpp:1990
struct fl::third_party::nsgif_info nsgif_info_t
Information about a GIF.

References FL_NOEXCEPT, gif_, hasError_, fl::third_party::nsgif_info::height, fl::third_party::nsgif_get_info(), and ready_.

+ Here is the call graph for this function: