Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DSkGpuDevice_drawTexture.cpp31 static bool has_aligned_samples(const SkRect& srcRect, const SkRect& transformedRect) { in has_aligned_samples() argument
33 …if (SkScalarAbs(SkScalarRoundToScalar(transformedRect.left()) - transformedRect.left()) < kColorBl… in has_aligned_samples()
34 …SkScalarAbs(SkScalarRoundToScalar(transformedRect.top()) - transformedRect.top()) < kColorBleedT… in has_aligned_samples()
35 SkScalarAbs(transformedRect.width() - srcRect.width()) < kColorBleedTolerance && in has_aligned_samples()
36 SkScalarAbs(transformedRect.height() - srcRect.height()) < kColorBleedTolerance) { in has_aligned_samples()
43 const SkRect& transformedRect, in may_color_bleed() argument
48 SkASSERT(!has_aligned_samples(srcRect, transformedRect)); in may_color_bleed()
49 SkRect innerSrcRect(srcRect), innerTransformedRect, outerTransformedRect(transformedRect); in may_color_bleed()
77 SkRect transformedRect; in can_ignore_bilerp_constraint() local
78 srcRectToDeviceSpace.mapRect(&transformedRect, srcRect); in can_ignore_bilerp_constraint()
[all …]
/external/pdfium/xfa/fwl/
Dcfwl_widgetmgr.cpp148 CFX_RectF transformedRect = rect; in RepaintWidget() local
153 transformedRect.left += rtTemp.left; in RepaintWidget()
154 transformedRect.top += rtTemp.top; in RepaintWidget()
164 pNative, CFX_PointF(transformedRect.left, transformedRect.top)); in RepaintWidget()
165 transformedRect.left = pos.x; in RepaintWidget()
166 transformedRect.top = pos.y; in RepaintWidget()
/external/skia/bench/
DMatrixBench.cpp212 SkRect transformedRect; in performTest() local
216 inv.mapRect(&transformedRect, srcRect); in performTest()
/external/skia/src/pdf/
DSkPDFDevice.cpp594 SkRect transformedRect = path.getBounds(); in drawAnnotation() local
595 if (transformedRect.isEmpty()) { in drawAnnotation()
599 fLinkToURLs.emplace_back(RectWithData{transformedRect, sk_ref_sp(value)}); in drawAnnotation()
601 fLinkToDestinations.emplace_back(RectWithData{transformedRect, sk_ref_sp(value)}); in drawAnnotation()