2 * Copyright 2016 Google Inc.
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
8 #ifndef SkPathMeasurePriv_DEFINED
9 #define SkPathMeasurePriv_DEFINED
11 #include "include/core/SkPath.h"
12 #include "include/core/SkPoint.h"
13 #include "src/core/SkGeometry.h"
15 // Used in the Segment struct defined in SkPathMeasure.h
16 // It is used as a 2-bit field so if you add to this
17 // you must increase the size of the bitfield there.
26 void SkPathMeasure_segTo(const SkPoint pts[], unsigned segType,
27 SkScalar startT, SkScalar stopT, SkPath* dst);
29 #endif // SkPathMeasurePriv_DEFINED