1049f1246e
Extended tests (150M+) run to completion in release in about 6 minutes; the standard test suite exceeds 100K and finishes in a few seconds on desktops. TBR=reed BUG=skia:3588 Review URL: https://codereview.chromium.org/1037953004
28 lines
845 B
C
28 lines
845 B
C
/*
|
|
* Copyright 2012 Google Inc.
|
|
*
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
* found in the LICENSE file.
|
|
*/
|
|
#ifndef PathOpsTestCommon_DEFINED
|
|
#define PathOpsTestCommon_DEFINED
|
|
|
|
#include "SkPathOpsConic.h"
|
|
#include "SkTArray.h"
|
|
|
|
struct SkPathOpsBounds;
|
|
|
|
void CubicPathToQuads(const SkPath& cubicPath, SkPath* quadPath);
|
|
void CubicPathToSimple(const SkPath& cubicPath, SkPath* simplePath);
|
|
void CubicToQuads(const SkDCubic& cubic, double precision, SkTArray<SkDQuad, true>& quads);
|
|
bool ValidBounds(const SkPathOpsBounds& );
|
|
bool ValidConic(const SkDConic& cubic);
|
|
bool ValidCubic(const SkDCubic& cubic);
|
|
bool ValidLine(const SkDLine& line);
|
|
bool ValidPoint(const SkDPoint& pt);
|
|
bool ValidPoints(const SkPoint* pts, int count);
|
|
bool ValidQuad(const SkDQuad& quad);
|
|
bool ValidVector(const SkDVector& v);
|
|
|
|
#endif
|