/external/opencv/cv/src/ |
D | cvrotcalipers.cpp | 113 CvPoint2D32f pt0 = points[0]; in icvRotatingCalipers() local 115 left_x = right_x = pt0.x; in icvRotatingCalipers() 116 top_y = bottom_y = pt0.y; in icvRotatingCalipers() 122 if( pt0.x < left_x ) in icvRotatingCalipers() 123 left_x = pt0.x, left = i; in icvRotatingCalipers() 125 if( pt0.x > right_x ) in icvRotatingCalipers() 126 right_x = pt0.x, right = i; in icvRotatingCalipers() 128 if( pt0.y > top_y ) in icvRotatingCalipers() 129 top_y = pt0.y, top = i; in icvRotatingCalipers() 131 if( pt0.y < bottom_y ) in icvRotatingCalipers() [all …]
|
D | cvapprox.cpp | 162 CvPoint pt0; in icvApproximateChainTC89() local 166 pt0 = array[i].pt; in icvApproximateChainTC89() 190 dk_num = (pt0.x - array[i1].pt.x) * dy - (pt0.y - array[i1].pt.y) * dx; in icvApproximateChainTC89() 217 dx1 = array[i1].pt.x - pt0.x; in icvApproximateChainTC89() 218 dy1 = array[i1].pt.y - pt0.y; in icvApproximateChainTC89() 219 dx2 = array[i2].pt.x - pt0.x; in icvApproximateChainTC89() 220 dy2 = array[i2].pt.y - pt0.y; in icvApproximateChainTC89()
|
D | cvshapedescr.cpp | 134 icvFindCircle( CvPoint2D32f pt0, CvPoint2D32f pt1, in icvFindCircle() argument 137 double x1 = (pt0.x + pt1.x) * 0.5; in icvFindCircle() 138 double dy1 = pt0.x - pt1.x; in icvFindCircle() 141 double y1 = (pt0.y + pt1.y) * 0.5; in icvFindCircle() 142 double dx1 = pt1.y - pt0.y; in icvFindCircle() 153 *radius = (float) icvDistanceL2_32f( *center, pt0 ); in icvFindCircle()
|
/external/skia/src/ports/ |
D | SkFontHost_FreeType_common.cpp | 289 static int quad_proc(const FT_Vector* pt0, const FT_Vector* pt1, in quad_proc() argument 292 path->quadTo(SkFDot6ToScalar(pt0->x), -SkFDot6ToScalar(pt0->y), in quad_proc() 297 static int cubic_proc(const FT_Vector* pt0, const FT_Vector* pt1, in cubic_proc() argument 300 path->cubicTo(SkFDot6ToScalar(pt0->x), -SkFDot6ToScalar(pt0->y), in cubic_proc()
|
/external/opencv/cxcore/src/ |
D | cxdrawing.cpp | 1041 CvPoint pt0, pt1; in icvFillConvexPoly() local 1042 pt0.x = p0.x >> XY_SHIFT; in icvFillConvexPoly() 1043 pt0.y = p0.y >> XY_SHIFT; in icvFillConvexPoly() 1046 icvLine( img, pt0, pt1, color, line_type ); in icvFillConvexPoly() 1166 CvPoint pt0, pt1, t0, t1; in icvCollectPolyEdges() local 1168 CV_READ_EDGE( pt0, pt1, reader ); in icvCollectPolyEdges() 1172 pt0.x = (pt0.x + offset.x) << (XY_SHIFT - shift); in icvCollectPolyEdges() 1173 pt0.y = (pt0.y + delta) >> shift; in icvCollectPolyEdges() 1182 x.i = pt0.x; y.i = pt0.y; in icvCollectPolyEdges() 1183 pt0.x = cvRound((x.f + offset.x) * XY_ONE); in icvCollectPolyEdges() [all …]
|
/external/skia/src/core/ |
D | SkScan_Hairline.cpp | 43 void SkScan::HairLineRgn(const SkPoint& pt0, const SkPoint& pt1, in HairLineRgn() argument 48 SkPoint pts[2] = { pt0, pt1 }; in HairLineRgn()
|
D | SkScan_Antihair.cpp | 591 void SkScan::AntiHairLineRgn(const SkPoint& pt0, const SkPoint& pt1, in AntiHairLineRgn() argument 603 SkPoint pts[2] = { pt0, pt1 }; in AntiHairLineRgn()
|
D | SkDraw.cpp | 2622 bool SkBounder::doHairline(const SkPoint& pt0, const SkPoint& pt1, in doHairline() argument 2627 v0 = pt0.fX; in doHairline() 2635 v0 = pt0.fY; in doHairline()
|
/external/skia/legacy/src/core/ |
D | SkScan_Hairline.cpp | 36 void SkScan::HairLineRgn(const SkPoint& pt0, const SkPoint& pt1, in HairLineRgn() argument 41 SkPoint pts[2] = { pt0, pt1 }; in HairLineRgn()
|
D | SkScan_Antihair.cpp | 390 void SkScan::AntiHairLineRgn(const SkPoint& pt0, const SkPoint& pt1, in AntiHairLineRgn() argument 402 SkPoint pts[2] = { pt0, pt1 }; in AntiHairLineRgn()
|
D | SkDraw.cpp | 2472 bool SkBounder::doHairline(const SkPoint& pt0, const SkPoint& pt1, in doHairline() argument 2477 v0 = pt0.fX; in doHairline() 2485 v0 = pt0.fY; in doHairline()
|
/external/skia/legacy/src/ports/ |
D | SkFontHost_FreeType.cpp | 1538 static int quad_proc(CONST_PARAM FT_Vector* pt0, CONST_PARAM FT_Vector* pt1, in quad_proc() argument 1541 path->quadTo(ft2sk(pt0->x), -ft2sk(pt0->y), ft2sk(pt1->x), -ft2sk(pt1->y)); in quad_proc() 1545 static int cubic_proc(CONST_PARAM FT_Vector* pt0, CONST_PARAM FT_Vector* pt1, in cubic_proc() argument 1548 path->cubicTo(ft2sk(pt0->x), -ft2sk(pt0->y), ft2sk(pt1->x), in cubic_proc()
|