Flutter Engine
The Flutter Engine
|
#include "include/core/SkCanvas.h"
#include "include/core/SkFont.h"
#include "include/core/SkPaint.h"
#include "include/core/SkPath.h"
#include "include/private/base/SkTArray.h"
#include "tools/fonts/FontToolUtils.h"
#include "tools/viewer/ClickHandlerSlide.h"
#include <tuple>
Go to the source code of this file.
Classes | |
class | SampleFitCubicToCircle |
class | SampleFitCubicToCircle::Click |
Macros | |
#define | M_PI 3.14159265358979323846264338327950288 |
#define | M_SQRT2 1.41421356237309504880168872420969808 |
Functions | |
static float | fit_cubic_to_unit_circle (double x0, double y0, double x1, double y1, std::array< double, 4 > *X, std::array< double, 4 > *Y) |
static double | lerp (double x, double y, double T) |
static std::tuple< double, double, double > | eval_cubic (double x[], double T) |
double | find_max_error_T (double cubicX[4], double cubicY[4]) |
Variables | |
static constexpr int | kCenterX = 300 |
static constexpr int | kCenterY = 325 |
static constexpr int | kRadius = 250 |
#define M_PI 3.14159265358979323846264338327950288 |
Definition at line 22 of file FitCubicToCircleSlide.cpp.
#define M_SQRT2 1.41421356237309504880168872420969808 |
Definition at line 26 of file FitCubicToCircleSlide.cpp.
|
static |
Definition at line 92 of file FitCubicToCircleSlide.cpp.
double find_max_error_T | ( | double | cubicX[4], |
double | cubicY[4] | ||
) |
Definition at line 110 of file FitCubicToCircleSlide.cpp.
|
static |
Definition at line 76 of file FitCubicToCircleSlide.cpp.
|
static |
|
staticconstexpr |
Definition at line 29 of file FitCubicToCircleSlide.cpp.
|
staticconstexpr |
Definition at line 30 of file FitCubicToCircleSlide.cpp.
|
staticconstexpr |
Definition at line 31 of file FitCubicToCircleSlide.cpp.