Searched refs:pts (Results 301 - 325 of 556) sorted by relevance

<<11121314151617181920>>

/external/skqp/src/core/
H A DSkRegion_path.cpp273 SkPoint pts[4]; local
280 while ((verb = iter.next(pts, false)) != SkPath::kDone_Verb) {
286 if (top > pts[i].fY) {
287 top = pts[i].fY;
288 } else if (bot < pts[i].fY) {
289 bot = pts[i].fY;
293 if (top > pts[0].fY) {
294 top = pts[0].fY;
295 } else if (bot < pts[0].fY) {
296 bot = pts[
[all...]
H A DSkGeometry.cpp921 dst[i] = pair.pts[i].asSkPoint();
1202 static SkPoint* subdivide(const SkConic& src, SkPoint pts[], int level) { argument
1206 memcpy(pts, &src.fPts[1], 2 * sizeof(SkPoint));
1207 return pts + 2;
1238 pts = subdivide(dst[0], pts, level);
1239 return subdivide(dst[1], pts, level);
1243 int SkConic::chopIntoQuadsPOW2(SkPoint pts[], int pow2) const {
1245 *pts = fPts[0];
1253 pts[
1320 SkPoint pts[4]; local
1346 TransformW(const SkPoint pts[], SkScalar w, const SkMatrix& matrix) argument
[all...]
H A DSkScan_Path.cpp695 static int build_tri_edges(SkEdge edge[], const SkPoint pts[], argument
699 if (edge->setLine(pts[0], pts[1], clipRect, 0)) {
703 if (edge->setLine(pts[1], pts[2], clipRect, 0)) {
707 if (edge->setLine(pts[2], pts[0], clipRect, 0)) {
714 static void sk_fill_triangle(const SkPoint pts[], const SkIRect* clipRect, argument
716 SkASSERT(pts && blitter);
721 int count = build_tri_edges(edgeStorage, pts, clipRec
755 FillTriangle(const SkPoint pts[], const SkRasterClip& clip, SkBlitter* blitter) argument
[all...]
/external/skia/src/core/
H A DSkGeometry.cpp921 dst[i] = pair.pts[i].asSkPoint();
1209 static SkPoint* subdivide(const SkConic& src, SkPoint pts[], int level) { argument
1213 memcpy(pts, &src.fPts[1], 2 * sizeof(SkPoint));
1214 return pts + 2;
1245 pts = subdivide(dst[0], pts, level);
1246 return subdivide(dst[1], pts, level);
1250 int SkConic::chopIntoQuadsPOW2(SkPoint pts[], int pow2) const {
1252 *pts = fPts[0];
1260 pts[
1327 SkPoint pts[4]; local
1353 TransformW(const SkPoint pts[], SkScalar w, const SkMatrix& matrix) argument
[all...]
H A DSkScan_Path.cpp674 static int build_tri_edges(SkEdge edge[], const SkPoint pts[], argument
678 if (edge->setLine(pts[0], pts[1], clipRect, 0)) {
682 if (edge->setLine(pts[1], pts[2], clipRect, 0)) {
686 if (edge->setLine(pts[2], pts[0], clipRect, 0)) {
693 static void sk_fill_triangle(const SkPoint pts[], const SkIRect* clipRect, argument
695 SkASSERT(pts && blitter);
700 int count = build_tri_edges(edgeStorage, pts, clipRec
734 FillTriangle(const SkPoint pts[], const SkRasterClip& clip, SkBlitter* blitter) argument
[all...]
/external/skia/include/core/
H A DSkPath.h961 Quad array is stored in pts; this storage is supplied by caller.
964 next quad. Maximum pts storage size is given by: (1 + 2 * (1 << pow2)) * sizeof(SkPoint).
980 @param pts storage for quad array
982 @return number of quad curves written to pts
985 SkScalar w, SkPoint pts[], int pow2);
1156 Contour added starts at pts[0], then adds a line for every additional SkPoint
1157 in pts array. If close is true,appends kClose_Verb to SkPath, connecting
1158 pts[count - 1] and pts[0].
1163 @param pts arra
1402 next(SkPoint pts[4], bool doConsumeDegenerates = true, bool exact = false) argument
1492 next(SkPoint pts[4]) argument
[all...]
/external/skqp/include/core/
H A DSkPath.h1003 Quad array is stored in pts; this storage is supplied by caller.
1006 next quad. Maximum pts storage size is given by: (1 + 2 * (1 << pow2)) * sizeof(SkPoint).
1022 @param pts storage for quad array
1024 @return number of quad curves written to pts
1027 SkScalar w, SkPoint pts[], int pow2);
1198 Contour added starts at pts[0], then adds a line for every additional SkPoint
1199 in pts array. If close is true,appends kClose_Verb to SkPath, connecting
1200 pts[count - 1] and pts[0].
1205 @param pts arra
1444 next(SkPoint pts[4], bool doConsumeDegenerates = true, bool exact = false) argument
1534 next(SkPoint pts[4]) argument
[all...]
/external/skia/gm/
H A Dtilemodes.cpp26 SkPoint pts[] = { { 0, 0 }, { SkIntToScalar(w), SkIntToScalar(h)} }; local
32 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos, SK_ARRAY_COUNT(colors),
170 SkPoint pts[] = { { 0, 0 }, { SkIntToScalar(gWidth), SkIntToScalar(gHeight)} }; local
178 return SkGradientShader::MakeLinear(pts, colors, nullptr, SK_ARRAY_COUNT(colors), tx);
283 const SkPoint pts[] = {{ 0, 0 }, {img->width()*1.0f, img->height()*1.0f }};
286 paint->setShader(SkGradientShader::MakeLinear(pts, colors, pos, count, tx));
H A Dbeziereffects.cpp92 SkPoint* pts = reinterpret_cast<SkPoint*>(helper.init(target, vertexStride, 1)); variable
93 if (!pts) {
97 SkPointPriv::SetRectTriStrip(pts, rect.fLeft, rect.fTop, rect.fRight, rect.fBottom, vertexStride);
198 SkPoint* pts = chopped + 3 * c; variable
201 canvas->drawCircle(pts[i], 3.f, choppedPtPaint);
205 bounds.set(pts, 4);
383 SkPoint* pts = dst[c].fPts; variable
385 canvas->drawCircle(pts[i], 3.f, choppedPtPaint);
391 bounds.set(pts, 3);
589 SkPoint* pts variable
[all...]
H A Daarectmodes.cpp17 SkPoint pts[] = { local
37 SkPoint* ptPtr = pts;
H A Dcolormatrix.cpp68 SkPoint pts[] = {{0, 0}, {SkIntToScalar(width), SkIntToScalar(height)}}; local
71 paint.setShader(SkGradientShader::MakeLinear(pts, colors, nullptr, 2,
H A Dconstcolorprocessor.cpp44 SkPoint pts[] = { SkPoint::Make(0, 0), SkPoint::Make(kRectSize, kRectSize) }; variable
45 fShader = SkGradientShader::MakeLinear(pts, colors, nullptr, SK_ARRAY_COUNT(colors),
H A Dlcdblendmodes.cpp27 const SkPoint pts[] = { local
34 return SkGradientShader::MakeLinear(pts, colors, nullptr, SK_ARRAY_COUNT(colors),
H A Dmatrixconvolution.cpp43 SkPoint pts[2] = { SkPoint::Make(0, 0), local
47 pts, fColors, pos, 2, SkShader::kClamp_TileMode));
H A Dsrcmode.cpp26 const SkPoint pts[] = { { 0, 0 }, { W, H } }; local
27 paint->setShader(SkGradientShader::MakeLinear(pts, colors, nullptr, SK_ARRAY_COUNT(colors),
/external/skia/src/gpu/
H A DGrShape.cpp524 SkPoint pts[2]; local
529 } else if (this->path().isLine(pts)) {
531 fLineData.fPts[0] = pts[0];
532 fLineData.fPts[1] = pts[1];
686 SkPoint* pts = fLineData.fPts; local
687 if (pts[1].fY < pts[0].fY || (pts[1].fY == pts[0].fY && pts[
[all...]
/external/skqp/gm/
H A Dbeziereffects.cpp92 SkPoint* pts = reinterpret_cast<SkPoint*>(helper.init(target, vertexStride, 1)); variable
93 if (!pts) {
97 SkPointPriv::SetRectTriStrip(pts, rect.fLeft, rect.fTop, rect.fRight, rect.fBottom, vertexStride);
198 SkPoint* pts = chopped + 3 * c; variable
201 canvas->drawCircle(pts[i], 3.f, choppedPtPaint);
205 bounds.set(pts, 4);
383 SkPoint* pts = dst[c].fPts; variable
385 canvas->drawCircle(pts[i], 3.f, choppedPtPaint);
391 bounds.set(pts, 3);
589 SkPoint* pts variable
[all...]
H A Daarectmodes.cpp17 SkPoint pts[] = { local
37 SkPoint* ptPtr = pts;
H A Dcolormatrix.cpp68 SkPoint pts[] = {{0, 0}, {SkIntToScalar(width), SkIntToScalar(height)}}; local
71 paint.setShader(SkGradientShader::MakeLinear(pts, colors, nullptr, 2,
H A Dconstcolorprocessor.cpp44 SkPoint pts[] = { SkPoint::Make(0, 0), SkPoint::Make(kRectSize, kRectSize) }; variable
45 fShader = SkGradientShader::MakeLinear(pts, colors, nullptr, SK_ARRAY_COUNT(colors),
/external/skqp/src/gpu/
H A DGrShape.cpp476 SkPoint pts[2]; local
481 } else if (this->path().isLine(pts)) {
483 fLineData.fPts[0] = pts[0];
484 fLineData.fPts[1] = pts[1];
637 SkPoint* pts = fLineData.fPts; local
638 if (pts[1].fY < pts[0].fY || (pts[1].fY == pts[0].fY && pts[
[all...]
/external/libvpx/libvpx/test/
H A Dvideo_source.h118 virtual vpx_codec_pts_t pts() const = 0;
155 // Models a stream where Timebase = 1/FPS, so pts == frame.
156 virtual vpx_codec_pts_t pts() const { return frame_; } function in class:libvpx_test::DummyVideoSource
/external/libvpx/libvpx/vpx/
H A Dvpx_encoder.h177 vpx_codec_pts_t pts; member in struct:vpx_codec_cx_pkt::__anon12941::__anon12942
352 * pts to correspond to the frame number, which can be handy. For
878 * \param[in] pts Presentation time stamp, in timebase units.
891 vpx_codec_pts_t pts, unsigned long duration,
/external/skia/samplecode/
H A DSampleTiling.cpp33 SkPoint pts[] = { { 0, 0 }, { SkIntToScalar(w), SkIntToScalar(h) } }; local
39 paint.setShader(SkGradientShader::MakeLinear(pts, colors, pos,
/external/skia/src/c/
H A Dsk_effects.cpp49 sk_shader_t* sk_shader_new_linear_gradient(const sk_point_t pts[2], argument
65 return (sk_shader_t*)SkGradientShader::MakeLinear(reinterpret_cast<const SkPoint*>(pts),

Completed in 490 milliseconds

<<11121314151617181920>>