Searched refs:transformedRect (Results 1 – 9 of 9) sorted by relevance
/external/skqp/src/gpu/ |
D | SkGpuDevice_drawTexture.cpp | 33 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/ |
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 …]
|
/external/pdfium/xfa/fwl/ |
D | cfwl_widgetmgr.cpp | 149 CFX_RectF transformedRect = rect; in RepaintWidget() local 154 transformedRect.left += rtTemp.left; in RepaintWidget() 155 transformedRect.top += rtTemp.top; in RepaintWidget() 165 pNative, CFX_PointF(transformedRect.left, transformedRect.top)); in RepaintWidget() 166 transformedRect.left = pos.x; in RepaintWidget() 167 transformedRect.top = pos.y; in RepaintWidget()
|
/external/skqp/bench/ |
D | MatrixBench.cpp | 212 SkRect transformedRect; in performTest() local 216 inv.mapRect(&transformedRect, srcRect); in performTest()
|
/external/skia/bench/ |
D | MatrixBench.cpp | 212 SkRect transformedRect; in performTest() local 216 inv.mapRect(&transformedRect, srcRect); in performTest()
|
/external/skia/src/svg/ |
D | SkSVGDevice.cpp | 681 SkRect transformedRect = this->cs().bounds(this->getGlobalBounds()); in drawAnnotation() local 683 if (transformedRect.isEmpty()) { in drawAnnotation() 693 r.addRectAttributes(transformedRect); in drawAnnotation()
|
/external/skqp/src/svg/ |
D | SkSVGDevice.cpp | 682 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/pdf/ |
D | SkPDFDevice.cpp | 524 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/skqp/src/pdf/ |
D | SkPDFDevice.cpp | 524 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()
|