Home
last modified time | relevance | path

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

/external/skqp/src/gpu/
DSkGpuDevice_drawTexture.cpp33 static bool has_aligned_samples(const SkRect& srcRect, const SkRect& transformedRect) { in has_aligned_samples() argument
35 …if (SkScalarAbs(SkScalarRoundToScalar(transformedRect.left()) - transformedRect.left()) < kColorBl… in has_aligned_samples()
36 …SkScalarAbs(SkScalarRoundToScalar(transformedRect.top()) - transformedRect.top()) < kColorBleedT… in has_aligned_samples()
37 SkScalarAbs(transformedRect.width() - srcRect.width()) < kColorBleedTolerance && in has_aligned_samples()
38 SkScalarAbs(transformedRect.height() - srcRect.height()) < kColorBleedTolerance) { in has_aligned_samples()
45 const SkRect& transformedRect, in may_color_bleed() argument
50 SkASSERT(!has_aligned_samples(srcRect, transformedRect)); in may_color_bleed()
51 SkRect innerSrcRect(srcRect), innerTransformedRect, outerTransformedRect(transformedRect); in may_color_bleed()
79 SkRect transformedRect; in can_ignore_bilerp_constraint() local
80 srcRectToDeviceSpace.mapRect(&transformedRect, srcRect); in can_ignore_bilerp_constraint()
[all …]
/external/skia/src/gpu/
DSkGpuDevice_drawTexture.cpp42 static bool has_aligned_samples(const SkRect& srcRect, const SkRect& transformedRect) { in has_aligned_samples() argument
44 …if (SkScalarAbs(SkScalarRoundToScalar(transformedRect.left()) - transformedRect.left()) < kColorBl… in has_aligned_samples()
45 …SkScalarAbs(SkScalarRoundToScalar(transformedRect.top()) - transformedRect.top()) < kColorBleedT… in has_aligned_samples()
46 SkScalarAbs(transformedRect.width() - srcRect.width()) < kColorBleedTolerance && in has_aligned_samples()
47 SkScalarAbs(transformedRect.height() - srcRect.height()) < kColorBleedTolerance) { in has_aligned_samples()
54 const SkRect& transformedRect, in may_color_bleed() argument
59 SkASSERT(!has_aligned_samples(srcRect, transformedRect)); in may_color_bleed()
60 SkRect innerSrcRect(srcRect), innerTransformedRect, outerTransformedRect(transformedRect); in may_color_bleed()
87 SkRect transformedRect; in can_ignore_linear_filtering_subset() local
88 srcRectToDeviceSpace.mapRect(&transformedRect, srcSubset); in can_ignore_linear_filtering_subset()
[all …]
/external/pdfium/xfa/fwl/
Dcfwl_widgetmgr.cpp141 CFX_RectF transformedRect = rect; in RepaintWidget() local
145 transformedRect.left += rtTemp.left; in RepaintWidget()
146 transformedRect.top += rtTemp.top; in RepaintWidget()
/external/skia/bench/
DMatrixBench.cpp212 SkRect transformedRect; in performTest() local
216 inv.mapRect(&transformedRect, srcRect); in performTest()
/external/skqp/bench/
DMatrixBench.cpp212 SkRect transformedRect; in performTest() local
216 inv.mapRect(&transformedRect, srcRect); in performTest()
/external/skqp/src/svg/
DSkSVGDevice.cpp682 SkRect transformedRect = this->cs().bounds(this->getGlobalBounds()); in drawAnnotation() local
684 if (transformedRect.isEmpty()) { in drawAnnotation()
694 r.addRectAttributes(transformedRect); in drawAnnotation()
/external/skia/src/svg/
DSkSVGDevice.cpp809 SkRect transformedRect = this->cs().bounds(this->getGlobalBounds()); in drawAnnotation() local
811 if (transformedRect.isEmpty()) { in drawAnnotation()
821 r.addRectAttributes(transformedRect); in drawAnnotation()
/external/skqp/src/pdf/
DSkPDFDevice.cpp524 SkRect transformedRect = path.getBounds(); in drawAnnotation() local
525 if (transformedRect.isEmpty()) { in drawAnnotation()
529 fLinkToURLs.emplace_back(RectWithData{transformedRect, sk_ref_sp(value)}); in drawAnnotation()
531 fLinkToDestinations.emplace_back(RectWithData{transformedRect, sk_ref_sp(value)}); in drawAnnotation()
/external/skia/src/pdf/
DSkPDFDevice.cpp360 SkRect transformedRect = pageXform.mapRect(path.getBounds()); in drawAnnotation() local
361 if (transformedRect.isEmpty()) { in drawAnnotation()
374 linkType, value, transformedRect, fNodeId); in drawAnnotation()