Home
last modified time | relevance | path

Searched refs:shadowContext (Results 1 – 5 of 5) sorted by relevance

/external/webkit/Source/WebCore/platform/graphics/
DShadowBlur.cpp505 GraphicsContext* shadowContext = m_layerImage->context(); in drawRectShadowWithoutTiling() local
506 shadowContext->save(); in drawRectShadowWithoutTiling()
509shadowContext->clearRect(FloatRect(0, 0, m_layerSize.width() + 1, m_layerSize.height() + 1)); in drawRectShadowWithoutTiling()
510 shadowContext->translate(m_layerContextTranslation); in drawRectShadowWithoutTiling()
511 shadowContext->setFillColor(Color::black, ColorSpaceDeviceRGB); in drawRectShadowWithoutTiling()
513 shadowContext->fillRect(shadowedRect); in drawRectShadowWithoutTiling()
517 shadowContext->fillPath(path); in drawRectShadowWithoutTiling()
522 shadowContext->restore(); in drawRectShadowWithoutTiling()
545 GraphicsContext* shadowContext = m_layerImage->context(); in drawInsetShadowWithoutTiling() local
546 shadowContext->save(); in drawInsetShadowWithoutTiling()
[all …]
/external/webkit/Source/WebCore/platform/graphics/cairo/
DImageCairo.cpp142 cairo_t* shadowContext = shadow->beginShadowLayer(context, dstRect); in draw() local
143 if (shadowContext) { in draw()
144 cairo_translate(shadowContext, dstRect.x(), dstRect.y()); in draw()
145 cairo_set_source(shadowContext, pattern); in draw()
146 cairo_rectangle(shadowContext, 0, 0, dstRect.width(), dstRect.height()); in draw()
147 cairo_fill(shadowContext); in draw()
DFontCairo.cpp91 cairo_t* shadowContext = shadow->beginShadowLayer(graphicsContext, fontExtentsRect); in drawGlyphsShadow() local
92 if (shadowContext) { in drawGlyphsShadow()
93 prepareContextForGlyphDrawing(shadowContext, font, point); in drawGlyphsShadow()
94 drawGlyphsToContext(shadowContext, font, glyphs, numGlyphs); in drawGlyphsShadow()
DGraphicsContextCairo.cpp170 cairo_t* shadowContext = shadow->beginShadowLayer(context, solidFigureExtents); in drawPathShadow() local
171 if (!shadowContext) in drawPathShadow()
176 copyContextProperties(cairoContext, shadowContext); in drawPathShadow()
177 cairo_append_path(shadowContext, path.get()); in drawPathShadow()
180 setPlatformFill(context, shadowContext); in drawPathShadow()
182 setPlatformStroke(context, shadowContext); in drawPathShadow()
/external/webkit/Source/WebCore/platform/graphics/gtk/
DFontGtk.cpp248 cairo_t* shadowContext = shadow->beginShadowLayer(graphicsContext, extents); in drawGlyphsShadow() local
249 if (shadowContext) { in drawGlyphsShadow()
250 cairo_translate(shadowContext, point.x(), point.y()); in drawGlyphsShadow()
251 pango_cairo_show_layout_line(shadowContext, layoutLine); in drawGlyphsShadow()