/external/webkit/Source/WebKit/win/ |
H A D | WebKitGraphics.cpp | 112 (info->shadowOffset.cx || info->shadowOffset.cy || info->shadowBlur || info->shadowColor)) 113 context.setShadow(FloatSize(info->shadowOffset.cx, info->shadowOffset.cy), info->shadowBlur, info->shadowColor, ColorSpaceDeviceRGB);
|
H A D | WebKitGraphics.h | 61 SIZE shadowOffset; member in struct:WebTextRenderInfo
|
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
H A D | FontChromiumWin.cpp | 278 FloatSize shadowOffset; local 282 if (m_graphicsContext->getShadow(shadowOffset, shadowBlur, shadowColor, shadowColorSpace)) { 291 ExtTextOut(m_hdc, x + shadowOffset.width(), y + shadowOffset.height(), ETO_GLYPH_INDEX, 0, reinterpret_cast<const wchar_t*>(&glyphs[0]), numGlyphs, &advances[0]); 511 FloatSize shadowOffset; local 515 if (graphicsContext->getShadow(shadowOffset, shadowBlur, shadowColor, shadowColorSpace) && windowsCanHandleDrawTextShadow(graphicsContext)) { 519 state.draw(graphicsContext, hdc, static_cast<int>(point.x()) + shadowOffset.width(), 520 static_cast<int>(point.y() - fontMetrics().ascent()) + shadowOffset.height(), from, to);
|
/external/webkit/Source/WebCore/platform/graphics/mac/ |
H A D | FontMac.mm | 218 FloatSize shadowOffset; 223 context->getShadow(shadowOffset, shadowBlur, shadowColor, shadowColorSpace); 232 float shadowTextX = point.x() + shadowOffset.width(); 234 float shadowTextY = point.y() + shadowOffset.height() * (context->shadowsIgnoreTransforms() ? -1 : 1); 246 context->setShadow(shadowOffset, shadowBlur, shadowColor, shadowColorSpace);
|
/external/webkit/Source/WebCore/platform/graphics/win/ |
H A D | FontCGWin.cpp | 358 FloatSize shadowOffset; local 362 graphicsContext->getShadow(shadowOffset, shadowBlur, shadowColor, shadowColorSpace); 371 float shadowTextX = point.x() + translation.width() + shadowOffset.width(); 373 float shadowTextY = point.y() + translation.height() + shadowOffset.height() * (graphicsContext->shadowsIgnoreTransforms() ? -1 : 1); 377 CGContextSetTextPosition(cgContext, point.x() + translation.width() + shadowOffset.width() + font->syntheticBoldOffset(), point.y() + translation.height() + shadowOffset.height()); 391 graphicsContext->setShadow(shadowOffset, shadowBlur, shadowColor, ColorSpaceDeviceRGB);
|
/external/webkit/Source/WebCore/rendering/ |
H A D | RenderBoxModelObject.cpp | 2049 static inline IntRect areaCastingShadowInHole(const IntRect& holeRect, int shadowBlur, int shadowSpread, const IntSize& shadowOffset) argument 2059 offsetBounds.move(-shadowOffset); 2082 IntSize shadowOffset(shadow->x(), shadow->y()); 2095 shadowRect.move(shadowOffset); 2102 IntSize extraOffset(w + max(0, shadowOffset.width()) + shadowBlur + 2 * shadowSpread + 1, 0); 2103 shadowOffset -= extraOffset; 2107 context->setLegacyShadow(shadowOffset, shadowBlur, shadowColor, s->colorSpace()); 2109 context->setShadow(shadowOffset, shadowBlur, shadowColor, s->colorSpace()); 2161 holeRect.move(-max(shadowOffset.width(), 0) - shadowBlur, 0); 2162 holeRect.setWidth(holeRect.width() + max(shadowOffset [all...] |
H A D | InlineTextBox.cpp | 371 FloatSize shadowOffset(shadowX, shadowY); 378 shadowRect.move(shadowOffset); 382 extraOffset = FloatSize(0, 2 * textRect.height() + max(0.0f, shadowOffset.height()) + shadowBlur); 383 shadowOffset -= extraOffset; 386 context->setShadow(shadowOffset, shadowBlur, shadowColor, context->fillColorSpace());
|
/external/webkit/Source/WebCore/platform/graphics/skia/ |
H A D | SkiaFontWin.cpp | 227 FloatSize shadowOffset; local 232 bool hasShadow = context->getShadow(shadowOffset, shadowBlur, shadowColor, shadowColorSpace);
|
/external/webkit/Source/WebCore/platform/graphics/ |
H A D | GraphicsContext.cpp | 138 m_state.shadowOffset = offset; 147 m_state.shadowOffset = offset; 159 m_state.shadowOffset = FloatSize(); 169 && (m_state.shadowBlur || m_state.shadowOffset.width() || m_state.shadowOffset.height()); 174 offset = m_state.shadowOffset;
|
H A D | GraphicsContext.h | 195 FloatSize shadowOffset; member in struct:WebCore::GraphicsContextState
|
/external/webkit/Source/WebCore/platform/graphics/cg/ |
H A D | GraphicsContextCG.cpp | 705 ShadowBlur contextShadow(shadowBlur, m_state.shadowOffset, m_state.shadowColor, m_state.shadowColorSpace); 734 ShadowBlur contextShadow(shadowBlur, m_state.shadowOffset, m_state.shadowColor, m_state.shadowColorSpace); 767 ShadowBlur contextShadow(shadowBlur, m_state.shadowOffset, m_state.shadowColor, m_state.shadowColorSpace); 819 ShadowBlur contextShadow(shadowBlur, m_state.shadowOffset, m_state.shadowColor, m_state.shadowColorSpace);
|
/external/webkit/Source/WebCore/platform/graphics/wince/ |
H A D | GraphicsContextWinCE.cpp | 1217 FloatSize shadowOffset; 1222 getShadow(shadowOffset, shadowBlur, shadowColor, shadowColorSpace); 1226 dstRect.move(stableRound(shadowOffset.width()), stableRound(shadowOffset.height())); 1635 FloatSize shadowOffset; local 1640 && getShadow(shadowOffset, shadowBlur, shadowColor, shadowColorSpace) 1646 trShadowPoint = m_data->mapPoint(startPoint + shadowOffset);
|
/external/webkit/Source/WebCore/platform/graphics/android/fonts/ |
H A D | FontAndroid.cpp | 99 FloatSize shadowOffset; local 107 bool hasShadow = gc->getShadow(shadowOffset, shadowBlur, shadowColor, shadowColorSpace);
|
/external/webkit/Source/WebCore/platform/mac/ |
H A D | HTMLConverter.mm | 482 NSSize shadowOffset; 490 shadowOffset.width = [[shadowStyle substringWithRange:NSMakeRange(NSMaxRange(spaceRange), firstRange.location - NSMaxRange(spaceRange))] floatValue]; 493 shadowOffset.height = -[[shadowStyle substringWithRange:NSMakeRange(NSMaxRange(spaceRange), secondRange.location - NSMaxRange(spaceRange))] floatValue]; 499 [shadow setShadowOffset:shadowOffset];
|
/external/webkit/Source/WebCore/platform/graphics/cairo/ |
H A D | GraphicsContextCairo.cpp | 906 m_state.shadowOffset = FloatSize(size.width(), -size.height());
|
/external/webkit/Source/WebCore/platform/graphics/qt/ |
H A D | GraphicsContextQt.cpp | 939 m_state.shadowOffset = FloatSize(size.width(), -size.height());
|
/external/webkit/Source/WebKit/mac/WebView/ |
H A D | WebHTMLView.mm | 4309 NSSize offset = [shadow shadowOffset];
|