Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
SkReduceOrder.h
Go to the documentation of this file.
1/*
2 * Copyright 2012 Google Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7#ifndef SkReduceOrder_DEFINED
8#define SkReduceOrder_DEFINED
9
10#include "include/core/SkPath.h"
14
15struct SkConic;
16struct SkPoint;
17
23
24 int reduce(const SkDCubic& cubic, Quadratics);
25 int reduce(const SkDLine& line);
26 int reduce(const SkDQuad& quad);
27
28 static SkPath::Verb Conic(const SkConic& conic, SkPoint* reducePts);
29 static SkPath::Verb Cubic(const SkPoint pts[4], SkPoint* reducePts);
30 static SkPath::Verb Quad(const SkPoint pts[3], SkPoint* reducePts);
31
35};
36
37#endif
SkDCubic fCubic
static SkPath::Verb Cubic(const SkPoint pts[4], SkPoint *reducePts)
static SkPath::Verb Conic(const SkConic &conic, SkPoint *reducePts)
int reduce(const SkDCubic &cubic, Quadratics)
static SkPath::Verb Quad(const SkPoint pts[3], SkPoint *reducePts)