Searched refs:kPointCount (Results 1 - 10 of 10) sorted by relevance

/external/skia/src/pathops/
H A DSkPathOpsQuad.h22 static const int kPointCount = 3; member in struct:SkDQuad
23 static const int kPointLast = kPointCount - 1;
26 SkDPoint fPts[kPointCount];
50 const SkDQuad& set(const SkPoint pts[kPointCount]) {
57 const SkDPoint& operator[](int n) const { SkASSERT(n >= 0 && n < kPointCount); return fPts[n]; }
58 SkDPoint& operator[](int n) { SkASSERT(n >= 0 && n < kPointCount); return fPts[n]; }
77 static SkDQuad SubDivide(const SkPoint a[kPointCount], double t1, double t2) {
83 static SkDPoint SubDivide(const SkPoint pts[kPointCount], const SkDPoint& a, const SkDPoint& c,
H A DSkPathOpsCubic.h21 static const int kPointCount = 4; member in struct:SkDCubic
22 static const int kPointLast = kPointCount - 1;
53 const SkDPoint& operator[](int n) const { SkASSERT(n >= 0 && n < kPointCount); return fPts[n]; }
54 SkDPoint& operator[](int n) { SkASSERT(n >= 0 && n < kPointCount); return fPts[n]; }
62 int convexHull(char order[kPointCount]) const;
76 static int FindInflections(const SkPoint a[kPointCount], double tValues[2]) {
89 void otherPts(int index, const SkDPoint* o1Pts[kPointCount - 1]) const;
108 const SkDCubic& set(const SkPoint pts[kPointCount]) {
118 static SkDCubic SubDivide(const SkPoint a[kPointCount], double t1, double t2) {
125 static void SubDivide(const SkPoint pts[kPointCount], cons
[all...]
H A DSkPathOpsConic.h15 static const int kPointCount = 3; member in struct:SkDConic
16 static const int kPointLast = kPointCount - 1;
41 const SkDConic& set(const SkPoint pts[kPointCount], SkScalar weight) {
99 static SkDConic SubDivide(const SkPoint a[kPointCount], SkScalar weight, double t1, double t2) {
108 static SkDPoint SubDivide(const SkPoint pts[kPointCount], SkScalar weight,
H A DSkDConicLineIntersection.cpp173 for (int cIndex = 0; cIndex < SkDConic::kPointCount; cIndex += SkDConic::kPointLast) {
184 for (int cIndex = 0; cIndex < SkDConic::kPointCount; cIndex += SkDConic::kPointLast) {
199 for (int cIndex = 0; cIndex < SkDConic::kPointCount; cIndex += SkDConic::kPointLast) {
210 for (int cIndex = 0; cIndex < SkDConic::kPointCount; cIndex += SkDConic::kPointLast) {
225 for (int cIndex = 0; cIndex < SkDConic::kPointCount; cIndex += SkDConic::kPointLast) {
236 for (int cIndex = 0; cIndex < SkDConic::kPointCount; cIndex += SkDConic::kPointLast) {
H A DSkPathOpsQuad.cpp23 for (int oddMan = 0; oddMan < kPointCount; ++oddMan) {
36 for (int n = 0; n < kPointCount; ++n) {
69 for (int opp = 1; opp < kPointCount; ++opp) {
H A DSkPathOpsCurve.h31 for (int index = 0; index < SkDQuad::kPointCount; ++index) {
39 for (int index = 0; index < SkDCubic::kPointCount; ++index) {
H A DSkPathOpsCubic.cpp202 return hullIntersects(c2.fPts, c2.kPointCount, isLinear);
206 return hullIntersects(quad.fPts, quad.kPointCount, isLinear);
304 void SkDCubic::otherPts(int index, const SkDPoint* o1Pts[kPointCount - 1]) const {
H A DSkPathOpsTSect.h573 for (int outer = 0; outer < TCurve::kPointCount - 1; ++outer) {
574 for (int inner = outer + 1; inner < TCurve::kPointCount; ++inner) {
592 for (int n = 0; n < OppCurve::kPointCount; ++n) {
632 const SkDPoint* otherPts[TCurve::kPointCount - 1], * oppOtherPts[OppCurve::kPointCount - 1];
/external/skia/src/core/
H A DSkGeometry.h331 kPointCount = 1 + 2 * kQuadCount, enumerator in enum:SkAutoConicToQuads::__anon13901
333 SkAutoSTMalloc<kPointCount, SkPoint> fStorage;
/external/skia/tests/
H A DPathOpsTestCommon.cpp269 for (int index = 0; index < SkDConic::kPointCount; ++index) {

Completed in 123 milliseconds