HomeSort by relevance Sort by last modified time
    Searched refs:pt1 (Results 1 - 25 of 104) sorted by null

1 2 3 4 5

  /external/chromium_org/third_party/skia/src/pathops/
SkPathWriter.cpp 38 void SkPathWriter::cubicTo(const SkPoint& pt1, const SkPoint& pt2, const SkPoint& pt3) {
40 if (fEmpty && AlmostEqualUlps(fDefer[0], pt1) && AlmostEqualUlps(pt1, pt2)
51 pt1.fX, pt1.fY, pt2.fX, pt2.fY, fDefer[1].fX, fDefer[1].fY);
53 fPathPtr->cubicTo(pt1.fX, pt1.fY, pt2.fX, pt2.fY, fDefer[1].fX, fDefer[1].fY);
122 void SkPathWriter::quadTo(const SkPoint& pt1, const SkPoint& pt2) {
124 if (fEmpty && AlmostEqualUlps(fDefer[0], pt1) && AlmostEqualUlps(pt1, pt2))
    [all...]
SkPathWriter.h 16 void cubicTo(const SkPoint& pt1, const SkPoint& pt2, const SkPoint& pt3);
27 void quadTo(const SkPoint& pt1, const SkPoint& pt2);
  /external/skia/src/pathops/
SkPathWriter.cpp 38 void SkPathWriter::cubicTo(const SkPoint& pt1, const SkPoint& pt2, const SkPoint& pt3) {
40 if (fEmpty && AlmostEqualUlps(fDefer[0], pt1) && AlmostEqualUlps(pt1, pt2)
51 pt1.fX, pt1.fY, pt2.fX, pt2.fY, fDefer[1].fX, fDefer[1].fY);
53 fPathPtr->cubicTo(pt1.fX, pt1.fY, pt2.fX, pt2.fY, fDefer[1].fX, fDefer[1].fY);
122 void SkPathWriter::quadTo(const SkPoint& pt1, const SkPoint& pt2) {
124 if (fEmpty && AlmostEqualUlps(fDefer[0], pt1) && AlmostEqualUlps(pt1, pt2))
    [all...]
SkPathWriter.h 16 void cubicTo(const SkPoint& pt1, const SkPoint& pt2, const SkPoint& pt3);
27 void quadTo(const SkPoint& pt1, const SkPoint& pt2);
  /external/opencv/cv/src/
_cvgeom.h 46 CV_INLINE float icvDistanceL2_32f( CvPoint2D32f pt1, CvPoint2D32f pt2 )
48 float dx = pt2.x - pt1.x;
49 float dy = pt2.y - pt1.y;
cvpgh.cpp 192 CvPoint pt1, pt2; local
195 CV_READ_EDGE( pt1, pt2, reader1 );
197 dx = pt2.x - pt1.x;
198 dy = pt2.y - pt1.y;
214 CvPoint pt1, pt2; local
218 CV_READ_EDGE( pt1, pt2, reader1 );
220 dx = pt2.x - pt1.x;
221 dy = pt2.y - pt1.y;
242 int d1 = (pt3.y - pt1.y) * dx - (pt3.x - pt1.x) * dy
    [all...]
cvcontourtree.cpp 73 CvPoint *pt1, *pt2; /* pointer to current points */ local
160 pt1 = pt_p;
171 pt1 = pt_p;
181 pt1 = pt_n;
187 t = pt1[0];
189 tp1 = pt1[i - 1];
191 tp2 = pt1[i - 2];
193 tp3 = pt1[i - 3];
195 tn1 = pt1[1];
197 tn2 = pt1[2]
    [all...]
  /external/valgrind/main/drd/tests/
pth_cleanup_handler.c 39 pthread_t pt1, pt2; local
49 if (pthread_create(&pt1, NULL, f, NULL) != 0)
60 pthread_join(pt1, 0);
  /external/fonttools/Lib/fontTools/misc/
bezierTools.py 24 def calcQuadraticBounds(pt1, pt2, pt3):
26 pt1 and pt3 are the "anchor" points, pt2 is the "handle".
33 (ax, ay), (bx, by), (cx, cy) = calcQuadraticParameters(pt1, pt2, pt3)
41 points = [(ax*t*t + bx*t + cx, ay*t*t + by*t + cy) for t in roots if 0 <= t < 1] + [pt1, pt3]
45 def calcCubicBounds(pt1, pt2, pt3, pt4):
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)
66 points = [(ax*t*t*t + bx*t*t + cx * t + dx, ay*t*t*t + by*t*t + cy * t + dy) for t in roots] + [pt1, pt4]
70 def splitLine(pt1, pt2, where, isHorizontal):
71 """Split the line between pt1 and pt2 at position 'where', whic
    [all...]
  /external/opencv/cxcore/src/
cxdrawing.cpp 81 cvClipLine( CvSize img_size, CvPoint* pt1, CvPoint* pt2 )
93 if( !pt1 || !pt2 )
99 x1 = pt1->x; y1 = pt1->y; x2 = pt2->x; y2 = pt2->y;
141 pt1->x = x1;
142 pt1->y = y1;
160 cvInitLineIterator( const CvArr* img, CvPoint pt1, CvPoint pt2,
183 if( (unsigned)pt1.x >= (unsigned)(mat->width) ||
185 (unsigned)pt1.y >= (unsigned)(mat->height) ||
193 dx = pt2.x - pt1.x
1041 CvPoint pt0, pt1; local
1166 CvPoint pt0, pt1, t0, t1; local
2539 CvPoint pt1, pt2; local
    [all...]
  /external/fonttools/Lib/fontTools/pens/
basePen.py 164 def _curveToOne(self, pt1, pt2, pt3):
175 def _qCurveToOne(self, pt1, pt2):
181 pt1x, pt1y = pt1
245 for pt1, pt2, pt3 in decomposeSuperBezierSegment(points):
246 _curveToOne(pt1, pt2, pt3)
277 for pt1, pt2 in decomposeQuadraticSegment(points):
278 _qCurveToOne(pt1, pt2)
291 This function returns a list of (pt1, pt2, pt3) tuples, which each
297 pt1, pt2, pt3 = points[0], None, None
312 bezierSegments.append((pt1, pt2, pt3)
    [all...]
  /frameworks/base/tools/layoutlib/bridge/src/android/graphics/
BitmapShader_Delegate.java 162 float[] pt1 = new float[2]; local
167 pt1[0] = x + ix;
168 pt1[1] = y + iy;
169 mCanvasMatrix.transform(pt1, 0, pt2, 0, 1);
172 pt1[0] = pt2[0];
173 pt1[1] = pt2[1];
174 mLocalMatrix.transform(pt1, 0, pt2, 0, 1);
LinearGradient_Delegate.java 181 float[] pt1 = new float[2]; local
186 pt1[0] = x + ix;
187 pt1[1] = y + iy;
188 mCanvasMatrix.transform(pt1, 0, pt2, 0, 1);
191 pt1[0] = pt2[0];
192 pt1[1] = pt2[1];
193 mLocalMatrix.transform(pt1, 0, pt2, 0, 1);
RadialGradient_Delegate.java 171 float[] pt1 = new float[2]; local
176 pt1[0] = x + ix;
177 pt1[1] = y + iy;
178 mCanvasMatrix.transform(pt1, 0, pt2, 0, 1);
181 pt1[0] = pt2[0] - mX;
182 pt1[1] = pt2[1] - mY;
183 mLocalMatrix.transform(pt1, 0, pt2, 0, 1);
SweepGradient_Delegate.java 163 float[] pt1 = new float[2]; local
168 pt1[0] = x + ix;
169 pt1[1] = y + iy;
170 mCanvasMatrix.transform(pt1, 0, pt2, 0, 1);
173 pt1[0] = pt2[0] - mCx;
174 pt1[1] = pt2[1] - mCy;
175 mLocalMatrix.transform(pt1, 0, pt2, 0, 1);
  /external/chromium_org/third_party/freetype/src/cff/
cf2glue.h 105 FT_Vector pt1; member in struct:CF2_CallbackParamsRec_
  /external/freetype/src/cff/
cf2glue.h 105 FT_Vector pt1; member in struct:CF2_CallbackParamsRec_
  /external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/cff/
cf2glue.h 105 FT_Vector pt1; member in struct:CF2_CallbackParamsRec_
  /external/pdfium/fpdfsdk/src/pdfwindow/
PWL_ScrollBar.cpp 184 CPDF_Point pt1(ptCenter.x - PWL_TRIANGLE_HALFLEN * 0.5f,ptCenter.y);
192 sButton << pt1.x << " " << pt1.y << " m\n";
195 sButton << pt1.x << " " << pt1.y << " l f\n";
203 CPDF_Point pt1(ptCenter.x + PWL_TRIANGLE_HALFLEN * 0.5f,ptCenter.y);
211 sButton << pt1.x << " " << pt1.y << " m\n";
214 sButton << pt1.x << " " << pt1.y << " l f\n";
    [all...]
PWL_ComboBox.cpp 126 CPDF_Point pt1(ptCenter.x - PWL_CBBUTTON_TRIANGLE_HALFLEN,ptCenter.y + PWL_CBBUTTON_TRIANGLE_HALFLEN * 0.5f);
136 sButton << pt1.x << " " << pt1.y << " m\n";
139 sButton << pt1.x << " " << pt1.y << " l f\n";
156 CPDF_Point pt1(ptCenter.x - PWL_CBBUTTON_TRIANGLE_HALFLEN,ptCenter.y + PWL_CBBUTTON_TRIANGLE_HALFLEN * 0.5f);
168 path.SetPoint(0, pt1.x, pt1.y, FXPT_MOVETO);
171 path.SetPoint(3, pt1.x, pt1.y, FXPT_LINETO);
    [all...]
  /external/chromium_org/third_party/skia/experimental/Intersection/
CubicIntersection_Test.cpp 230 int pt1, pt2, pt3;
234 for (pt1 = 0; pt1 < intersections2.used(); ++pt1) {
235 tt1 = intersections2.fT[0][pt1];
239 pt2 = intersections2.fFlip ? intersections2.used() - pt1 - 1 : pt1;
244 __FUNCTION__, tt1, xy1.x, xy1.y, intersections2.fPt[pt1].x,
245 intersections2.fPt[pt1].y, xy2.x, xy2.y, tt2);
265 for (pt1 = 0; pt1 < intersections2.used(); ++pt1)
768 _Point pt1 = xy_at_t(cubic, i.fT[0][0]); local
    [all...]
  /external/skia/experimental/Intersection/
CubicIntersection_Test.cpp 230 int pt1, pt2, pt3;
234 for (pt1 = 0; pt1 < intersections2.used(); ++pt1) {
235 tt1 = intersections2.fT[0][pt1];
239 pt2 = intersections2.fFlip ? intersections2.used() - pt1 - 1 : pt1;
244 __FUNCTION__, tt1, xy1.x, xy1.y, intersections2.fPt[pt1].x,
245 intersections2.fPt[pt1].y, xy2.x, xy2.y, tt2);
265 for (pt1 = 0; pt1 < intersections2.used(); ++pt1)
768 _Point pt1 = xy_at_t(cubic, i.fT[0][0]); local
    [all...]
  /external/chromium_org/third_party/skia/experimental/StrokePathRenderer/
GrStrokePathRenderer.cpp 166 const SkPoint* pt1 = ccw ? &l2a : &l1a; local
180 const SkPoint pt2 = *pt0+v0, pt3 = *pt1+v1;
181 if (intersection(*pt0, pt2, *pt1, pt3, miterPt[0]) !=
184 SkPoint miterPt1 = miterPt[0] - *pt1;
195 miterPt[1] = *pt1+v1;
  /external/skia/experimental/StrokePathRenderer/
GrStrokePathRenderer.cpp 166 const SkPoint* pt1 = ccw ? &l2a : &l1a; local
180 const SkPoint pt2 = *pt0+v0, pt3 = *pt1+v1;
181 if (intersection(*pt0, pt2, *pt1, pt3, miterPt[0]) !=
184 SkPoint miterPt1 = miterPt[0] - *pt1;
195 miterPt[1] = *pt1+v1;
  /external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xa/
xa_renderer.c 192 float pt0[2], pt1[2], pt2[2], pt3[2]; local
196 pt1[0] = (srcX + width);
197 pt1[1] = srcY;
205 map_point((float *)src_matrix, pt1[0], pt1[1], &pt1[0], &pt1[1]);
211 s1 = pt1[0] / src->width0;
215 t1 = pt1[1] / src->height0;

Completed in 1269 milliseconds

1 2 3 4 5