Flutter Engine
The Flutter Engine
Namespaces | Enumerations | Functions
ShapeKeyframeAnimator.cpp File Reference
#include "include/core/SkPath.h"
#include "include/core/SkPathBuilder.h"
#include "include/private/base/SkAssert.h"
#include "include/private/base/SkPoint_impl.h"
#include "include/private/base/SkTo.h"
#include "modules/skottie/src/SkottieJson.h"
#include "modules/skottie/src/SkottieValue.h"
#include "modules/skottie/src/animator/Animator.h"
#include "modules/skottie/src/animator/VectorKeyframeAnimator.h"
#include "src/utils/SkJSON.h"
#include <cstddef>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  skottie
 
namespace  skottie::internal
 

Enumerations

enum  skottie::ShapeEncodingInfo : size_t {
  skottie::kX_Index = 0 , skottie::kY_Index = 1 , skottie::kInX_Index = 2 , skottie::kInY_Index = 3 ,
  skottie::kOutX_Index = 4 , skottie::kOutY_Index = 5 , skottie::kFloatsPerVertex = 6
}
 

Functions

static size_t skottie::shape_encoding_len (size_t vertex_count)
 
static const skjson::ObjectValueskottie::shape_root (const skjson::Value &jv)
 
static bool skottie::parse_encoding_len (const skjson::Value &jv, size_t *len)
 
static bool skottie::parse_encoding_data (const skjson::Value &jv, size_t data_len, float data[])