Home
last modified time | relevance | path

Searched refs:shadowOffset (Results 1 – 19 of 19) sorted by relevance

/external/webkit/Source/WebKit/win/
DWebKitGraphics.cpp112 … (info->shadowOffset.cx || info->shadowOffset.cy || info->shadowBlur || info->shadowColor)) in WebDrawText()
113 …context.setShadow(FloatSize(info->shadowOffset.cx, info->shadowOffset.cy), info->shadowBlur, info-… in WebDrawText()
DWebKitGraphics.h61 SIZE shadowOffset; member
/external/webkit/Source/WebCore/platform/graphics/chromium/
DFontChromiumWin.cpp278 FloatSize shadowOffset; in drawGlyphs() local
282 if (m_graphicsContext->getShadow(shadowOffset, shadowBlur, shadowColor, shadowColorSpace)) { in drawGlyphs()
291 …ExtTextOut(m_hdc, x + shadowOffset.width(), y + shadowOffset.height(), ETO_GLYPH_INDEX, 0, reinter… in drawGlyphs()
511 FloatSize shadowOffset; in drawComplexText() local
515 …if (graphicsContext->getShadow(shadowOffset, shadowBlur, shadowColor, shadowColorSpace) && windows… in drawComplexText()
519 state.draw(graphicsContext, hdc, static_cast<int>(point.x()) + shadowOffset.width(), in drawComplexText()
520 … static_cast<int>(point.y() - fontMetrics().ascent()) + shadowOffset.height(), from, to); in drawComplexText()
/external/webkit/Source/WebCore/platform/graphics/win/
DFontCGWin.cpp358 FloatSize shadowOffset; in drawGlyphs() local
362 graphicsContext->getShadow(shadowOffset, shadowBlur, shadowColor, shadowColorSpace); in drawGlyphs()
371 float shadowTextX = point.x() + translation.width() + shadowOffset.width(); in drawGlyphs()
373 …float shadowTextY = point.y() + translation.height() + shadowOffset.height() * (graphicsContext->s… in drawGlyphs()
377 …() + translation.width() + shadowOffset.width() + font->syntheticBoldOffset(), point.y() + transla… in drawGlyphs()
391 graphicsContext->setShadow(shadowOffset, shadowBlur, shadowColor, ColorSpaceDeviceRGB); in drawGlyphs()
/external/webkit/Source/WebCore/platform/graphics/mac/
DFontMac.mm218 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 :…
246 context->setShadow(shadowOffset, shadowBlur, shadowColor, shadowColorSpace);
/external/webkit/Source/WebCore/platform/graphics/
DGraphicsContext.cpp138 m_state.shadowOffset = offset; in setShadow()
147 m_state.shadowOffset = offset; in setLegacyShadow()
159 m_state.shadowOffset = FloatSize(); in clearShadow()
169 && (m_state.shadowBlur || m_state.shadowOffset.width() || m_state.shadowOffset.height()); in hasShadow()
174 offset = m_state.shadowOffset; in getShadow()
DGraphicsContext.h195 FloatSize shadowOffset; member
/external/webkit/Source/WebCore/rendering/
DRenderBoxModelObject.cpp2049 …hadowInHole(const IntRect& holeRect, int shadowBlur, int shadowSpread, const IntSize& shadowOffset) in areaCastingShadowInHole() argument
2059 offsetBounds.move(-shadowOffset); in areaCastingShadowInHole()
2082 IntSize shadowOffset(shadow->x(), shadow->y()); in paintBoxShadow() local
2095 shadowRect.move(shadowOffset); in paintBoxShadow()
2102 … IntSize extraOffset(w + max(0, shadowOffset.width()) + shadowBlur + 2 * shadowSpread + 1, 0); in paintBoxShadow()
2103 shadowOffset -= extraOffset; in paintBoxShadow()
2107 context->setLegacyShadow(shadowOffset, shadowBlur, shadowColor, s->colorSpace()); in paintBoxShadow()
2109 context->setShadow(shadowOffset, shadowBlur, shadowColor, s->colorSpace()); in paintBoxShadow()
2161 holeRect.move(-max(shadowOffset.width(), 0) - shadowBlur, 0); in paintBoxShadow()
2162 holeRect.setWidth(holeRect.width() + max(shadowOffset.width(), 0) + shadowBlur); in paintBoxShadow()
[all …]
DInlineTextBox.cpp371 FloatSize shadowOffset(shadowX, shadowY); in applyShadowToGraphicsContext() local
378 shadowRect.move(shadowOffset); in applyShadowToGraphicsContext()
382 … extraOffset = FloatSize(0, 2 * textRect.height() + max(0.0f, shadowOffset.height()) + shadowBlur); in applyShadowToGraphicsContext()
383 shadowOffset -= extraOffset; in applyShadowToGraphicsContext()
386 context->setShadow(shadowOffset, shadowBlur, shadowColor, context->fillColorSpace()); in applyShadowToGraphicsContext()
/external/webkit/Source/WebCore/platform/graphics/skia/
DSkiaFontWin.cpp227 FloatSize shadowOffset; in windowsCanHandleDrawTextShadow() local
232 bool hasShadow = context->getShadow(shadowOffset, shadowBlur, shadowColor, shadowColorSpace); in windowsCanHandleDrawTextShadow()
/external/webkit/Source/WebCore/platform/graphics/wince/
DGraphicsContextWinCE.cpp1217 FloatSize shadowOffset; in fillRoundedRect() local
1222 getShadow(shadowOffset, shadowBlur, shadowColor, shadowColorSpace); in fillRoundedRect()
1226 dstRect.move(stableRound(shadowOffset.width()), stableRound(shadowOffset.height())); in fillRoundedRect()
1635 FloatSize shadowOffset; in drawText() local
1640 && getShadow(shadowOffset, shadowBlur, shadowColor, shadowColorSpace) in drawText()
1646 trShadowPoint = m_data->mapPoint(startPoint + shadowOffset); in drawText()
/external/webkit/Source/WebCore/platform/graphics/cg/
DGraphicsContextCG.cpp705 …ShadowBlur contextShadow(shadowBlur, m_state.shadowOffset, m_state.shadowColor, m_state.shadowColo… in fillRect()
734 …ShadowBlur contextShadow(shadowBlur, m_state.shadowOffset, m_state.shadowColor, m_state.shadowColo… in fillRect()
767 …ShadowBlur contextShadow(shadowBlur, m_state.shadowOffset, m_state.shadowColor, m_state.shadowColo… in fillRoundedRect()
819 …ShadowBlur contextShadow(shadowBlur, m_state.shadowOffset, m_state.shadowColor, m_state.shadowColo… in fillRectWithRoundedHole()
/external/webkit/Source/WebCore/platform/graphics/android/fonts/
DFontAndroid.cpp99 FloatSize shadowOffset; in setupForText() local
107 bool hasShadow = gc->getShadow(shadowOffset, shadowBlur, shadowColor, shadowColorSpace); in setupForText()
/external/webkit/Source/WebCore/platform/mac/
DHTMLConverter.mm482 NSSize shadowOffset;
490shadowOffset.width = [[shadowStyle substringWithRange:NSMakeRange(NSMaxRange(spaceRange), firstRan…
493shadowOffset.height = -[[shadowStyle substringWithRange:NSMakeRange(NSMaxRange(spaceRange), second…
499 [shadow setShadowOffset:shadowOffset];
/external/webkit/Source/WebCore/platform/graphics/cairo/
DGraphicsContextCairo.cpp906 m_state.shadowOffset = FloatSize(size.width(), -size.height()); in setPlatformShadow()
/external/webkit/Source/WebCore/platform/graphics/qt/
DGraphicsContextQt.cpp939 m_state.shadowOffset = FloatSize(size.width(), -size.height()); in setPlatformShadow()
/external/chromium/chrome/browser/ui/cocoa/
Dtabpose_window.mm1049 layer.get().shadowOffset = CGSizeMake(0, -10);
/external/webkit/Source/WebKit/mac/WebView/
DWebHTMLView.mm4309 NSSize offset = [shadow shadowOffset];
/external/webkit/Source/WebCore/
DChangeLog-2010-12-0670824 setShadow in GraphicsContext to shadowOffset which is the current