Home
last modified time | relevance | path

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

12

/external/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()
/external/skqp/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()
/external/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()
/external/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()
/external/skqp/docs/
DSkMatrix_Reference.bmh767 SkDebugf("with identity matrix: x = %g\n", matrix.mapXY(24, 42).fX);
770 SkDebugf("after skew x mod: x = %g\n", matrix.mapXY(24, 42).fX);
772 SkDebugf("after 2nd skew x mod: x = %g\n", matrix.mapXY(24, 42).fX);
774 SkDebugf("after dirty cache: x = %g\n", matrix.mapXY(24, 42).fX);
800 SkDebugf("with identity matrix: x = %g\n", matrix.mapXY(24, 42).fX);
802 SkDebugf("after skew x mod: x = %g\n", matrix.mapXY(24, 42).fX);
804 SkDebugf("after 2nd skew x mod: x = %g\n", matrix.mapXY(24, 42).fX);
2207 #SeeAlso mapXY mapHomogeneousPoints mapVectors
2230 #SeeAlso mapXY mapHomogeneousPoints mapVectors
2267 #SeeAlso mapPoints mapXY mapVectors
[all …]
/external/skia/include/core/
DSkMatrix.h1370 this->mapXY(pt.x(), pt.y(), &result); in mapPoint()
1392 void mapXY(SkScalar x, SkScalar y, SkPoint* result) const;
1410 SkPoint mapXY(SkScalar x, SkScalar y) const { in mapXY() function
1412 this->mapXY(x,y, &result); in mapXY()
/external/skqp/src/core/
DSkFindAndPlaceGlyph.h152 : fTranslate(matrix.mapXY(origin.fX, origin.fY)) { } in TranslationMapper()
165 : fTranslate(matrix.mapXY(origin.fX, origin.fY)), fXScale(matrix.getScaleX()) { } in XScaleMapper()
/external/skia/src/utils/
DSkCustomTypeface.cpp206 auto advance = fMatrix.mapXY(tf->fAdvances[glyph->getGlyphID()], 0); in generateAdvance()
227 auto [sx, sy] = fMatrix.mapXY(1, 1); in generateFontMetrics()
/external/skqp/samplecode/
DSampleHT.cpp37 m.mapXY(x, y, &pt); in oval_contains()
/external/skia/tools/fonts/
DTestTypeface.cpp167 fMatrix.mapXY(SkFloatToScalar(glyph->fAdvanceX), SkFloatToScalar(glyph->fAdvanceY)); in generateAdvance()
/external/skia/bench/
DMatrix44Bench.cpp138 fV = m.mapXY(5, 6); in performTest()
/external/skqp/tools/fonts/
DSkTestTypeface.cpp203 const SkVector advance = fMatrix.mapXY(SkFloatToScalar(glyph->fAdvanceX), in generateAdvance()
/external/skqp/include/core/
DSkMatrix.h1297 void mapXY(SkScalar x, SkScalar y, SkPoint* result) const { in mapXY() function
1318 SkPoint mapXY(SkScalar x, SkScalar y) const { in mapXY() function
/external/skqp/gm/
Dshadowutils.cpp72 SkPoint lightXY = canvas->getTotalMatrix().mapXY(250, 400); in draw_paths()
/external/skia/src/effects/imagefilters/
DSkAlphaThresholdImageFilter.cpp230 localInverse.mapXY((SkScalar)x + bounds.fLeft, (SkScalar)y + bounds.fTop, &position); in onFilterImage()
/external/skqp/src/utils/
DSkShadowUtils.cpp453 m.mapXY(pt.fX, pt.fY, (SkPoint*)&result.fX); in map()
522 SkPoint pt = inverse.mapXY(devLightPos.fX, devLightPos.fY); in DrawShadow()
/external/skia/samplecode/
DSampleXfer.cpp266 SkPoint loc = SkMatrix::RectToRect({0,0,1,1}, fDomain).mapXY(fCubic.B, fCubic.C); in onDrawContent()
/external/skqp/src/effects/imagefilters/
DSkAlphaThresholdFilter.cpp246 localInverse.mapXY((SkScalar)x + bounds.fLeft, (SkScalar)y + bounds.fTop, &position); in onFilterImage()
/external/skia/src/gpu/text/
DGrTextBlob.cpp101 SkPoint lt = matrix.mapXY(sLT.x(), sLT.y()), in fill_transformed_vertices_2D()
102 lb = matrix.mapXY(sLT.x(), sRB.y()), in fill_transformed_vertices_2D()
103 rt = matrix.mapXY(sRB.x(), sLT.y()), in fill_transformed_vertices_2D()
104 rb = matrix.mapXY(sRB.x(), sRB.y()); in fill_transformed_vertices_2D()
157 SkVector translation = drawMatrix.mapXY(0, 0) - initialMatrix.mapXY(0, 0); in check_integer_translate()
/external/skia/gm/
Dshadowutils.cpp85 SkPoint lightXY = canvas->getTotalMatrix().mapXY(250, 400); in draw_paths()
/external/skqp/tools/viewer/
DSlideDir.cpp172 const auto pt = xform.mapXY(x, y); in onMouse()

12