Searched refs:pixelAligned (Results 1 – 2 of 2) sorted by relevance
/third_party/skia/src/core/ |
D | SkDevice.cpp | 77 SkM44 pixelAligned = SkM44(); in isPixelAlignedToGlobal() local 78 pixelAligned.setRC(0, 3, SkScalarFloorToScalar(fDeviceToGlobal.rc(0, 3))); in isPixelAlignedToGlobal() 79 pixelAligned.setRC(1, 3, SkScalarFloorToScalar(fDeviceToGlobal.rc(1, 3))); in isPixelAlignedToGlobal() 80 return pixelAligned == fDeviceToGlobal; in isPixelAlignedToGlobal()
|
/third_party/skia/tests/ |
D | GrClipStackTest.cpp | 510 SkRect pixelAligned = {0, 0, 10, 10}; in DEF_TEST() local 511 SkRect fracRect1 = pixelAligned.makeOffset(5.3f, 3.7f); in DEF_TEST() 519 SkAssertResult(alignedIntersect.intersect(pixelAligned, fracRect1)); in DEF_TEST() 542 .aa().rect(pixelAligned).nonAA().rect(fracRect1) in DEF_TEST() 551 .aa().rect(fracRect1).nonAA().rect(pixelAligned) in DEF_TEST() 590 SkRect pixelAligned = {0, 0, 10, 10}; in DEF_TEST() local 591 SkRect fracRect1 = pixelAligned.makeOffset(5.3f, 3.7f); in DEF_TEST() 624 .aa().rect(pixelAligned).nonAA().rect(fracRect1) in DEF_TEST()
|