Home
last modified time | relevance | path

Searched refs:rectStaysRect (Results 1 – 25 of 48) sorted by relevance

12

/third_party/flutter/skia/docs/examples/
DMatrix_rectStaysRect.cpp10 SkDebugf("rectStaysRect: %s\n", matrix.rectStaysRect() ? "true" : "false"); in draw()
DCanvas_empty_constructor.cpp8 SkDebugf("rect stays rect is %s\n", matrix.rectStaysRect() ? "true" : "false"); in check_for_rotated_ctm()
/third_party/skia/docs/examples/
DMatrix_rectStaysRect.cpp10 SkDebugf("rectStaysRect: %s\n", matrix.rectStaysRect() ? "true" : "false"); in draw()
/third_party/skia/src/core/
DSkPathRef.cpp175 bool canXformBounds = !src.fBoundsIsDirty && matrix.rectStaysRect() && src.countPoints() > 1; in CreateTransformedCopy()
205 bool rectStaysRect = matrix.rectStaysRect(); in CreateTransformedCopy() local
206 (*dst)->fIsOval = src.fIsOval && rectStaysRect; in CreateTransformedCopy()
207 (*dst)->fIsRRect = src.fIsRRect && rectStaysRect; in CreateTransformedCopy()
DSkDraw_atlas.cpp28 if (ctm.rectStaysRect()) { in fill_rect()
DSkDraw.cpp542 SkASSERT(matrix.rectStaysRect()); in compute_stroke_size()
576 !matrix.rectStaysRect() || SkPaint::kStrokeAndFill_Style == style) { in ComputeRectType()
/third_party/skia/include/core/
DSkRSXform.h45 bool rectStaysRect() const { in rectStaysRect() function
DSkMatrix.h263 bool rectStaysRect() const { in rectStaysRect() function
291 bool preservesAxisAlignment() const { return this->rectStaysRect(); } in preservesAxisAlignment()
/third_party/flutter/skia/include/core/
DSkRSXform.h45 bool rectStaysRect() const { in rectStaysRect() function
DSkMatrix.h200 bool rectStaysRect() const { in rectStaysRect() function
228 bool preservesAxisAlignment() const { return this->rectStaysRect(); } in preservesAxisAlignment()
/third_party/flutter/skia/src/core/
DSkPathRef.cpp203 bool canXformBounds = !src.fBoundsIsDirty && matrix.rectStaysRect() && src.countPoints() > 1; in CreateTransformedCopy()
235 bool rectStaysRect = matrix.rectStaysRect(); in CreateTransformedCopy() local
236 (*dst)->fIsOval = src.fIsOval && rectStaysRect; in CreateTransformedCopy()
237 (*dst)->fIsRRect = src.fIsRRect && rectStaysRect; in CreateTransformedCopy()
DSkDraw_atlas.cpp24 if (ctm.rectStaysRect()) { in fill_rect()
/third_party/skia/src/effects/
DSkDashPathEffect.cpp83 SkASSERT(ctm.rectStaysRect()); in cull_line()
197 if (!matrix.rectStaysRect()) { in onAsPoints()
/third_party/flutter/skia/src/effects/
DSkDashPathEffect.cpp83 SkASSERT(ctm.rectStaysRect()); in cull_line()
197 if (!matrix.rectStaysRect()) { in onAsPoints()
/third_party/flutter/skia/tests/
DGrQuadCropTest.cpp27 SkASSERT(viewMatrix.rectStaysRect()); in run_crop_axis_aligned_test()
102 SkASSERT(!viewMatrix.rectStaysRect()); in run_crop_fully_covered_test()
DMatrixTest.cpp128 REPORTER_ASSERT(reporter, matrix.rectStaysRect()); in test_matrix_recttorect()
133 REPORTER_ASSERT(reporter, matrix.rectStaysRect()); in test_matrix_recttorect()
139 REPORTER_ASSERT(reporter, matrix.rectStaysRect()); in test_matrix_recttorect()
145 REPORTER_ASSERT(reporter, matrix.rectStaysRect()); in test_matrix_recttorect()
912 m.rectStaysRect() == gRectStaysRectSamples[i].mStaysRect); in DEF_TEST()
/third_party/skia/tests/
DGrQuadCropTest.cpp27 SkASSERT(viewMatrix.rectStaysRect()); in run_crop_axis_aligned_test()
101 SkASSERT(!viewMatrix.rectStaysRect()); in run_crop_fully_covered_test()
DMatrixTest.cpp138 REPORTER_ASSERT(reporter, matrix.rectStaysRect()); in test_matrix_recttorect()
143 REPORTER_ASSERT(reporter, matrix.rectStaysRect()); in test_matrix_recttorect()
149 REPORTER_ASSERT(reporter, matrix.rectStaysRect()); in test_matrix_recttorect()
155 REPORTER_ASSERT(reporter, matrix.rectStaysRect()); in test_matrix_recttorect()
921 m.rectStaysRect() == gRectStaysRectSamples[i].mStaysRect); in DEF_TEST()
/third_party/skia/src/gpu/geometry/
DGrQuad.cpp73 if (matrix.rectStaysRect()) { in quad_type_for_transformed_rect()
/third_party/flutter/skia/src/gpu/geometry/
DGrQuad.cpp74 if (matrix.rectStaysRect()) { in quad_type_for_transformed_rect()
/third_party/skia/src/gpu/ops/
DStrokeRectOp.cpp413 if (!viewMatrix.rectStaysRect()) { in Make()
443 if (!viewMatrix.rectStaysRect()) { in Make()
956 SkASSERT(viewMatrix.rectStaysRect()); in MakeNested()
/third_party/flutter/skia/src/gpu/ops/
DGrStrokeRectOp.cpp756 if (!viewMatrix.rectStaysRect()) { in Make()
769 SkASSERT(viewMatrix.rectStaysRect()); in MakeNested()
/third_party/flutter/skia/src/gpu/
DGrTestUtils.cpp104 SkASSERT(gMatrices[i].rectStaysRect()); in TestMatrixRectStaysRect()
/third_party/skia/src/gpu/
DGrTestUtils.cpp102 SkASSERT(gMatrices[i].rectStaysRect()); in TestMatrixRectStaysRect()
/third_party/skia/src/gpu/v1/
DSurfaceDrawContext.cpp814 SkASSERT(inverse.rectStaysRect()); in fillRectToRect()
1092 viewMatrix.rectStaysRect() && viewMatrix.isSimilarity()) { in drawRRect()
1135 if (tiltZPlane || skipAnalytic || !viewMatrix.rectStaysRect() || !viewMatrix.isSimilarity()) { in drawFastShadow()
1761 viewMatrix.rectStaysRect() && in drawSimpleShape()

12