Home
last modified time | relevance | path

Searched refs:mapXY (Results 1 – 25 of 26) sorted by relevance

12

/third_party/skia/docs/examples/
DMatrix_dirtyMatrixTypeCache.cpp9 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()
DMatrix_set.cpp9 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()
DMatrix_mapXY_2.cpp16 canvas->drawPoint(matrix.mapXY(x, y), paint); in draw()
DMatrix_mapXY.cpp14 matrix.mapXY(lines[i].fX, lines[i].fY, &pt); in draw()
/third_party/skia/tests/
DShadowTest.cpp144 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/
DImGuiLayer.h69 SkPoint center = fLocalToScreen.mapXY(p->fX, p->fY);
83 *p = fScreenToLocal.mapXY(center.fX, center.fY);
DSlideDir.cpp184 const auto pt = xform.mapXY(x, y); in onMouse()
DViewer.cpp1660 return inv.mapXY(x, y); in mapEvent()
/third_party/skia/include/core/
DSkMatrix.h1368 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/
DSkCustomTypeface.cpp207 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/
DMatrix44Bench.cpp138 fV = m.mapXY(5, 6); in performTest()
/third_party/skia/tools/fonts/
DTestTypeface.cpp167 fMatrix.mapXY(SkFloatToScalar(glyph->fAdvanceX), SkFloatToScalar(glyph->fAdvanceY)); in generateAdvance()
DTestSVGTypeface.cpp191 fMatrix.mapXY(SkFloatToScalar(glyph->fAdvanceX), SkFloatToScalar(glyph->fAdvanceY)); in generateAdvance()
/third_party/skia/src/effects/imagefilters/
DSkAlphaThresholdImageFilter.cpp274 localInverse.mapXY((SkScalar)x + bounds.fLeft, (SkScalar)y + bounds.fTop, &position); in onFilterImage()
/third_party/skia/samplecode/
DSampleXfer.cpp266 SkPoint loc = SkMatrix::RectToRect({0,0,1,1}, fDomain).mapXY(fCubic.B, fCubic.C); in onDrawContent()
/third_party/skia/gm/
Dshadowutils.cpp85 SkPoint lightXY = canvas->getTotalMatrix().mapXY(250, 400); in draw_paths()
/third_party/skia/src/xps/
DSkXPSDevice.cpp459 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/
DGrTextBlob.cpp105 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/
DSkPathBuilder.cpp318 matrix.mapXY(stop.x(), stop.y(), singlePt); in build_arc_conics()
DSkMatrix.cpp786 void SkMatrix::mapXY(SkScalar x, SkScalar y, SkPoint* result) const { in mapXY() function in SkMatrix
DSkCanvas.cpp2164 ctm.mapXY(x, y, &pt); in canDrawBitmapAsSprite()
/third_party/skia/src/ports/
DSkFontHost_win.cpp900 … 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/
DGrAAConvexTessellator.cpp951 this->lineTo(m.mapXY(p.fX, p.fY), curve); in lineTo()
/third_party/skia/src/pdf/
DSkPDFDevice.cpp346 SkPoint p = this->localToDevice().mapXY(rect.x(), rect.y()); in drawAnnotation()
/third_party/skia/tools/fiddle/
Ddocumumentation_examples_map.txt1763 SkPoint mapXY(SkScalar x, SkScalar y) const;
1767 void mapXY(SkScalar x, SkScalar y, SkPoint* result) const;

12