Searched refs:scaledSize (Results 1 - 11 of 11) sorted by relevance

/external/webkit/Source/WebCore/platform/graphics/chromium/
H A DSimpleFontDataChromiumWin.cpp119 float scaledSize = scaleFactor * fontDescription.computedSize(); local
120 winFont.lfHeight = -lroundf(scaledSize);
122 return new SimpleFontData(FontPlatformData(hfont, scaledSize), isCustomFont(), false);
H A DSimpleFontDataLinux.cpp160 const float scaledSize = lroundf(fontDescription.computedSize() * scaleFactor); local
161 return new SimpleFontData(FontPlatformData(m_platformData, scaledSize), isCustomFont(), false);
/external/webkit/Source/WebCore/platform/graphics/openvg/
H A DImageOpenVG.cpp115 static void adjustSourceRectForDownSampling(FloatRect& srcRect, const IntSize& origSize, const IntSize& scaledSize) argument
118 if (origSize.width() == scaledSize.width())
122 double rate = static_cast<double>(scaledSize.width()) / origSize.width();
/external/webkit/Source/WebCore/platform/graphics/win/
H A DSimpleFontDataWin.cpp113 float scaledSize = scaleFactor * m_platformData.size(); local
116 scaledFont.setSize(scaledSize);
122 winfont.lfHeight = -lroundf(scaledSize * (m_platformData.useGDI() ? 1 : 32));
124 return new SimpleFontData(FontPlatformData(hfont, scaledSize, m_platformData.syntheticBold(), m_platformData.syntheticOblique(), m_platformData.useGDI()), isCustomFont(), false);
/external/webkit/Source/WebCore/platform/image-decoders/gif/
H A DGIFImageDecoder.cpp269 if (buffer.originalFrameRect().contains(IntRect(IntPoint(), scaledSize())))
344 if (!buffer->setSize(scaledSize().width(), scaledSize().height()))
371 const IntSize& bufferSize = scaledSize();
372 if (!frameIndex || prevRect.contains(IntRect(IntPoint(), scaledSize()))) {
/external/webkit/Source/WebCore/platform/image-decoders/png/
H A DPNGImageDecoder.cpp340 if (!buffer.setSize(scaledSize().width(), scaledSize().height())) {
398 int width = scaledSize().width();
402 if (destY < 0 || destY >= scaledSize().height())
/external/webkit/Source/WebCore/platform/graphics/qt/
H A DImageQt.cpp134 QSizeF scaledSize(float(pixmap.width()) * transform.m11(), float(pixmap.height()) * transform.m22());
135 QPixmap scaledPixmap(scaledSize.toSize());
/external/webkit/Source/WebCore/platform/image-decoders/jpeg/
H A DJPEGImageDecoder.cpp464 if (!buffer.setSize(scaledSize().width(), scaledSize().height()))
/external/webkit/Source/WebCore/platform/image-decoders/
H A DImageDecoder.h265 IntSize scaledSize() const
/external/webkit/Source/WebCore/rendering/
H A DRenderBoxModelObject.h141 IntSize calculateFillTileSize(const FillLayer*, IntSize scaledSize) const;
/external/webkit/Source/WebCore/html/canvas/
H A DCanvasRenderingContext2D.cpp1629 IntSize scaledSize = canvas()->convertLogicalToDevice(unscaledSize); local
1630 if (scaledSize.width() < 1)
1631 scaledSize.setWidth(1);
1632 if (scaledSize.height() < 1)
1633 scaledSize.setHeight(1);
1635 float area = 4.0f * scaledSize.width() * scaledSize.height();
1639 return createEmptyImageData(scaledSize);

Completed in 172 milliseconds