MCPcopy Create free account
hub / github.com/OSSystems/EasySplash / is_valid

Function is_valid

src/animation.cpp:214–220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

212
213
214bool is_valid(animation const &p_animation)
215{
216 return (p_animation.get_fps() != 0)
217 && (p_animation.get_output_width() != 0)
218 && (p_animation.get_output_height() != 0)
219 && (p_animation.get_num_parts() != 0);
220}
221
222
223bool operator < (animation_position const &p_first, animation_position const &p_second)

Callers 1

get_image_handle_atMethod · 0.70

Calls 4

get_fpsMethod · 0.80
get_output_widthMethod · 0.80
get_output_heightMethod · 0.80
get_num_partsMethod · 0.80

Tested by

no test coverage detected