Searched refs:scaledSize (Results 1 - 11 of 11) sorted by relevance
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
H A D | SimpleFontDataChromiumWin.cpp | 119 float scaledSize = scaleFactor * fontDescription.computedSize(); local 120 winFont.lfHeight = -lroundf(scaledSize); 122 return new SimpleFontData(FontPlatformData(hfont, scaledSize), isCustomFont(), false);
|
H A D | SimpleFontDataLinux.cpp | 160 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 D | ImageOpenVG.cpp | 115 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 D | SimpleFontDataWin.cpp | 113 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 D | GIFImageDecoder.cpp | 269 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 D | PNGImageDecoder.cpp | 340 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 D | ImageQt.cpp | 134 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 D | JPEGImageDecoder.cpp | 464 if (!buffer.setSize(scaledSize().width(), scaledSize().height()))
|
/external/webkit/Source/WebCore/platform/image-decoders/ |
H A D | ImageDecoder.h | 265 IntSize scaledSize() const
|
/external/webkit/Source/WebCore/rendering/ |
H A D | RenderBoxModelObject.h | 141 IntSize calculateFillTileSize(const FillLayer*, IntSize scaledSize) const;
|
/external/webkit/Source/WebCore/html/canvas/ |
H A D | CanvasRenderingContext2D.cpp | 1629 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