/external/webkit/Source/WebKit2/Shared/ |
H A D | WebGraphicsContext.cpp | 37 WebGraphicsContext::WebGraphicsContext(GraphicsContext* graphicsContext) argument 39 : m_platformContext(graphicsContext->platformContext()) 41 : m_platformContext(graphicsContext->platformContext()->cr())
|
H A D | WebGraphicsContext.h | 45 static PassRefPtr<WebGraphicsContext> create(WebCore::GraphicsContext* graphicsContext) argument 47 return adoptRef(new WebGraphicsContext(graphicsContext));
|
/external/webkit/Source/WebKit2/Shared/API/c/cg/ |
H A D | WKImageCG.cpp | 46 OwnPtr<GraphicsContext> graphicsContext = webImage->bitmap()->createGraphicsContext(); local 47 CGContextDrawImage(graphicsContext->platformContext(), CGRectMake(0, 0, imageSize.width(), imageSize.height()), imageRef);
|
/external/webkit/Source/WebCore/platform/graphics/win/ |
H A D | LocalWindowsContext.h | 37 LocalWindowsContext(GraphicsContext* graphicsContext, const IntRect& rect, bool supportAlphaBlend = true, bool mayCreateBitmap = true) argument 38 : m_graphicsContext(graphicsContext)
|
H A D | FontCGWin.cpp | 130 static void drawGDIGlyphs(GraphicsContext* graphicsContext, const SimpleFontData* font, const GlyphBuffer& glyphBuffer, argument 133 Color fillColor = graphicsContext->fillColor(); 136 TextDrawingModeFlags drawingMode = graphicsContext->textDrawingMode(); 141 drawIntoBitmap = fillColor.alpha() != 255 || graphicsContext->inTransparencyLayer(); 148 graphicsContext->getShadow(offset, blur, color, shadowColorSpace); 165 hdc = graphicsContext->getWindowsContext(textRect, true, false); 176 bitmap.set(graphicsContext->createWindowsBitmap(textRect.size())); 240 CGContextRef cgContext = graphicsContext->platformContext(); 295 graphicsContext->drawWindowsBitmap(bitmap.get(), textRect.location()); 297 graphicsContext 300 drawGlyphs(GraphicsContext* graphicsContext, const SimpleFontData* font, const GlyphBuffer& glyphBuffer, int from, int numGlyphs, const FloatPoint& point) const argument [all...] |
/external/webkit/Source/WebCore/platform/wx/wxcode/mac/carbon/ |
H A D | non-kerned-drawing.cpp | 44 void drawTextWithSpacing(GraphicsContext* graphicsContext, const SimpleFontData* font, const wxColour& color, const GlyphBuffer& glyphBuffer, int from, int numGlyphs, const FloatPoint& point) argument 46 graphicsContext->save(); 48 wxGCDC* dc = static_cast<wxGCDC*>(graphicsContext->platformContext()); 51 graphicsContext->setFillColor(graphicsContext->fillColor(), ColorSpaceDeviceRGB); 62 graphicsContext->fillColor().getRGBA(red, green, blue, alpha); 77 graphicsContext->restore();
|
/external/webkit/Source/WebKit2/Shared/cg/ |
H A D | ShareableBitmapCG.cpp | 72 OwnPtr<GraphicsContext> graphicsContext = createGraphicsContext(); local 73 RetainPtr<CGImageRef> image(AdoptCF, CGBitmapContextCreateImage(graphicsContext->platformContext()));
|
/external/webkit/Source/WebCore/platform/graphics/cairo/ |
H A D | FontCairo.cpp | 68 static void drawGlyphsShadow(GraphicsContext* graphicsContext, const FloatPoint& point, const SimpleFontData* font, GlyphBufferGlyph* glyphs, int numGlyphs) argument 70 ContextShadow* shadow = graphicsContext->contextShadow(); 73 if (!(graphicsContext->textDrawingMode() & TextModeFill) || shadow->m_type == ContextShadow::NoShadow) 76 if (!shadow->mustUseContextShadow(graphicsContext)) { 78 cairo_t* context = graphicsContext->platformContext()->cr(); 91 cairo_t* shadowContext = shadow->beginShadowLayer(graphicsContext, fontExtentsRect); 95 shadow->endShadowLayer(graphicsContext);
|
/external/webkit/Source/WebKit2/WebProcess/InjectedBundle/API/c/ |
H A D | WKBundlePageOverlay.cpp | 75 virtual void drawRect(PageOverlay* pageOverlay, GraphicsContext& graphicsContext, const IntRect& dirtyRect) argument 80 m_client.drawRect(toAPI(pageOverlay), graphicsContext.platformContext(), toAPI(dirtyRect), m_client.clientInfo);
|
/external/webkit/Source/WebCore/platform/efl/ |
H A D | ScrollbarEfl.cpp | 213 void ScrollbarEfl::paint(GraphicsContext* graphicsContext, const IntRect& damageRect) argument
|
/external/webkit/Source/WebCore/platform/graphics/haiku/ |
H A D | FontHaiku.cpp | 73 void Font::drawGlyphs(GraphicsContext* graphicsContext, const SimpleFontData* font, argument 76 Color color = graphicsContext->fillColor(); 77 BView* view = graphicsContext->platformContext(); 80 graphicsContext->setCompositeOperation(CompositeSourceOver);
|
/external/webkit/Source/WebCore/platform/graphics/wx/ |
H A D | FontWx.cpp | 70 void Font::drawGlyphs(GraphicsContext* graphicsContext, const SimpleFontData* font, const GlyphBuffer& glyphBuffer, argument 74 Color color = graphicsContext->fillColor(); 80 drawTextWithSpacing(graphicsContext, font, color, glyphBuffer, from, numGlyphs, point);
|
/external/webkit/Source/WebCore/platform/gtk/ |
H A D | WidgetRenderingContext.cpp | 69 WidgetRenderingContext::WidgetRenderingContext(GraphicsContext* graphicsContext, const IntRect& targetRect) argument 70 : m_graphicsContext(graphicsContext) 79 if (!theme->m_themePartsHaveRGBAColormap && graphicsContext->gdkWindow()) { 80 m_paintRect = graphicsContext->getCTM().mapRect(targetRect); 81 m_target = graphicsContext->gdkWindow();
|
H A D | ScrollbarThemeGtk.cpp | 185 bool ScrollbarThemeGtk::paint(Scrollbar* scrollbar, GraphicsContext* graphicsContext, const IntRect& damageRect) argument 187 if (graphicsContext->paintingDisabled()) 234 paintScrollbarBackground(graphicsContext, scrollbar); 235 paintTrackBackground(graphicsContext, scrollbar, trackPaintRect); 239 paintButton(graphicsContext, scrollbar, backButtonStartPaintRect, BackButtonStartPart); 241 paintButton(graphicsContext, scrollbar, backButtonEndPaintRect, BackButtonEndPart); 243 paintButton(graphicsContext, scrollbar, forwardButtonStartPaintRect, ForwardButtonStartPart); 245 paintButton(graphicsContext, scrollbar, forwardButtonEndPaintRect, ForwardButtonEndPart); 249 paintThumb(graphicsContext, scrollbar, currentThumbRect);
|
/external/webkit/Source/WebCore/platform/qt/ |
H A D | ScrollbarThemeQt.cpp | 140 bool ScrollbarThemeQt::paint(Scrollbar* scrollbar, GraphicsContext* graphicsContext, const IntRect& damageRect) argument 142 if (graphicsContext->updatingControlTints()) { 147 StylePainter p(this, graphicsContext);
|
/external/webkit/Source/WebCore/platform/win/ |
H A D | ScrollbarThemeSafari.cpp | 206 void ScrollbarThemeSafari::paintTrackBackground(GraphicsContext* graphicsContext, Scrollbar* scrollbar, const IntRect& trackRect) argument 216 paintThemePart(scrollbar->orientation() == VerticalScrollbar ? VScrollTrackPart : HScrollTrackPart, graphicsContext->platformContext(), trackRect, size, state); 219 void ScrollbarThemeSafari::paintButton(GraphicsContext* graphicsContext, Scrollbar* scrollbar, const IntRect& buttonRect, ScrollbarPart part) argument 232 paintThemePart(scrollbar->orientation() == VerticalScrollbar ? ScrollUpArrowPart : ScrollLeftArrowPart, graphicsContext->platformContext(), 235 paintThemePart(scrollbar->orientation() == VerticalScrollbar ? ScrollDownArrowPart : ScrollRightArrowPart, graphicsContext->platformContext(), 239 void ScrollbarThemeSafari::paintThumb(GraphicsContext* graphicsContext, Scrollbar* scrollbar, const IntRect& thumbRect) argument 251 paintThemePart(scrollbar->orientation() == VerticalScrollbar ? VScrollThumbPart : HScrollThumbPart, graphicsContext->platformContext(),
|
/external/webkit/Source/WebCore/platform/wx/wxcode/gtk/ |
H A D | non-kerned-drawing.cpp | 186 void drawTextWithSpacing(GraphicsContext* graphicsContext, const SimpleFontData* font, const wxColour& color, const GlyphBuffer& glyphBuffer, int from, int numGlyphs, const FloatPoint& point) argument 189 wxGCDC* dc = static_cast<wxGCDC*>(graphicsContext->platformContext()); 221 wxDC* dc = graphicsContext->platformContext();
|
/external/webkit/Source/WebCore/platform/wx/wxcode/win/ |
H A D | non-kerned-drawing.cpp | 72 void drawTextWithSpacing(GraphicsContext* graphicsContext, const SimpleFontData* font, const wxColour& color, const GlyphBuffer& glyphBuffer, int from, int numGlyphs, const FloatPoint& point) argument 75 wxGCDC* dc = static_cast<wxGCDC*>(graphicsContext->platformContext()); 77 wxDC* dc = graphicsContext->platformContext();
|
/external/webkit/Source/WebCore/rendering/ |
H A D | RenderScrollbarPart.cpp | 162 void RenderScrollbarPart::paintIntoRect(GraphicsContext* graphicsContext, int tx, int ty, const IntRect& rect) argument 169 if (graphicsContext->paintingDisabled()) 173 PaintInfo paintInfo(graphicsContext, rect, PaintPhaseBlockBackground, false, 0, 0);
|
H A D | RenderScrollbar.cpp | 273 void RenderScrollbar::paintPart(GraphicsContext* graphicsContext, ScrollbarPart partType, const IntRect& rect) argument 278 partRenderer->paintIntoRect(graphicsContext, x(), y(), rect);
|
/external/webkit/Source/WebKit2/WebProcess/InjectedBundle/ |
H A D | InjectedBundlePageUIClient.cpp | 94 void InjectedBundlePageUIClient::paintCustomOverhangArea(WebPage* page, GraphicsContext* graphicsContext, const IntRect& horizontalOverhangArea, const IntRect& verticalOverhangArea, const IntRect& dirtyRect) argument 98 RefPtr<WebGraphicsContext> context = WebGraphicsContext::create(graphicsContext);
|
/external/webkit/Source/WebKit2/WebProcess/WebPage/ |
H A D | PageOverlay.cpp | 100 void PageOverlay::drawRect(GraphicsContext& graphicsContext, const IntRect& dirtyRect) argument 107 graphicsContext.save(); 108 graphicsContext.beginTransparencyLayer(1); 109 graphicsContext.setCompositeOperation(CompositeCopy); 111 m_client->drawRect(this, graphicsContext, paintRect); 113 graphicsContext.endTransparencyLayer(); 114 graphicsContext.restore();
|
/external/webkit/Source/WebKit2/WebProcess/WebPage/ca/ |
H A D | LayerTreeHostCA.cpp | 173 void LayerTreeHostCA::paintContents(const GraphicsLayer* graphicsLayer, GraphicsContext& graphicsContext, GraphicsLayerPaintingPhase, const IntRect& clipRect) argument 176 m_webPage->drawRect(graphicsContext, clipRect); 181 m_webPage->drawPageOverlay(graphicsContext, clipRect);
|
/external/webkit/Source/WebCore/platform/ |
H A D | ScrollbarThemeComposite.cpp | 58 bool ScrollbarThemeComposite::paint(Scrollbar* scrollbar, GraphicsContext* graphicsContext, const IntRect& damageRect) argument 115 if (page->chrome()->client()->paintCustomScrollbar(graphicsContext, 130 paintScrollbarBackground(graphicsContext, scrollbar); 134 paintButton(graphicsContext, scrollbar, backButtonStartPaintRect, BackButtonStartPart); 136 paintButton(graphicsContext, scrollbar, backButtonEndPaintRect, BackButtonEndPart); 138 paintButton(graphicsContext, scrollbar, forwardButtonStartPaintRect, ForwardButtonStartPart); 140 paintButton(graphicsContext, scrollbar, forwardButtonEndPaintRect, ForwardButtonEndPart); 143 paintTrackBackground(graphicsContext, scrollbar, trackPaintRect); 148 paintTrackPiece(graphicsContext, scrollbar, startTrackRect, BackTrackPart); 150 paintTrackPiece(graphicsContext, scrollba [all...] |
/external/webkit/Source/WebKit2/UIProcess/ |
H A D | FindIndicator.cpp | 145 void FindIndicator::draw(GraphicsContext& graphicsContext, const IntRect& dirtyRect) argument 151 graphicsContext.save(); 153 graphicsContext.setShadow(FloatSize(shadowOffsetX, shadowOffsetY), shadowBlurRadius, shadowColor(), ColorSpaceSRGB); 154 graphicsContext.setFillColor(lightBorderColor(), ColorSpaceDeviceRGB); 155 graphicsContext.fillPath(pathWithRoundedRect(outerPathRect, cornerRadius)); 156 graphicsContext.restore(); 158 graphicsContext.save(); 160 graphicsContext.clip(pathWithRoundedRect(innerPathRect, cornerRadius)); 164 graphicsContext.setFillGradient(gradient); 165 graphicsContext [all...] |