Searched refs:pt1 (Results 26 - 50 of 55) sorted by relevance

123

/external/opencv/cv/src/
H A Dcvshapedescr.cpp134 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 Dcvconvhull.cpp193 #define cmp_pts( pt1, pt2 ) \
194 ((pt1)->x < (pt2)->x || ((pt1)->x <= (pt2)->x && (pt1)->y < (pt2)->y))
H A Dcvcalibinit.cpp345 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 Dcf2ft.c174 params->pt1.x,
175 params->pt1.y );
226 params->pt1.x,
227 params->pt1.y, 0 );
/external/opencv/
H A Dcvjni.cpp618 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 Dcf2ft.c174 params->pt1.x,
175 params->pt1.y );
226 params->pt1.x,
227 params->pt1.y, 0 );
/external/skia/src/core/
H A DSkStroke.cpp779 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 DSkMatrix.cpp1277 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 DPathOpsQuadIntersectionTest.cpp385 SkDPoint pt1 = quad1.ptAtT(tt1); local
387 REPORTER_ASSERT(reporter, pt1.approximatelyEqual(pt2));
H A DPathOpsCubicIntersectionTest.cpp640 SkDPoint pt1 = chopped[0].ptAtT(i[0][index]); local
642 REPORTER_ASSERT(reporter, pt1.approximatelyEqual(pt2));
H A DCanvasTest.cpp153 SkPoint pt1 = { 0, 0 }; local
157 path.moveTo(pt1);
H A DDeferredCanvasTest.cpp364 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 Dbezier.c188 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 Dcmsopt.c141 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 DPWL_Utils.cpp229 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 DPWL_Note.cpp97 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 DSkIntersections.h242 void insertNear(double one, double two, const SkDPoint& pt1, const SkDPoint& pt2);
H A DSkOpSegment.h285 bool ptsDisjoint(double t1, const SkPoint& pt1, double t2, const SkPoint& pt2) const;
/external/opencv/cvaux/include/
H A Dcvaux.h261 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 Dcxtypes.h1604 #define CV_READ_EDGE( pt1, pt2, reader ) \
1606 assert( sizeof(pt1) == sizeof(CvPoint) && \
1609 (pt1) = CV_PREV_POINT( reader ); \
H A Dcxcore.h1286 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 Des2fMultisampleTests.cpp930 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 Des3fMultisampleTests.cpp1080 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 Des31fMultisampleTests.cpp597 const Vec2 pt1 ( 1.0f, -1.0f);
615 renderQuad(pt0, pt1, pt2, pt3, quadColor);
/external/fonttools/Lib/fontTools/misc/
H A DpsCharStrings.py666 def rCurveTo(self, pt1, pt2, pt3):
670 self.pen.curveTo(nextPoint(pt1), nextPoint(pt2), nextPoint(pt3))

Completed in 1508 milliseconds

123