/third_party/skia/docs/examples/ |
D | Matrix_dirtyMatrixTypeCache.cpp | 9 SkDebugf("with identity matrix: x = %g\n", matrix.mapXY(24, 42).fX); in draw() 12 SkDebugf("after skew x mod: x = %g\n", matrix.mapXY(24, 42).fX); in draw() 14 SkDebugf("after 2nd skew x mod: x = %g\n", matrix.mapXY(24, 42).fX); in draw() 16 SkDebugf("after dirty cache: x = %g\n", matrix.mapXY(24, 42).fX); in draw()
|
D | Matrix_set.cpp | 9 SkDebugf("with identity matrix: x = %g\n", matrix.mapXY(24, 42).fX); in draw() 11 SkDebugf("after skew x mod: x = %g\n", matrix.mapXY(24, 42).fX); in draw() 13 SkDebugf("after 2nd skew x mod: x = %g\n", matrix.mapXY(24, 42).fX); in draw()
|
D | Matrix_mapXY_2.cpp | 16 canvas->drawPoint(matrix.mapXY(x, y), paint); in draw()
|
D | Matrix_mapXY.cpp | 14 matrix.mapXY(lines[i].fX, lines[i].fY, &pt); in draw()
|
/third_party/skia/tests/ |
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/ |
D | ImGuiLayer.h | 69 SkPoint center = fLocalToScreen.mapXY(p->fX, p->fY); 83 *p = fScreenToLocal.mapXY(center.fX, center.fY);
|
D | SlideDir.cpp | 184 const auto pt = xform.mapXY(x, y); in onMouse()
|
D | Viewer.cpp | 1660 return inv.mapXY(x, y); in mapEvent()
|
/third_party/skia/include/core/ |
D | SkMatrix.h | 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 1410 this->mapXY(x,y, &result); in mapXY()
|
/third_party/skia/src/utils/ |
D | SkCustomTypeface.cpp | 207 auto advance = fMatrix.mapXY(tf->fAdvances[glyph->getGlyphID()], 0); in generateAdvance() 228 auto [sx, sy] = fMatrix.mapXY(1, 1); in generateFontMetrics()
|
/third_party/skia/bench/ |
D | Matrix44Bench.cpp | 138 fV = m.mapXY(5, 6); in performTest()
|
/third_party/skia/tools/fonts/ |
D | TestTypeface.cpp | 167 fMatrix.mapXY(SkFloatToScalar(glyph->fAdvanceX), SkFloatToScalar(glyph->fAdvanceY)); in generateAdvance()
|
D | TestSVGTypeface.cpp | 191 fMatrix.mapXY(SkFloatToScalar(glyph->fAdvanceX), SkFloatToScalar(glyph->fAdvanceY)); in generateAdvance()
|
/third_party/skia/src/effects/imagefilters/ |
D | SkAlphaThresholdImageFilter.cpp | 274 localInverse.mapXY((SkScalar)x + bounds.fLeft, (SkScalar)y + bounds.fTop, &position); in onFilterImage()
|
/third_party/skia/samplecode/ |
D | SampleXfer.cpp | 266 SkPoint loc = SkMatrix::RectToRect({0,0,1,1}, fDomain).mapXY(fCubic.B, fCubic.C); in onDrawContent()
|
/third_party/skia/gm/ |
D | shadowutils.cpp | 85 SkPoint lightXY = canvas->getTotalMatrix().mapXY(250, 400); in draw_paths()
|
/third_party/skia/src/xps/ |
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/src/gpu/text/ |
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/ |
D | SkPathBuilder.cpp | 318 matrix.mapXY(stop.x(), stop.y(), singlePt); in build_arc_conics()
|
D | SkMatrix.cpp | 786 void SkMatrix::mapXY(SkScalar x, SkScalar y, SkPoint* result) const { in mapXY() function in SkMatrix
|
D | SkCanvas.cpp | 2164 ctm.mapXY(x, y, &pt); in canDrawBitmapAsSprite()
|
/third_party/skia/src/ports/ |
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/ |
D | GrAAConvexTessellator.cpp | 951 this->lineTo(m.mapXY(p.fX, p.fY), curve); in lineTo()
|
/third_party/skia/src/pdf/ |
D | SkPDFDevice.cpp | 346 SkPoint p = this->localToDevice().mapXY(rect.x(), rect.y()); in drawAnnotation()
|
/third_party/skia/tools/fiddle/ |
D | documumentation_examples_map.txt | 1763 SkPoint mapXY(SkScalar x, SkScalar y) const; 1767 void mapXY(SkScalar x, SkScalar y, SkPoint* result) const;
|