Searched refs:transformedRect (Results 1 – 11 of 11) sorted by relevance
/third_party/flutter/skia/src/gpu/ |
D | SkGpuDevice_drawTexture.cpp | 40 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/ |
D | Device_drawTexture.cpp | 44 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/ |
D | MatrixBench.cpp | 212 SkRect transformedRect; in performTest() local 216 inv.mapRect(&transformedRect, srcRect); in performTest()
|
/third_party/flutter/skia/bench/ |
D | MatrixBench.cpp | 212 SkRect transformedRect; in performTest() local 216 inv.mapRect(&transformedRect, srcRect); in performTest()
|
/third_party/flutter/flutter/packages/flutter/test/painting/ |
D | matrix_utils_test.dart | 15 final Rect transformedRect = MatrixUtils.transformRect(transform, evilRect); 16 expect(transformedRect.isFinite, true);
|
/third_party/flutter/skia/src/svg/ |
D | SkSVGDevice.cpp | 712 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/ |
D | SkSVGDevice.cpp | 814 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/ |
D | recording_canvas.dart | 1445 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/ |
D | SkPDFDevice.cpp | 335 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/ |
D | SkPDFDevice.cpp | 359 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/ |
D | widget_inspector.dart | 2559 for (_TransformedRect transformedRect in state.candidates) { 2562 ..transform(transformedRect.transform.storage) 2563 ..drawRect(transformedRect.rect.deflate(0.5), borderPaint)
|