/external/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()
|
/external/skqp/tests/ |
D | ShadowTest.cpp | 135 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/ |
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()
|
/external/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()
|
/external/skqp/docs/ |
D | SkMatrix_Reference.bmh | 767 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/ |
D | SkMatrix.h | 1370 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/ |
D | SkFindAndPlaceGlyph.h | 152 : 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/ |
D | SkCustomTypeface.cpp | 206 auto advance = fMatrix.mapXY(tf->fAdvances[glyph->getGlyphID()], 0); in generateAdvance() 227 auto [sx, sy] = fMatrix.mapXY(1, 1); in generateFontMetrics()
|
/external/skqp/samplecode/ |
D | SampleHT.cpp | 37 m.mapXY(x, y, &pt); in oval_contains()
|
/external/skia/tools/fonts/ |
D | TestTypeface.cpp | 167 fMatrix.mapXY(SkFloatToScalar(glyph->fAdvanceX), SkFloatToScalar(glyph->fAdvanceY)); in generateAdvance()
|
/external/skia/bench/ |
D | Matrix44Bench.cpp | 138 fV = m.mapXY(5, 6); in performTest()
|
/external/skqp/tools/fonts/ |
D | SkTestTypeface.cpp | 203 const SkVector advance = fMatrix.mapXY(SkFloatToScalar(glyph->fAdvanceX), in generateAdvance()
|
/external/skqp/include/core/ |
D | SkMatrix.h | 1297 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/ |
D | shadowutils.cpp | 72 SkPoint lightXY = canvas->getTotalMatrix().mapXY(250, 400); in draw_paths()
|
/external/skia/src/effects/imagefilters/ |
D | SkAlphaThresholdImageFilter.cpp | 230 localInverse.mapXY((SkScalar)x + bounds.fLeft, (SkScalar)y + bounds.fTop, &position); in onFilterImage()
|
/external/skqp/src/utils/ |
D | SkShadowUtils.cpp | 453 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/ |
D | SampleXfer.cpp | 266 SkPoint loc = SkMatrix::RectToRect({0,0,1,1}, fDomain).mapXY(fCubic.B, fCubic.C); in onDrawContent()
|
/external/skqp/src/effects/imagefilters/ |
D | SkAlphaThresholdFilter.cpp | 246 localInverse.mapXY((SkScalar)x + bounds.fLeft, (SkScalar)y + bounds.fTop, &position); in onFilterImage()
|
/external/skia/src/gpu/text/ |
D | GrTextBlob.cpp | 101 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/ |
D | shadowutils.cpp | 85 SkPoint lightXY = canvas->getTotalMatrix().mapXY(250, 400); in draw_paths()
|
/external/skqp/tools/viewer/ |
D | SlideDir.cpp | 172 const auto pt = xform.mapXY(x, y); in onMouse()
|