/external/skia/samplecode/ |
H A D | PerlinPatch.cpp | 16 //draw control points 80 // The order of the colors and points is clockwise starting at upper-left corner. 81 //top points 86 //right points 89 //bottom points 92 //left points 101 const SkPoint points[2] = { SkPoint::Make(0.0f, 0.0f), local 103 fShader0 = SkGradientShader::MakeLinear(points,
|
H A D | SampleCCPRGeometry.cpp | 213 fQuadPointInstances.push_back().set(&geometry.points()[ptsIdx], 0, 0); 237 fTriPointInstances.push_back().set(&geometry.points()[ptsIdx], Sk2f(0, 0)); 304 void doClick(SkPoint points[]) { argument 306 this->dragPoint(points, fPtIdx); 309 this->dragPoint(points, i); 315 void dragPoint(SkPoint points[], int idx) { argument 317 points[idx] += SkPoint::Make(delta.x(), delta.y());
|
/external/skia/src/core/ |
H A D | SkPath_serial.cpp | 120 buffer.write(fPathRef->points(), pts * sizeof(SkPoint)); 216 const SkPoint* points = buffer.skipCount<SkPoint>(pts); local 242 tmp.moveTo(*points++); 246 tmp.lineTo(*points++); 250 tmp.quadTo(points[0], points[1]); 251 points += 2; 255 tmp.conicTo(points[0], points[1], *conics++); 256 points [all...] |
/external/skia/src/gpu/gl/ |
H A D | GrGLPath.cpp | 90 inline void points_to_coords(const SkPoint points[], size_t first_point, size_t amount, argument 93 coords[i * 2] = SkScalarToFloat(points[first_point + i].fX); 94 coords[i * 2 + 1] = SkScalarToFloat(points[first_point + i].fY); 109 SkPoint points[4]; local 112 while ((verb = iter.next(points)) != SkPath::kDone_Verb) { 121 points_to_coords(points, 0, 1, coords); 126 if (SkPath::IsLineDegenerate(points[0], points[1], true)) { 132 points_to_coords(points, 1, 1, coords); 137 if (SkPath::IsQuadDegenerate(points[ [all...] |
/external/skia/src/utils/ |
H A D | SkParsePath.cpp | 80 SkPoint points[3]; local 112 data = find_points(data, points, 1, relative, &c); 113 path.moveTo(points[0]); 116 c = points[0]; 119 data = find_points(data, points, 1, relative, &c); 120 path.lineTo(points[0]); 121 c = points[0]; 136 data = find_points(data, points, 3, relative, &c); 139 data = find_points(data, &points[1], 2, relative, &c); 140 points[ [all...] |
/external/skia/src/utils/win/ |
H A D | SkDWriteGeometrySink.cpp | 75 void STDMETHODCALLTYPE SkDWriteGeometrySink::AddLines(const D2D1_POINT_2F *points, UINT pointsCount) { argument 76 for (const D2D1_POINT_2F *end = &points[pointsCount]; points < end; ++points) { 77 fPath->lineTo(points->x, points->y);
|
/external/skqp/gm/ |
H A D | convex_all_line_paths.cpp | 177 const SkPoint* points; local 181 points = ConvexLineOnlyData::gPoints[index]; 225 points = data.get(); 231 path.moveTo(points[0]); 233 path.lineTo(points[i]); 236 path.moveTo(points[numPts-1]); 238 path.lineTo(points[i]);
|
H A D | gamut.cpp | 70 SkPoint points[2] = { variable 79 paint.setShader(SkGradientShader::MakeLinear(points, colors, nullptr, 4, 82 paint.setShader(SkGradientShader::MakeLinear(points, fColors, nullptr, 2,
|
H A D | reveal.cpp | 260 SkPoint points[5] = { local 271 fPath.moveTo(r.centerX() + points[0].fX * width, r.centerY() + points[0].fY * height); 272 fPath.lineTo(r.centerX() + points[1].fX * width, r.centerY() + points[1].fY * height); 273 fPath.lineTo(r.centerX() + points[2].fX * width, r.centerY() + points[2].fY * height); 274 fPath.lineTo(r.centerX() + points[3].fX * width, r.centerY() + points[3].fY * height); 275 fPath.lineTo(r.centerX() + points[ [all...] |
/external/skqp/include/core/ |
H A D | SkPoint.h | 278 /** Adds offset to each SkPoint in points array with count entries. 280 @param points SkPoint array 282 @param offset vector added to points 284 static void Offset(SkPoint points[], int count, const SkVector& offset) { argument 285 Offset(points, count, offset.fX, offset.fY); 288 /** Adds offset (dx, dy) to each SkPoint in points array of length count. 290 @param points SkPoint array 292 @param dx added to fX in points 293 @param dy added to fY in points 295 static void Offset(SkPoint points[], in argument [all...] |
/external/skqp/samplecode/ |
H A D | PerlinPatch.cpp | 16 //draw control points 80 // The order of the colors and points is clockwise starting at upper-left corner. 81 //top points 86 //right points 89 //bottom points 92 //left points 101 const SkPoint points[2] = { SkPoint::Make(0.0f, 0.0f), local 103 fShader0 = SkGradientShader::MakeLinear(points,
|
H A D | SampleCCPRGeometry.cpp | 213 fCubicInstances.push_back().set(&geometry.points()[ptsIdx], 0, 0); 237 fTriangleInstances.push_back().set(&geometry.points()[ptsIdx], Sk2f(0, 0)); 303 void doClick(SkPoint points[]) { argument 305 this->dragPoint(points, fPtIdx); 308 this->dragPoint(points, i); 314 void dragPoint(SkPoint points[], int idx) { argument 316 points[idx] += SkPoint::Make(delta.x(), delta.y());
|
/external/skqp/src/gpu/gl/ |
H A D | GrGLPath.cpp | 90 inline void points_to_coords(const SkPoint points[], size_t first_point, size_t amount, argument 93 coords[i * 2] = SkScalarToFloat(points[first_point + i].fX); 94 coords[i * 2 + 1] = SkScalarToFloat(points[first_point + i].fY); 109 SkPoint points[4]; local 112 while ((verb = iter.next(points)) != SkPath::kDone_Verb) { 121 points_to_coords(points, 0, 1, coords); 126 if (SkPath::IsLineDegenerate(points[0], points[1], true)) { 132 points_to_coords(points, 1, 1, coords); 137 if (SkPath::IsQuadDegenerate(points[ [all...] |
/external/skqp/src/utils/ |
H A D | SkParsePath.cpp | 80 SkPoint points[3]; local 112 data = find_points(data, points, 1, relative, &c); 113 path.moveTo(points[0]); 116 c = points[0]; 119 data = find_points(data, points, 1, relative, &c); 120 path.lineTo(points[0]); 121 c = points[0]; 136 data = find_points(data, points, 3, relative, &c); 139 data = find_points(data, &points[1], 2, relative, &c); 140 points[ [all...] |
/external/skqp/src/utils/win/ |
H A D | SkDWriteGeometrySink.cpp | 75 void STDMETHODCALLTYPE SkDWriteGeometrySink::AddLines(const D2D1_POINT_2F *points, UINT pointsCount) { argument 76 for (const D2D1_POINT_2F *end = &points[pointsCount]; points < end; ++points) { 77 fPath->lineTo(points->x, points->y);
|
/external/dng_sdk/source/ |
H A D | dng_camera_profile.cpp | 1035 uint32 points = profileInfo.fToneCurveCount / 2; local 1037 fToneCurve.fCoord.resize (points); 1039 for (size_t i = 0; i < points; i++)
|
H A D | dng_gain_map.cpp | 253 const dng_point &points, 258 : fPoints (points) 263 , fRowStep (SafeUint32Mult(planes, points.h)) 252 dng_gain_map(dng_memory_allocator &allocator, const dng_point &points, const dng_point_real64 &spacing, const dng_point_real64 &origin, uint32 planes) argument
|
/external/freetype/src/base/ |
H A D | ftoutln.c | 97 limit = outline->points + last; 99 v_start = outline->points[first]; 103 v_last = outline->points[last]; 109 point = outline->points + first; 129 /* if both first and last points are conic, */ 319 if ( FT_NEW_ARRAY( anoutline->points, numPoints ) || 420 FT_ARRAY_COPY( target->points, source->points, source->n_points ); 450 FT_FREE( outline->points ); 495 FT_Vector* vec = outline->points; 913 FT_Vector* points; local 1048 FT_Vector* points; local [all...] |
/external/harfbuzz_ng/src/ |
H A D | hb-ot-layout-gdef-table.hh | 62 const AttachPoint &points = this+attachPoint[index]; local 65 const UINT16 *array = points.sub_array (start_offset, point_count); 71 return points.len; 431 * attachment points--from beginning 434 ligCaretList; /* Offset to list of positioning points
|
/external/mesa3d/src/mesa/main/ |
H A D | eval.c | 145 /*** Copy and deallocate control points ***/ 150 * Copy 1-parametric evaluator control points from user-specified 151 * memory space to a buffer of contiguous control points. 153 * \return pointer to buffer of contiguous control points or NULL if out 157 const GLfloat *points ) 162 if (!points || !size) 168 for (i = 0, p = buffer; i < uorder; i++, points += ustride) 170 *p++ = points[k]; 181 const GLdouble *points ) 186 if (!points || !siz 304 map1(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, const GLvoid *points, GLenum type ) argument 380 map1(target, (GLfloat) u1, (GLfloat) u2, stride, order, points, GL_DOUBLE); local 385 map2( GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLvoid *points, GLenum type ) argument 467 _mesa_Map2f( GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points) argument 484 (GLfloat) v1, (GLfloat) v2, vstride, vorder, points, GL_DOUBLE); local [all...] |
/external/opencv/cv/src/ |
H A D | cvrotcalipers.cpp | 65 // points - convex hull vertices ( any orientation ) 70 // left, bottom, right, top - indexes of extremal points 72 // In case CV_CALIPERS_MAXDIST it points to float value - 93 icvRotatingCalipers( CvPoint2D32f* points, int n, int mode, float* out ) argument 113 CvPoint2D32f pt0 = points[0]; 134 CvPoint2D32f pt = points[(i+1) & (i+1 < n ? -1 : 0)]; 250 float dx = points[seq[opposite_el]].x - points[seq[main_element]].x; 251 float dy = points[seq[opposite_el]].y - points[se 352 CvPoint2D32f* points = 0; local [all...] |
H A D | cvsnakes.cpp | 56 // pt - pointer to snake points array 57 // n - size of points array, 409 cvSnakeImage( const IplImage* src, CvPoint* points, argument 432 IPPI_CALL( icvSnake8uC1R( data, step, size, points, length,
|
/external/skia/gm/ |
H A D | reveal.cpp | 260 SkPoint points[5] = { local 271 fPath.moveTo(r.centerX() + points[0].fX * width, r.centerY() + points[0].fY * height); 272 fPath.lineTo(r.centerX() + points[1].fX * width, r.centerY() + points[1].fY * height); 273 fPath.lineTo(r.centerX() + points[2].fX * width, r.centerY() + points[2].fY * height); 274 fPath.lineTo(r.centerX() + points[3].fX * width, r.centerY() + points[3].fY * height); 275 fPath.lineTo(r.centerX() + points[ [all...] |
/external/skia/tests/ |
H A D | GeometryTest.cpp | 250 SkPoint points[] = {{x1, y1}, {x2, y1}, {x2, y2}, {x1, y2}}; local 253 bezier[0] = points[i]; 256 bezier[1] = points[jidx]; 261 bezier[2] = points[kidx]; 264 bezier[3] = points[l]; 273 bezier[0] = points[i]; 276 bezier[1] = points[jidx]; 277 bezier[2] = points[jidx]; 282 bezier[3] = points[kidx];
|
/external/skia/tools/debugger/ |
H A D | SkObjectParser.cpp | 198 SkPoint points[4]; local 200 for(verb = iter.next(points, false); 202 verb = iter.next(points, false)) { 209 mPath->appendScalar(points[gPtOffsetPerVerb[verb]+i].fX); 211 mPath->appendScalar(points[gPtOffsetPerVerb[verb]+i].fY);
|