CDC Badge OS
Firmware for the CDC Badge v1.0 hardware security key
Loading...
Searching...
No Matches
CanvasAnim.cpp File Reference

Fixed-point easing, element-offset tween engine and sprite store for the plugin canvas. Dependency-free (see CanvasAnim.h). More...

#include "cdc_views/CanvasAnim.h"
#include <cstring>

Go to the source code of this file.

Namespaces

namespace  cdc
namespace  cdc::ui
 Centralized key-code constants for cdc_views.
namespace  cdc::ui::anim

Functions

int32_t cdc::ui::anim::ease (uint8_t curve, int32_t t)
 Apply an easing curve to a normalized 8.8 fixed-point time.

Detailed Description

Fixed-point easing, element-offset tween engine and sprite store for the plugin canvas. Dependency-free (see CanvasAnim.h).

Definition in file CanvasAnim.cpp.