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

/external/chromium_org/third_party/skia/src/core/
H A DSkGeometry.h240 * return the power-of-2 number of quads needed to approximate this conic
246 * Chop this conic into N quads, stored continguously in pts[], where
259 /** Find the parameter value where the conic takes on its maximum curvature.
272 * Help class to allocate storage for approximating a conic with N quads.
279 * Given a conic and a tolerance, return the array of points for the
290 const SkPoint* computeQuads(const SkConic& conic, SkScalar tol) { argument
291 int pow2 = conic.computeQuadPOW2(tol);
294 conic.chopIntoQuadsPOW2(pts, pow2);
300 SkConic conic; local
301 conic
[all...]
H A DSkEdgeBuilder.cpp211 SkConic conic; local
212 conic.set(pts, iter.conicWeight());
213 int pow2 = conic.computeQuadPOW2(conicTol);
215 int quadCount = conic.chopIntoQuadsPOW2(storage, pow2);
254 SkConic conic; local
255 conic.set(pts, iter.conicWeight());
256 int pow2 = conic.computeQuadPOW2(conicTol);
258 int quadCount = conic.chopIntoQuadsPOW2(storage, pow2);
/external/skia/src/core/
H A DSkGeometry.h240 * return the power-of-2 number of quads needed to approximate this conic
246 * Chop this conic into N quads, stored continguously in pts[], where
259 /** Find the parameter value where the conic takes on its maximum curvature.
272 * Help class to allocate storage for approximating a conic with N quads.
279 * Given a conic and a tolerance, return the array of points for the
290 const SkPoint* computeQuads(const SkConic& conic, SkScalar tol) { argument
291 int pow2 = conic.computeQuadPOW2(tol);
294 conic.chopIntoQuadsPOW2(pts, pow2);
300 SkConic conic; local
301 conic
[all...]
H A DSkEdgeBuilder.cpp211 SkConic conic; local
212 conic.set(pts, iter.conicWeight());
213 int pow2 = conic.computeQuadPOW2(conicTol);
215 int quadCount = conic.chopIntoQuadsPOW2(storage, pow2);
254 SkConic conic; local
255 conic.set(pts, iter.conicWeight());
256 int pow2 = conic.computeQuadPOW2(conicTol);
258 int quadCount = conic.chopIntoQuadsPOW2(storage, pow2);
/external/chromium_org/third_party/skia/gm/
H A Dbeziereffects.cpp347 // where to chop the conic. If the max curvature is not
349 // dst[0] is the original conic. If it returns 2 the dst[0]
360 SkConic conic; local
361 conic.set(src, weight);
362 conic.chopAt(t, dst);
368 // Calls split_conic on the entire conic and then once more on each subsection.
369 // Most cases will result in either 1 conic (chop point is not within t range)
/external/skia/gm/
H A Dbeziereffects.cpp347 // where to chop the conic. If the max curvature is not
349 // dst[0] is the original conic. If it returns 2 the dst[0]
360 SkConic conic; local
361 conic.set(src, weight);
362 conic.chopAt(t, dst);
368 // Calls split_conic on the entire conic and then once more on each subsection.
369 // Most cases will result in either 1 conic (chop point is not within t range)
/external/chromium_org/third_party/skia/bench/
H A DPathBench.cpp861 static void rand_conic(SkConic* conic, SkRandom& rand) { argument
863 conic->fPts[i].set(rand.nextUScalar1() * 100, rand.nextUScalar1() * 100);
866 conic->fW = rand.nextUScalar1();
868 conic->fW = 1 + rand.nextUScalar1() * 4;
901 return "conic-compute-error";
923 return "conic-asQuadTol";
944 return "conic-quadPow2";
/external/skia/bench/
H A DPathBench.cpp861 static void rand_conic(SkConic* conic, SkRandom& rand) { argument
863 conic->fPts[i].set(rand.nextUScalar1() * 100, rand.nextUScalar1() * 100);
866 conic->fW = rand.nextUScalar1();
868 conic->fW = 1 + rand.nextUScalar1() * 4;
901 return "conic-compute-error";
923 return "conic-asQuadTol";
944 return "conic-quadPow2";
/external/chromium_org/third_party/skia/src/gpu/
H A DGrAAHairLinePathRenderer.cpp208 // where to chop the conic. If the max curvature is not
210 // dst[0] is the original conic. If it returns 2 the dst[0]
221 SkConic conic; local
222 conic.set(src, weight);
223 conic.chopAt(t, dst);
229 // Calls split_conic on the entire conic and then once more on each subsection.
230 // Most cases will result in either 1 conic (chop point is not within t range)
244 // returns 0 if quad/conic is degen or close to it
801 // Seed the dev bounds with some pts known to be inside. Each quad and conic grows the bounding
/external/skia/src/gpu/
H A DGrAAHairLinePathRenderer.cpp208 // where to chop the conic. If the max curvature is not
210 // dst[0] is the original conic. If it returns 2 the dst[0]
221 SkConic conic; local
222 conic.set(src, weight);
223 conic.chopAt(t, dst);
229 // Calls split_conic on the entire conic and then once more on each subsection.
230 // Most cases will result in either 1 conic (chop point is not within t range)
244 // returns 0 if quad/conic is degen or close to it
801 // Seed the dev bounds with some pts known to be inside. Each quad and conic grows the bounding

Completed in 2415 milliseconds