Home
last modified time | relevance | path

Searched refs:xScale (Results 1 – 24 of 24) sorted by relevance

/external/chromium_org/third_party/skia/tests/
DSkResourceCacheTest.cpp20 SkScalar xScale, in is_in_scaled_image_cache() argument
23 float roundedImageWidth = SkScalarRoundToScalar(orig.width() * xScale); in is_in_scaled_image_cache()
24 float roundedImageHeight = SkScalarRoundToScalar(orig.height() * xScale); in is_in_scaled_image_cache()
DRoundRectTest.cpp541 SkScalar xScale = SkIntToScalar(3); in test_transform_helper() local
544 matrix.setScaleX(xScale); in test_transform_helper()
552 SkScalarMul(orig.radii((SkRRect::Corner) i).fX, xScale))); in test_transform_helper()
557 SkScalarMul(orig.rect().width(), xScale))); in test_transform_helper()
561 SkScalarMul(orig.rect().left(), xScale))); in test_transform_helper()
/external/chromium_org/third_party/WebKit/Source/platform/transforms/
DAffineTransform.cpp71 double AffineTransform::xScale() const in xScale() function in blink::AffineTransform
251 double width2 = size.width() * xScale(); in mapSize()
259 double width2 = size.width() * xScale(); in mapSize()
316 double sx = xScale(); in decompose()
DAffineTransform.h104 double xScale() const;
/external/chromium_org/third_party/skia/src/core/
DSkRRect.cpp359 SkScalar xScale = matrix.getScaleX(); in transform() local
360 const bool flipX = xScale < 0; in transform()
362 xScale = -xScale; in transform()
372 dst->fRadii[i].fX = SkScalarMul(fRadii[i].fX, xScale); in transform()
/external/skia/src/core/
DSkRRect.cpp346 SkScalar xScale = matrix.getScaleX(); in transform() local
347 const bool flipX = xScale < 0; in transform()
349 xScale = -xScale; in transform()
359 dst->fRadii[i].fX = SkScalarMul(fRadii[i].fX, xScale); in transform()
/external/skia/src/effects/
DSkGpuBlurUtils.cpp24 static void scale_rect(SkRect* rect, float xScale, float yScale) { in scale_rect() argument
25 rect->fLeft = SkScalarMul(rect->fLeft, xScale); in scale_rect()
27 rect->fRight = SkScalarMul(rect->fRight, xScale); in scale_rect()
/external/skia/tests/
DRoundRectTest.cpp541 SkScalar xScale = SkIntToScalar(3); in test_transform_helper() local
544 matrix.setScaleX(xScale); in test_transform_helper()
552 SkScalarMul(orig.radii((SkRRect::Corner) i).fX, xScale))); in test_transform_helper()
557 SkScalarMul(orig.rect().width(), xScale))); in test_transform_helper()
561 SkScalarMul(orig.rect().left(), xScale))); in test_transform_helper()
/external/chromium_org/third_party/skia/src/effects/
DSkGpuBlurUtils.cpp24 static void scale_rect(SkRect* rect, float xScale, float yScale) { in scale_rect() argument
25 rect->fLeft = SkScalarMul(rect->fLeft, xScale); in scale_rect()
27 rect->fRight = SkScalarMul(rect->fRight, xScale); in scale_rect()
/external/chromium_org/third_party/WebKit/Source/core/paint/
DBoxDecorationData.cpp33 FloatSize contextScaling(static_cast<float>(ctm.xScale()), static_cast<float>(ctm.yScale())); in determineBackgroundBleedAvoidance()
DBoxPainter.cpp213 shrunkRect.inflateX(-static_cast<LayoutUnit>(ceil(1 / transform.xScale()))); in shrinkRectByOnePixel()
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
DSVGRenderingContext.cpp204 return narrowPrecisionToFloat(sqrt((pow(ctm.xScale(), 2) + pow(ctm.yScale(), 2)) / 2)); in calculateScreenFontSizeScalingFactor()
286 …IntSize bufferSize(static_cast<int>(ceil(expandedBoundingBox.width() * transform.xScale())), stati… in bufferForeground()
DRenderSVGResourcePattern.cpp84 absoluteTileBoundaries.scale(static_cast<float>(m_attributes.patternTransform().xScale()), in buildPattern()
DRenderSVGResourceFilter.cpp175 scaleAndTranslate.scale(ctm.xScale(), ctm.yScale()); in drawDeferredFilter()
DSVGTextQuery.cpp387 fragmentTransform.scale(1 / fragmentTransform.xScale(), 1 / fragmentTransform.yScale()); in rotationOfCharacterCallback()
DSVGInlineTextBox.cpp104 textRun.setHorizontalGlyphStretch(narrowPrecisionToFloat(fragmentTransform.xScale())); in offsetForPositionInFragment()
/external/deqp/modules/gles3/functional/
Des3fShaderDerivateTests.cpp1054 const tcu::Vec4 xScale = tcu::Vec4(1.0f, 0.0f, 0.5f, -0.5f); in verify() local
1062 const tcu::Vec4 scale = isX ? xScale : yScale; in verify()
1121 const tcu::Vec4 dx = ((m_coordMax - m_coordMin) / w) * xScale; in verify()
1124 …u::Vec4 dxThreshold = getDerivateThreshold(m_precision, m_coordMin*xScale, m_coordMax*xScale, dx); in verify()
1346 const tcu::Vec4 xScale = tcu::Vec4(1.0f, 0.0f, 0.5f, -0.5f); in verify() local
1357 const tcu::Vec4 scale = isX ? xScale : yScale; in verify()
1410 const tcu::Vec4 dx = ((m_texValueMax - m_texValueMin) / w) * xScale; in verify()
1413 …c4 dxThreshold = getDerivateThreshold(m_precision, m_texValueMin*xScale, m_texValueMax*xScale, dx); in verify()
/external/chromium_org/third_party/skia/src/utils/debugger/
DSkDrawCommand.cpp135 SkScalar xScale = SkIntToScalar(size.fWidth-2) / input.width(); in render_bitmap() local
141 xScale *= input.width() / (float) input.height(); in render_bitmap()
145 xScale * input.width(), in render_bitmap()
152 SkRect r = SkRect::MakeLTRB(srcRect->fLeft * xScale + SK_Scalar1, in render_bitmap()
154 srcRect->fRight * xScale + SK_Scalar1, in render_bitmap()
/external/skia/src/utils/debugger/
DSkDrawCommand.cpp132 SkScalar xScale = SkIntToScalar(size.fWidth-2) / input.width(); in render_bitmap() local
138 xScale *= input.width() / (float) input.height(); in render_bitmap()
142 xScale * input.width(), in render_bitmap()
149 SkRect r = SkRect::MakeLTRB(srcRect->fLeft * xScale + SK_Scalar1, in render_bitmap()
151 srcRect->fRight * xScale + SK_Scalar1, in render_bitmap()
/external/pdfium/core/src/fxge/Microsoft SDK/include/
DGdiPlusPath.h1637 Status GetFocusScales(OUT REAL* xScale, in GetFocusScales() argument
1641 (GpPathGradient*) nativeBrush, xScale, yScale)); in GetFocusScales()
1644 Status SetFocusScales(IN REAL xScale, in SetFocusScales() argument
1648 (GpPathGradient*) nativeBrush, xScale, yScale)); in SetFocusScales()
DGdiPlusFlat.h913 GdipGetPathGradientFocusScales(GpPathGradient *brush, REAL* xScale, REAL* yScale);
916 GdipSetPathGradientFocusScales(GpPathGradient *brush, REAL xScale, REAL yScale);
/external/chromium_org/third_party/WebKit/Source/platform/graphics/skia/
DNativeImageSkia.cpp213 SkScalar ctmScaleX = ctm.xScale(); in drawPattern()
/external/chromium_org/third_party/WebKit/Source/core/svg/graphics/
DSVGImage.cpp233 FloatSize imageBufferScale = FloatSize(transform.xScale(), transform.yScale()); in drawPatternForContainer()
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DGraphicsContext.cpp1805 …IntSize scaledSize(static_cast<int>(ceil(size.width() * transform.xScale())), static_cast<int>(cei… in createRasterBuffer()