Home
last modified time | relevance | path

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

12

/third_party/flutter/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/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/flutter/skia/tests/
DShadowTest.cpp135 SkPoint mapXY = ctm.mapXY(rec.fLightPos.fX, rec.fLightPos.fY); in check_xformed_bounds() local
136 SkPoint3 devLightPos = SkPoint3::Make(mapXY.fX, mapXY.fY, rec.fLightPos.fZ); in check_xformed_bounds()
/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);
/third_party/flutter/skia/tools/viewer/
DImGuiLayer.h68 SkPoint center = fLocalToScreen.mapXY(p->fX, p->fY);
82 *p = fScreenToLocal.mapXY(center.fX, center.fY);
/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/flutter/skia/include/core/
DSkMatrix.h1292 void mapXY(SkScalar x, SkScalar y, SkPoint* result) const;
1310 SkPoint mapXY(SkScalar x, SkScalar y) const { in mapXY() function
1312 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/flutter/skia/samplecode/
DSampleHT.cpp37 m.mapXY(x, y, &pt); in oval_contains()
/third_party/skia/tools/fonts/
DTestTypeface.cpp167 fMatrix.mapXY(SkFloatToScalar(glyph->fAdvanceX), SkFloatToScalar(glyph->fAdvanceY)); in generateAdvance()
/third_party/skia/bench/
DMatrix44Bench.cpp138 fV = m.mapXY(5, 6); in performTest()
/third_party/flutter/skia/tools/fonts/
DTestTypeface.cpp170 fMatrix.mapXY(SkFloatToScalar(glyph->fAdvanceX), SkFloatToScalar(glyph->fAdvanceY)); in generateAdvance()
/third_party/flutter/skia/gm/
Dshadowutils.cpp85 SkPoint lightXY = canvas->getTotalMatrix().mapXY(250, 400); in draw_paths()
/third_party/flutter/skia/src/utils/
DSkShadowUtils.cpp480 m.mapXY(pt.fX, pt.fY, (SkPoint*)&result.fX); in map()
549 SkPoint pt = inverse.mapXY(devLightPos.fX, devLightPos.fY); in DrawShadow()
/third_party/skia/src/effects/imagefilters/
DSkAlphaThresholdImageFilter.cpp274 localInverse.mapXY((SkScalar)x + bounds.fLeft, (SkScalar)y + bounds.fTop, &position); in onFilterImage()
/third_party/flutter/skia/src/effects/imagefilters/
DSkAlphaThresholdFilter.cpp237 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()

12