/external/llvm/include/llvm/ADT/ |
D | PointerUnion.h | 53 template <typename PT1, typename PT2> 60 PT2BitsAv = (int)(PointerLikeTypeTraits<PT2>::NumLowBitsAvailable), 80 template <typename PT1, typename PT2> 84 PointerUnionUIntTraits<PT1,PT2> > ValTy; 103 PointerUnion(PT2 V) : Val( 104 const_cast<void *>(PointerLikeTypeTraits<PT2>::getAsVoidPointer(V)), 1) { 121 ::llvm::PointerUnionTypeSelector<PT2, T, IsPT2, 171 const PointerUnion &operator=(const PT2 &RHS) { 173 const_cast<void *>(PointerLikeTypeTraits<PT2>::getAsVoidPointer(RHS)), 186 template<typename PT1, typename PT2> [all …]
|
/external/fonttools/Lib/fontTools/misc/ |
D | bezierTools.py | 24 def calcQuadraticBounds(pt1, pt2, pt3): argument 26 pt1 and pt3 are the "anchor" points, pt2 is the "handle". 33 (ax, ay), (bx, by), (cx, cy) = calcQuadraticParameters(pt1, pt2, pt3) 45 def calcCubicBounds(pt1, pt2, pt3, pt4): argument 47 pt1 and pt4 are the "anchor" points, pt2 and pt3 are the "handles". 56 (ax, ay), (bx, by), (cx, cy), (dx, dy) = calcCubicParameters(pt1, pt2, pt3, pt4) 70 def splitLine(pt1, pt2, where, isHorizontal): argument 71 """Split the line between pt1 and pt2 at position 'where', which 90 pt2x, pt2y = pt2 99 return [(pt1, pt2)] [all …]
|
/external/skia/src/pathops/ |
D | SkPathWriter.cpp | 38 void SkPathWriter::conicTo(const SkPoint& pt1, const SkPoint& pt2, SkScalar weight) { in conicTo() argument 40 if (fEmpty && AlmostEqualUlps(fDefer[0], pt1) && AlmostEqualUlps(pt1, pt2)) { in conicTo() 41 deferredLine(pt2); in conicTo() 45 fDefer[1] = pt2; in conicTo() 56 void SkPathWriter::cubicTo(const SkPoint& pt1, const SkPoint& pt2, const SkPoint& pt3) { in cubicTo() argument 58 if (fEmpty && AlmostEqualUlps(fDefer[0], pt1) && AlmostEqualUlps(pt1, pt2) in cubicTo() 59 && AlmostEqualUlps(pt2, pt3)) { in cubicTo() 69 pt1.fX, pt1.fY, pt2.fX, pt2.fY, fDefer[1].fX, fDefer[1].fY); in cubicTo() 71 fPathPtr->cubicTo(pt1.fX, pt1.fY, pt2.fX, pt2.fY, fDefer[1].fX, fDefer[1].fY); in cubicTo() 140 void SkPathWriter::quadTo(const SkPoint& pt1, const SkPoint& pt2) { in quadTo() argument [all …]
|
D | SkPathWriter.h | 16 void conicTo(const SkPoint& pt1, const SkPoint& pt2, SkScalar weight); 17 void cubicTo(const SkPoint& pt1, const SkPoint& pt2, const SkPoint& pt3); 28 void quadTo(const SkPoint& pt1, const SkPoint& pt2);
|
/external/fonttools/Lib/fontTools/pens/ |
D | basePen.py | 164 def _curveToOne(self, pt1, pt2, pt3): argument 175 def _qCurveToOne(self, pt1, pt2): argument 182 pt2x, pt2y = pt2 187 self._curveToOne((mid1x, mid1y), (mid2x, mid2y), pt2) 245 for pt1, pt2, pt3 in decomposeSuperBezierSegment(points): 246 _curveToOne(pt1, pt2, pt3) 277 for pt1, pt2 in decomposeQuadraticSegment(points): 278 _qCurveToOne(pt1, pt2) 279 self.__currentPoint = pt2 291 This function returns a list of (pt1, pt2, pt3) tuples, which each [all …]
|
/external/opencv3/modules/imgproc/src/ |
D | drawing.cpp | 80 bool clipLine( Size img_size, Point& pt1, Point& pt2 ) in clipLine() argument 89 x1 = pt1.x; y1 = pt1.y; x2 = pt2.x; y2 = pt2.y; in clipLine() 132 pt2.x = (int)x2; in clipLine() 133 pt2.y = (int)y2; in clipLine() 139 bool clipLine( Rect img_rect, Point& pt1, Point& pt2 ) in clipLine() argument 142 pt1 -= tl; pt2 -= tl; in clipLine() 143 bool inside = clipLine(img_rect.size(), pt1, pt2); in clipLine() 144 pt1 += tl; pt2 += tl; in clipLine() 153 LineIterator::LineIterator(const Mat& img, Point pt1, Point pt2, in LineIterator() argument 161 (unsigned)pt2.x >= (unsigned)(img.cols) || in LineIterator() [all …]
|
D | _geom.h | 46 CV_INLINE float icvDistanceL2_32f( CvPoint2D32f pt1, CvPoint2D32f pt2 ) in icvDistanceL2_32f() argument 48 float dx = pt2.x - pt1.x; in icvDistanceL2_32f() 49 float dy = pt2.y - pt1.y; in icvDistanceL2_32f()
|
/external/opencv/cxcore/src/ |
D | cxdrawing.cpp | 81 cvClipLine( CvSize img_size, CvPoint* pt1, CvPoint* pt2 ) in cvClipLine() argument 93 if( !pt1 || !pt2 ) in cvClipLine() 99 x1 = pt1->x; y1 = pt1->y; x2 = pt2->x; y2 = pt2->y; in cvClipLine() 143 pt2->x = x2; in cvClipLine() 144 pt2->y = y2; in cvClipLine() 160 cvInitLineIterator( const CvArr* img, CvPoint pt1, CvPoint pt2, in cvInitLineIterator() argument 184 (unsigned)pt2.x >= (unsigned)(mat->width) || in cvInitLineIterator() 186 (unsigned)pt2.y >= (unsigned)(mat->height) ) in cvInitLineIterator() 193 dx = pt2.x - pt1.x; in cvInitLineIterator() 194 dy = pt2.y - pt1.y; in cvInitLineIterator() [all …]
|
/external/opencv3/samples/cpp/ |
D | drawing.cpp | 36 Point pt1, pt2; in main() local 39 pt2.x = rng.uniform(x1, x2); in main() 40 pt2.y = rng.uniform(y1, y2); in main() 42 line( image, pt1, pt2, randomColor(rng), rng.uniform(1,10), lineType ); in main() 51 Point pt1, pt2; in main() local 54 pt2.x = rng.uniform(x1, x2); in main() 55 pt2.y = rng.uniform(y1, y2); in main() 58 rectangle( image, pt1, pt2, randomColor(rng), MAX(thickness, -1), lineType ); in main()
|
D | houghlines.cpp | 40 Point pt1, pt2; in main() 45 pt2.x = cvRound(x0 - 1000*(-b)); in main() 46 pt2.y = cvRound(y0 - 1000*(a)); in main() 47 line( cdst, pt1, pt2, Scalar(0,0,255), 3, CV_AA); in main()
|
D | squares.cpp | 36 // from pt0->pt1 and from pt0->pt2 37 static double angle( Point pt1, Point pt2, Point pt0 ) in angle() argument 41 double dx2 = pt2.x - pt0.x; in angle() 42 double dy2 = pt2.y - pt0.y; in angle()
|
/external/opencv3/samples/cpp/tutorial_code/viz/ |
D | creating_widgets.cpp | 45 …WTriangle(const Point3f &pt1, const Point3f &pt2, const Point3f &pt3, const viz::Color & color = v… 52 WTriangle::WTriangle(const Point3f &pt1, const Point3f &pt2, const Point3f &pt3, const viz::Color &… in WTriangle() argument 57 points->InsertNextPoint(pt2.x, pt2.y, pt2.z); in WTriangle()
|
/external/opencv3/samples/cpp/tutorial_code/core/Matrix/ |
D | Drawing_2.cpp | 110 Point pt1, pt2; in Drawing_Random_Lines() local 116 pt2.x = rng.uniform( x_1, x_2 ); in Drawing_Random_Lines() 117 pt2.y = rng.uniform( y_1, y_2 ); in Drawing_Random_Lines() 119 line( image, pt1, pt2, randomColor(rng), rng.uniform(1, 10), 8 ); in Drawing_Random_Lines() 133 Point pt1, pt2; in Drawing_Random_Rectangles() local 141 pt2.x = rng.uniform( x_1, x_2 ); in Drawing_Random_Rectangles() 142 pt2.y = rng.uniform( y_1, y_2 ); in Drawing_Random_Rectangles() 144 rectangle( image, pt1, pt2, randomColor(rng), MAX( thickness, -1 ), lineType ); in Drawing_Random_Rectangles()
|
/external/pdfium/fpdfsdk/src/pdfwindow/ |
D | PWL_ScrollBar.cpp | 149 CPDF_Point pt2(ptCenter.x + PWL_TRIANGLE_HALFLEN * 0.5f, in GetThisAppearanceStream() local 158 sButton << pt2.x << " " << pt2.y << " l\n"; in GetThisAppearanceStream() 167 CPDF_Point pt2(ptCenter.x - PWL_TRIANGLE_HALFLEN * 0.5f, in GetThisAppearanceStream() local 176 sButton << pt2.x << " " << pt2.y << " l\n"; in GetThisAppearanceStream() 192 CPDF_Point pt2(ptCenter.x + PWL_TRIANGLE_HALFLEN, in GetThisAppearanceStream() local 200 sButton << pt2.x << " " << pt2.y << " l\n"; in GetThisAppearanceStream() 210 CPDF_Point pt2(ptCenter.x + PWL_TRIANGLE_HALFLEN, in GetThisAppearanceStream() local 218 sButton << pt2.x << " " << pt2.y << " l\n"; in GetThisAppearanceStream() 254 CPDF_Point pt2(ptCenter.x + PWL_TRIANGLE_HALFLEN * 0.5f, in DrawThisAppearance() local 265 path.SetPoint(1, pt2.x, pt2.y, FXPT_LINETO); in DrawThisAppearance() [all …]
|
/external/pdfium/xfa/src/fwl/src/theme/ |
D | checkboxtp.cpp | 466 CFX_PointF pt2; in initCheckPath() local 467 pt2.Set(fWidth / 4.5f, fBottom + fHeight / 16.0f); in initCheckPath() 497 px2 = pt21.x - pt2.x; in initCheckPath() 498 py2 = pt21.y - pt2.y; in initCheckPath() 501 pt2.x + px2 * FWLTHEME_BEZIER, in initCheckPath() 502 pt2.y + py2 * FWLTHEME_BEZIER, pt2.x, pt2.y); in initCheckPath() 503 px1 = pt23.x - pt2.x; in initCheckPath() 504 py1 = pt23.y - pt2.y; in initCheckPath() 507 m_pCheckPath->BezierTo(pt2.x + px1 * FWLTHEME_BEZIER, in initCheckPath() 508 pt2.y + py1 * FWLTHEME_BEZIER, in initCheckPath()
|
/external/pdfium/xfa/src/fdp/src/tto/ |
D | fde_textout.cpp | 852 CFX_PointF pt1, pt2; in DrawLine() local 857 pt2.x = rtText.left; in DrawLine() 858 pt2.y = rtText.bottom(); in DrawLine() 862 pt2.x = rtText.right(); in DrawLine() 863 pt2.y = rtText.bottom(); in DrawLine() 865 pPath->AddLine(pt1, pt2); in DrawLine() 873 pt2.x = pt1.x; in DrawLine() 874 pt2.y = rtText.bottom(); in DrawLine() 878 pt2.x = rtText.right(); in DrawLine() 879 pt2.y = pt1.y; in DrawLine() [all …]
|
/external/valgrind/drd/tests/ |
D | pth_cleanup_handler.c | 39 pthread_t pt1, pt2; in main() local 54 if (pthread_create(&pt2, NULL, f, NULL) != 0) in main() 61 pthread_join(pt2, 0); in main()
|
/external/opencv/cv/src/ |
D | cvpgh.cpp | 192 CvPoint pt1, pt2; in icvCalcPGH() local 195 CV_READ_EDGE( pt1, pt2, reader1 ); in icvCalcPGH() 197 dx = pt2.x - pt1.x; in icvCalcPGH() 198 dy = pt2.y - pt1.y; in icvCalcPGH() 214 CvPoint pt1, pt2; in icvCalcPGH() local 218 CV_READ_EDGE( pt1, pt2, reader1 ); in icvCalcPGH() 220 dx = pt2.x - pt1.x; in icvCalcPGH() 221 dy = pt2.y - pt1.y; in icvCalcPGH() 243 int d2 = (pt4.y - pt1.y) * dx - (pt2.x - pt1.x) * dy; in icvCalcPGH()
|
/external/pdfium/fpdfsdk/src/fxedit/ |
D | fxet_pageobjs.cpp | 52 CPDF_Point pt1(0, 0), pt2(1, 0); in DrawTextString() local 54 pUser2Device->Transform(pt2.x, pt2.y); in DrawTextString() 57 (FX_FLOAT)FXSYS_fabs((pt2.x + pt2.y) - (pt1.x + pt1.y)); in DrawTextString() 72 CPDF_Point pt1(0, 0), pt2(1, 0); in DrawTextString() local 74 pUser2Device->Transform(pt2.x, pt2.y); in DrawTextString() 77 (FX_FLOAT)FXSYS_fabs((pt2.x + pt2.y) - (pt1.x + pt1.y)); in DrawTextString()
|
/external/mesa3d/src/gallium/state_trackers/xorg/ |
D | xorg_renderer.c | 145 float pt0[2], pt1[2], pt2[2], pt3[2]; in add_vertex_data1() local 151 pt2[0] = (srcX + width); in add_vertex_data1() 152 pt2[1] = (srcY + height); in add_vertex_data1() 159 map_point(src_matrix, pt2[0], pt2[1], &pt2[0], &pt2[1]); in add_vertex_data1() 165 s2 = pt2[0] / src->width0; in add_vertex_data1() 169 t2 = pt2[1] / src->height0; in add_vertex_data1()
|
/external/opencv3/doc/tutorials/core/random_generator_and_text/ |
D | random_generator_and_text.markdown | 87 Point pt1, pt2; 93 pt2.x = rng.uniform( x_1, x_2 ); 94 pt2.y = rng.uniform( y_1, y_2 ); 96 line( image, pt1, pt2, randomColor(rng), rng.uniform(1, 10), 8 ); 108 - The line extremes are given by *pt1* and *pt2*. For *pt1* we can see that: 116 - From the explanation above, we deduce that the extremes *pt1* and *pt2* will be random
|
/external/mesa3d/src/gallium/state_trackers/xa/ |
D | xa_renderer.c | 192 float pt0[2], pt1[2], pt2[2], pt3[2]; in add_vertex_data1() local 198 pt2[0] = (srcX + width); in add_vertex_data1() 199 pt2[1] = (srcY + height); in add_vertex_data1() 206 map_point((float *)src_matrix, pt2[0], pt2[1], &pt2[0], &pt2[1]); in add_vertex_data1() 212 s2 = pt2[0] / src->width0; in add_vertex_data1() 216 t2 = pt2[1] / src->height0; in add_vertex_data1()
|
/external/opencv3/modules/java/src/ |
D | imgproc+Imgproc.java | 2496 …// C++: void line(Mat& img, Point pt1, Point pt2, Scalar color, int thickness = 1, int lineType =… 2499 //javadoc: line(img, pt1, pt2, color, thickness, lineType, shift) 2500 …public static void line(Mat img, Point pt1, Point pt2, Scalar color, int thickness, int lineType, … in line() argument 2503 …line_0(img.nativeObj, pt1.x, pt1.y, pt2.x, pt2.y, color.val[0], color.val[1], color.val[2], color.… in line() 2508 //javadoc: line(img, pt1, pt2, color, thickness) 2509 public static void line(Mat img, Point pt1, Point pt2, Scalar color, int thickness) in line() argument 2512 …line_1(img.nativeObj, pt1.x, pt1.y, pt2.x, pt2.y, color.val[0], color.val[1], color.val[2], color.… in line() 2517 //javadoc: line(img, pt1, pt2, color) 2518 public static void line(Mat img, Point pt1, Point pt2, Scalar color) in line() argument 2521 …line_2(img.nativeObj, pt1.x, pt1.y, pt2.x, pt2.y, color.val[0], color.val[1], color.val[2], color.… in line() [all …]
|
/external/opencv3/samples/tapi/ |
D | squares.cpp | 22 // from pt0->pt1 and from pt0->pt2 23 static double angle( Point pt1, Point pt2, Point pt0 ) in angle() argument 27 double dx2 = pt2.x - pt0.x; in angle() 28 double dy2 = pt2.y - pt0.y; in angle()
|
/external/skia/animations/ |
D | images#1.xml | 23 <lineTo id="pt2" x="256" y="0" /> 46 <animate target="pt2" field="x" from="256" to="192" dur="0.5" repeat="3" /> 47 <animate target="pt2" field="y" from="0" to="-455" dur="0.5" repeat="3" />
|