5#ifndef FLUTTER_LIB_UI_PAINTING_PATH_MEASURE_H_
6#define FLUTTER_LIB_UI_PAINTING_PATH_MEASURE_H_
10#include "flutter/lib/ui/dart_wrapper.h"
11#include "flutter/lib/ui/painting/path.h"
22 DEFINE_WRAPPERTYPEINFO();
38 bool start_with_move_to);
47 std::unique_ptr<SkContourMeasureIter> path_measure_;
48 std::vector<sk_sp<SkContourMeasure>> measures_;
~CanvasPathMeasure() override
bool isClosed(int contour_index)
void setPath(const CanvasPath *path, bool isClosed)
void getSegment(Dart_Handle path_handle, int contour_index, double start_d, double stop_d, bool start_with_move_to)
const SkContourMeasureIter & pathMeasure() const
double getLength(int contour_index)
static void Create(Dart_Handle wrapper, const CanvasPath *path, bool forceClosed)
tonic::Float32List getPosTan(int contour_index, double distance)
struct _Dart_Handle * Dart_Handle
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir path