Home
last modified time | relevance | path

Searched refs:transformedRect (Results 1 – 11 of 11) sorted by relevance

/third_party/flutter/skia/src/gpu/
DSkGpuDevice_drawTexture.cpp40 static bool has_aligned_samples(const SkRect& srcRect, const SkRect& transformedRect) { in has_aligned_samples() argument
42 …if (SkScalarAbs(SkScalarRoundToScalar(transformedRect.left()) - transformedRect.left()) < kColorBl… in has_aligned_samples()
43 …SkScalarAbs(SkScalarRoundToScalar(transformedRect.top()) - transformedRect.top()) < kColorBleedT… in has_aligned_samples()
44 SkScalarAbs(transformedRect.width() - srcRect.width()) < kColorBleedTolerance && in has_aligned_samples()
45 SkScalarAbs(transformedRect.height() - srcRect.height()) < kColorBleedTolerance) { in has_aligned_samples()
52 const SkRect& transformedRect, in may_color_bleed() argument
57 SkASSERT(!has_aligned_samples(srcRect, transformedRect)); in may_color_bleed()
58 SkRect innerSrcRect(srcRect), innerTransformedRect, outerTransformedRect(transformedRect); in may_color_bleed()
86 SkRect transformedRect; in can_ignore_bilerp_constraint() local
87 srcRectToDeviceSpace.mapRect(&transformedRect, srcRect); in can_ignore_bilerp_constraint()
[all …]
/third_party/skia/src/gpu/v1/
DDevice_drawTexture.cpp44 bool has_aligned_samples(const SkRect& srcRect, const SkRect& transformedRect) { in has_aligned_samples() argument
46 …if (SkScalarAbs(SkScalarRoundToScalar(transformedRect.left()) - transformedRect.left()) < kColorBl… in has_aligned_samples()
47 …SkScalarAbs(SkScalarRoundToScalar(transformedRect.top()) - transformedRect.top()) < kColorBleedT… in has_aligned_samples()
48 SkScalarAbs(transformedRect.width() - srcRect.width()) < kColorBleedTolerance && in has_aligned_samples()
49 SkScalarAbs(transformedRect.height() - srcRect.height()) < kColorBleedTolerance) { in has_aligned_samples()
56 const SkRect& transformedRect, in may_color_bleed() argument
61 SkASSERT(!has_aligned_samples(srcRect, transformedRect)); in may_color_bleed()
62 SkRect innerSrcRect(srcRect), innerTransformedRect, outerTransformedRect(transformedRect); in may_color_bleed()
89 SkRect transformedRect; in can_ignore_linear_filtering_subset() local
90 srcRectToDeviceSpace.mapRect(&transformedRect, srcSubset); in can_ignore_linear_filtering_subset()
[all …]
/third_party/skia/bench/
DMatrixBench.cpp212 SkRect transformedRect; in performTest() local
216 inv.mapRect(&transformedRect, srcRect); in performTest()
/third_party/flutter/skia/bench/
DMatrixBench.cpp212 SkRect transformedRect; in performTest() local
216 inv.mapRect(&transformedRect, srcRect); in performTest()
/third_party/flutter/flutter/packages/flutter/test/painting/
Dmatrix_utils_test.dart15 final Rect transformedRect = MatrixUtils.transformRect(transform, evilRect);
16 expect(transformedRect.isFinite, true);
/third_party/flutter/skia/src/svg/
DSkSVGDevice.cpp712 SkRect transformedRect = this->cs().bounds(this->getGlobalBounds()); in drawAnnotation() local
714 if (transformedRect.isEmpty()) { in drawAnnotation()
724 r.addRectAttributes(transformedRect); in drawAnnotation()
/third_party/skia/src/svg/
DSkSVGDevice.cpp814 SkRect transformedRect = this->cs().bounds(this->getGlobalBounds()); in drawAnnotation() local
816 if (transformedRect.isEmpty()) { in drawAnnotation()
826 r.addRectAttributes(transformedRect); in drawAnnotation()
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/engine/
Drecording_canvas.dart1445 final ui.Rect transformedRect = localClipToGlobalClip(
1452 transformedPointLeft = transformedRect.left;
1453 transformedPointTop = transformedRect.top;
1454 transformedPointRight = transformedRect.right;
1455 transformedPointBottom = transformedRect.bottom;
/third_party/flutter/skia/src/pdf/
DSkPDFDevice.cpp335 SkRect transformedRect = in drawAnnotation() local
337 if (transformedRect.isEmpty()) { in drawAnnotation()
342 std::make_pair(sk_ref_sp(value), transformedRect)); in drawAnnotation()
345 std::make_pair(sk_ref_sp(value), transformedRect)); in drawAnnotation()
/third_party/skia/src/pdf/
DSkPDFDevice.cpp359 SkRect transformedRect = pageXform.mapRect(path.getBounds()); in drawAnnotation() local
360 if (transformedRect.isEmpty()) { in drawAnnotation()
373 linkType, value, transformedRect, fNodeId); in drawAnnotation()
/third_party/flutter/flutter/packages/flutter/lib/src/widgets/
Dwidget_inspector.dart2559 for (_TransformedRect transformedRect in state.candidates) {
2562 ..transform(transformedRect.transform.storage)
2563 ..drawRect(transformedRect.rect.deflate(0.5), borderPaint)