/third_party/skia/docs/examples/ |
H A D | Matrix_dirtyMatrixTypeCache.cpp | 9 SkDebugf("with identity matrix: x = %g\n", matrix.mapXY(24, 42).fX); in REG_FIDDLE() 12 SkDebugf("after skew x mod: x = %g\n", matrix.mapXY(24, 42).fX); in REG_FIDDLE() 14 SkDebugf("after 2nd skew x mod: x = %g\n", matrix.mapXY(24, 42).fX); in REG_FIDDLE() 16 SkDebugf("after dirty cache: x = %g\n", matrix.mapXY(24, 42).fX); in REG_FIDDLE()
|
H A D | Matrix_set.cpp | 9 SkDebugf("with identity matrix: x = %g\n", matrix.mapXY(24, 42).fX); in REG_FIDDLE() 11 SkDebugf("after skew x mod: x = %g\n", matrix.mapXY(24, 42).fX); in REG_FIDDLE() 13 SkDebugf("after 2nd skew x mod: x = %g\n", matrix.mapXY(24, 42).fX); in REG_FIDDLE()
|
H A D | Matrix_mapXY_2.cpp | 16 canvas->drawPoint(matrix.mapXY(x, y), paint); in REG_FIDDLE()
|
H A D | Matrix_mapXY.cpp | 14 matrix.mapXY(lines[i].fX, lines[i].fY, &pt); in REG_FIDDLE()
|
/third_party/skia/tests/ |
H A D | ShadowTest.cpp | 144 SkPoint mapXY = ctm.mapXY(rec.fLightPos.fX, rec.fLightPos.fY); in check_xformed_bounds() local 145 SkPoint3 devLightPos = SkPoint3::Make(mapXY.fX, mapXY.fY, rec.fLightPos.fZ); in check_xformed_bounds()
|
/third_party/skia/tools/viewer/ |
H A D | ImGuiLayer.h | 69 SkPoint center = fLocalToScreen.mapXY(p->fX, p->fY); in dragPoint() 83 *p = fScreenToLocal.mapXY(center.fX, center.fY); in dragPoint()
|
H A D | SlideDir.cpp | 184 const auto pt = xform.mapXY(x, y); in onMouse()
|
H A D | Viewer.cpp | 1660 return inv.mapXY(x, y); in mapEvent()
|
/third_party/skia/include/core/ |
H A D | SkMatrix.h | 524 /** Sets input x-axis perspective factor, which causes mapXY() to vary input x-axis values 531 /** Sets input y-axis perspective factor, which causes mapXY() to vary input y-axis values 1368 this->mapXY(pt.x(), pt.y(), &result); in mapPoint() 1390 void mapXY(SkScalar x, SkScalar y, SkPoint* result) const; 1408 SkPoint mapXY(SkScalar x, SkScalar y) const { in mapXY() function in SkMatrix 1410 this->mapXY(x,y, &result); in mapXY()
|
/third_party/skia/src/utils/ |
H A D | SkCustomTypeface.cpp | 207 auto advance = fMatrix.mapXY(tf->fAdvances[glyph->getGlyphID()], 0); 228 auto [sx, sy] = fMatrix.mapXY(1, 1);
|
/third_party/skia/tools/fonts/ |
H A D | TestTypeface.cpp | 167 fMatrix.mapXY(SkFloatToScalar(glyph->fAdvanceX), SkFloatToScalar(glyph->fAdvanceY));
|
H A D | TestSVGTypeface.cpp | 191 fMatrix.mapXY(SkFloatToScalar(glyph->fAdvanceX), SkFloatToScalar(glyph->fAdvanceY));
|
/third_party/skia/bench/ |
H A D | Matrix44Bench.cpp | 138 fV = m.mapXY(5, 6);
|
/third_party/skia/samplecode/ |
H A D | SampleXfer.cpp | 266 SkPoint loc = SkMatrix::RectToRect({0,0,1,1}, fDomain).mapXY(fCubic.B, fCubic.C);
|
/third_party/skia/src/effects/imagefilters/ |
H A D | SkAlphaThresholdImageFilter.cpp | 274 localInverse.mapXY((SkScalar)x + bounds.fLeft, (SkScalar)y + bounds.fTop, &position); in onFilterImage()
|
/third_party/skia/src/xps/ |
H A D | SkXPSDevice.cpp | 459 matrix.mapXY(point.fX, point.fY, &skTransformedPoint); in xps_point() 484 transform.mapXY(start.fX, start.fY, &startTransformed); in transform_offsets() 486 transform.mapXY(end.fX, end.fY, &endTransformed); in transform_offsets() 504 transform.mapXY(stop.fX, stop.fY, &stopTransformed); in transform_offsets()
|
/third_party/skia/gm/ |
H A D | shadowutils.cpp | 85 SkPoint lightXY = canvas->getTotalMatrix().mapXY(250, 400); in draw_paths()
|
/third_party/skia/src/gpu/text/ |
H A D | GrTextBlob.cpp | 105 SkPoint lt = matrix.mapXY(sLT.x(), sLT.y()), in fill_transformed_vertices_2D() 106 lb = matrix.mapXY(sLT.x(), sRB.y()), in fill_transformed_vertices_2D() 107 rt = matrix.mapXY(sRB.x(), sLT.y()), in fill_transformed_vertices_2D() 108 rb = matrix.mapXY(sRB.x(), sRB.y()); in fill_transformed_vertices_2D()
|
/third_party/skia/src/core/ |
H A D | SkPathBuilder.cpp | 318 matrix.mapXY(stop.x(), stop.y(), singlePt); in build_arc_conics()
|
H A D | SkCanvas.cpp | 2176 ctm.mapXY(x, y, &pt);
|
H A D | SkMatrix.cpp | 786 void SkMatrix::mapXY(SkScalar x, SkScalar y, SkPoint* result) const { in mapXY() function in SkMatrix
|
H A D | SkPath.cpp | 917 matrix.mapXY(stop.x(), stop.y(), singlePt); in build_arc_conics()
|
/third_party/skia/src/ports/ |
H A D | SkFontHost_win.cpp | 900 fHiResMatrix.mapXY(SkIntToScalar(gm.gmCellIncX), SkIntToScalar(gm.gmCellIncY), &advance); in generateMetrics() 908 fG_inv.mapXY(SkIntToScalar(gm.gmCellIncX), SkIntToScalar(gm.gmCellIncY), &advance); in generateMetrics()
|
/third_party/skia/src/gpu/geometry/ |
H A D | GrAAConvexTessellator.cpp | 951 this->lineTo(m.mapXY(p.fX, p.fY), curve);
|
/third_party/skia/src/pdf/ |
H A D | SkPDFDevice.cpp | 346 SkPoint p = this->localToDevice().mapXY(rect.x(), rect.y()); in drawAnnotation()
|