/external/opencv/cv/src/ |
H A D | cvshapedescr.cpp | 134 icvFindCircle( CvPoint2D32f pt0, CvPoint2D32f pt1, argument 137 double x1 = (pt0.x + pt1.x) * 0.5; 138 double dy1 = pt0.x - pt1.x; 139 double x2 = (pt1.x + pt2.x) * 0.5; 140 double dy2 = pt1.x - pt2.x; 141 double y1 = (pt0.y + pt1.y) * 0.5; 142 double dx1 = pt1.y - pt0.y; 143 double y2 = (pt1.y + pt2.y) * 0.5; 144 double dx2 = pt2.y - pt1.y;
|
H A D | cvconvhull.cpp | 193 #define cmp_pts( pt1, pt2 ) \ 194 ((pt1)->x < (pt2)->x || ((pt1)->x <= (pt2)->x && (pt1)->y < (pt2)->y))
|
H A D | cvcalibinit.cpp | 345 CvPoint2D32f pt1, pt2; local 347 pt1 = quads[i].corners[k]->pt; 349 pt2.x = (pt1.x + pt2.x)/2; 350 pt2.y = (pt1.y + pt2.y)/2; 353 cvLine( dbg1_img, cvPointFrom32f(pt1), cvPointFrom32f(pt2), color, 3, 8); 399 CvPoint2D32f pt1, pt2; local 403 pt1 = quads[i].corners[k]->pt; 405 pt2.x = (pt1.x + pt2.x)/2; 406 pt2.y = (pt1.y + pt2.y)/2; 409 cvLine( dbg2_img, cvPointFrom32f(pt1), cvPointFrom32 [all...] |
/external/freetype/src/cff/ |
H A D | cf2ft.c | 174 params->pt1.x, 175 params->pt1.y ); 226 params->pt1.x, 227 params->pt1.y, 0 );
|
/external/opencv/ |
H A D | cvjni.cpp | 618 CvPoint pt1 = cvPoint(int(face->x * scale), int(face->y * scale));
local 621 sprintf(buffer, "Draw Rectangle: (%d, %d) to (%d, %d)", pt1.x, pt1.y, pt2.x, pt2.y);
623 cvRectangle(sourceImage, pt1, pt2, CV_RGB(255, 0, 0), 3, 8, 0);
|
/external/pdfium/third_party/freetype/src/cff/ |
H A D | cf2ft.c | 174 params->pt1.x, 175 params->pt1.y ); 226 params->pt1.x, 227 params->pt1.y, 0 );
|
/external/skia/src/core/ |
H A D | SkStroke.cpp | 779 void SkPathStroker::conicTo(const SkPoint& pt1, const SkPoint& pt2, SkScalar weight) { 780 const SkConic conic(fPrevPt, pt1, pt2, weight); 800 if (!this->preJoinTo(pt1, &normalAB, &unitAB, false)) { 814 void SkPathStroker::quadTo(const SkPoint& pt1, const SkPoint& pt2) { 816 const SkPoint quad[3] = { fPrevPt, pt1, pt2 }; 836 if (!this->preJoinTo(pt1, &normalAB, &unitAB, false)) { 847 bool degenerateAB = SkPath::IsLineDegenerate(fPrevPt, pt1); 848 bool degenerateBC = SkPath::IsLineDegenerate(pt1, pt2); 859 this->preJoinTo(pt1, &normalAB, &unitAB, false); 864 pts[1] = pt1; [all...] |
H A D | SkMatrix.cpp | 1277 SkPoint pt1, pt2; local 1280 pt1.fX = poly[1].fX - poly[0].fX; 1281 pt1.fY = poly[1].fY - poly[0].fY; 1282 y = SkPoint::Length(pt1.fX, pt1.fY); 1297 x = sdot(pt1.fX, pt2.fX, pt1.fY, pt2.fY) / y;
|
/external/skia/tests/ |
H A D | PathOpsQuadIntersectionTest.cpp | 385 SkDPoint pt1 = quad1.ptAtT(tt1); local 387 REPORTER_ASSERT(reporter, pt1.approximatelyEqual(pt2));
|
H A D | PathOpsCubicIntersectionTest.cpp | 640 SkDPoint pt1 = chopped[0].ptAtT(i[0][index]); local 642 REPORTER_ASSERT(reporter, pt1.approximatelyEqual(pt2));
|
H A D | CanvasTest.cpp | 153 SkPoint pt1 = { 0, 0 }; local 157 path.moveTo(pt1);
|
H A D | DeferredCanvasTest.cpp | 364 const SkPoint pt1 = SkPoint::Make(SkIntToScalar(0), SkIntToScalar(0)); local 371 pt1, r1, pt2, r2, colors, pos, 2, SkShader::kClamp_TileMode);
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
H A D | bezier.c | 188 float *pt1, 193 bez->x1 = pt1[0]; 194 bez->y1 = pt1[1]; 316 static INLINE void compute_pt_normal(float *pt1, float *pt2, float *res) argument 321 line[2] = pt2[0] - pt1[0]; 322 line[3] = pt2[1] - pt1[1]; 187 bezier_init2v(struct bezier *bez, float *pt1, float *pt2, float *pt3, float *pt4) argument
|
/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/src/ |
H A D | cmsopt.c | 141 cmsStage** pt1; local 145 pt1 = &Lut ->Elements; 146 if (*pt1 == NULL) return AnyOpt; 148 while (*pt1 != NULL) { 150 pt2 = &((*pt1) -> Next); 153 if ((*pt1) ->Implements == Op1 && (*pt2) ->Implements == Op2) { 155 _RemoveElement(pt1); 159 pt1 = &((*pt1) -> Next);
|
/external/pdfium/fpdfsdk/src/pdfwindow/ |
H A D | PWL_Utils.cpp | 229 CPDF_Point pt1(crBBox.left,crBBox.bottom + fHeight / 2); 234 csAP << pt1.x << " " << pt1.y << " m\n"; 236 FX_FLOAT px = pt2.x - pt1.x; 237 FX_FLOAT py = pt2.y - pt1.y; 239 csAP << pt1.x << " " << pt1.y + py * PWL_BEZIER << " " 257 px = pt4.x - pt1.x; 258 py = pt1.y - pt4.y; 261 << pt1 [all...] |
H A D | PWL_Note.cpp | 97 CPDF_Point pt1(ptCenter.x - 2.0f, ptCenter.y + 2.0f * 0.5f); 104 path.SetPoint(0, pt1.x, pt1.y, FXPT_MOVETO); 107 path.SetPoint(3, pt1.x, pt1.y, FXPT_LINETO);
|
/external/skia/src/pathops/ |
H A D | SkIntersections.h | 242 void insertNear(double one, double two, const SkDPoint& pt1, const SkDPoint& pt2);
|
H A D | SkOpSegment.h | 285 bool ptsDisjoint(double t1, const SkPoint& pt1, double t2, const SkPoint& pt2) const;
|
/external/opencv/cvaux/include/ |
H A D | cvaux.h | 261 CV_INLINE double icvSqDist2D32f( CvPoint2D32f pt1, CvPoint2D32f pt2 ) argument 263 double dx = pt1.x - pt2.x; 264 double dy = pt1.y - pt2.y;
|
/external/opencv/cxcore/include/ |
H A D | cxtypes.h | 1604 #define CV_READ_EDGE( pt1, pt2, reader ) \ 1606 assert( sizeof(pt1) == sizeof(CvPoint) && \ 1609 (pt1) = CV_PREV_POINT( reader ); \
|
H A D | cxcore.h | 1286 CVAPI(void) cvLine( CvArr* img, CvPoint pt1, CvPoint pt2, 1290 /* Draws a rectangle given two opposite corners of the rectangle (pt1 & pt2), 1292 CVAPI(void) cvRectangle( CvArr* img, CvPoint pt1, CvPoint pt2, 1342 /* Clips the line segment connecting *pt1 and *pt2 1345 CVAPI(int) cvClipLine( CvSize img_size, CvPoint* pt1, CvPoint* pt2 ); 1348 to pt1 (or pt2, see left_to_right description) location in the image. 1350 CVAPI(int) cvInitLineIterator( const CvArr* image, CvPoint pt1, CvPoint pt2,
|
/external/deqp/modules/gles2/functional/ |
H A D | es2fMultisampleTests.cpp | 930 Vec3 pt1 (3.0f*deFloatCos(angle + 2.0f*DE_PI*1.0f/3.0f), 3.0f*deFloatSin(angle + 2.0f*DE_PI*1.0f/3.0f), 0.0f); 933 renderTriangle(pt0, pt1, pt2, color); 1153 const Vec2 pt1 ( 1.0f, -1.0f); 1174 renderQuad(pt0, pt1, pt2, pt3, quadColor);
|
/external/deqp/modules/gles3/functional/ |
H A D | es3fMultisampleTests.cpp | 1080 Vec3 pt1 (3.0f*deFloatCos(angle + 2.0f*DE_PI*1.0f/3.0f), 3.0f*deFloatSin(angle + 2.0f*DE_PI*1.0f/3.0f), 0.0f); 1083 renderTriangle(pt0, pt1, pt2, color); 1297 const Vec2 pt1 ( 1.0f, -1.0f); 1318 renderQuad(pt0, pt1, pt2, pt3, quadColor);
|
/external/deqp/modules/gles31/functional/ |
H A D | es31fMultisampleTests.cpp | 597 const Vec2 pt1 ( 1.0f, -1.0f); 615 renderQuad(pt0, pt1, pt2, pt3, quadColor);
|
/external/fonttools/Lib/fontTools/misc/ |
H A D | psCharStrings.py | 666 def rCurveTo(self, pt1, pt2, pt3): 670 self.pen.curveTo(nextPoint(pt1), nextPoint(pt2), nextPoint(pt3))
|