/external/webkit/Source/WebCore/platform/win/ |
ScrollbarThemeSafari.cpp | 31 #include "GraphicsContext.h" 206 void ScrollbarThemeSafari::paintTrackBackground(GraphicsContext* graphicsContext, Scrollbar* scrollbar, const IntRect& trackRect) 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) 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 [all...] |
/external/webkit/Source/WebCore/rendering/ |
RenderObject.cpp | 40 #include "GraphicsContext.h" 709 void RenderObject::drawLineForBoxSide(GraphicsContext* graphicsContext, int x1, int y1, int x2, int y2, 724 graphicsContext->setStrokeColor(color, m_style->colorSpace()); 725 graphicsContext->setStrokeThickness(width); 726 graphicsContext->setStrokeStyle(style == DASHED ? DashedStroke : DottedStroke); 729 bool wasAntialiased = graphicsContext->shouldAntialias(); 730 graphicsContext->setShouldAntialias(antialias); 735 graphicsContext->drawLine(IntPoint(x1, (y1 + y2) / 2), IntPoint(x2, (y1 + y2) / 2)); 739 graphicsContext->drawLine(IntPoint((x1 + x2) / 2, y1), IntPoint((x1 + x2) / 2, y2)) [all...] |
RenderFieldset.cpp | 28 #include "GraphicsContext.h" 164 GraphicsContext* graphicsContext = paintInfo.context; 165 graphicsContext->save(); 173 graphicsContext->clipOut(IntRect(tx + legend->x(), clipTop, legend->width(), clipHeight)); 177 graphicsContext->clipOut(IntRect(clipLeft, ty + legend->y(), clipWidth, legend->height())); 182 graphicsContext->restore();
|
RenderScrollbarPart.cpp | 162 void RenderScrollbarPart::paintIntoRect(GraphicsContext* graphicsContext, int tx, int ty, const IntRect& rect) 169 if (graphicsContext->paintingDisabled()) 173 PaintInfo paintInfo(graphicsContext, rect, PaintPhaseBlockBackground, false, 0, 0);
|
/external/webkit/Source/WebCore/platform/gtk/ |
ScrollbarThemeGtk.cpp | 185 bool ScrollbarThemeGtk::paint(Scrollbar* scrollbar, GraphicsContext* graphicsContext, const IntRect& damageRect) 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) [all...] |
WidgetRenderingContext.cpp | 34 #include "GraphicsContext.h" 69 WidgetRenderingContext::WidgetRenderingContext(GraphicsContext* graphicsContext, const IntRect& targetRect) 70 : m_graphicsContext(graphicsContext) 79 if (!theme->m_themePartsHaveRGBAColormap && graphicsContext->gdkWindow()) { 80 m_paintRect = graphicsContext->getCTM().mapRect(targetRect); 81 m_target = graphicsContext->gdkWindow();
|
/external/webkit/Source/WebCore/platform/wx/wxcode/win/ |
non-kerned-drawing.cpp | 28 #include "GraphicsContext.h" 72 void drawTextWithSpacing(GraphicsContext* graphicsContext, const SimpleFontData* font, const wxColour& color, const GlyphBuffer& glyphBuffer, int from, int numGlyphs, const FloatPoint& point) 75 wxGCDC* dc = static_cast<wxGCDC*>(graphicsContext->platformContext()); 77 wxDC* dc = graphicsContext->platformContext();
|
/external/webkit/Source/WebKit2/Shared/cg/ |
ShareableBitmapCG.cpp | 29 #include <WebCore/GraphicsContext.h> 48 PassOwnPtr<GraphicsContext> ShareableBitmap::createGraphicsContext() 62 return adoptPtr(new GraphicsContext(bitmapContext.get())); 65 void ShareableBitmap::paint(WebCore::GraphicsContext& context, const IntPoint& dstPoint, const IntRect& srcRect) 72 OwnPtr<GraphicsContext> graphicsContext = createGraphicsContext(); 73 RetainPtr<CGImageRef> image(AdoptCF, CGBitmapContextCreateImage(graphicsContext->platformContext()));
|
/external/webkit/Source/WebCore/platform/graphics/mac/ |
WebLayer.mm | 32 #import "GraphicsContext.h" 64 GraphicsContext graphicsContext(context); 65 graphicsContext.setIsCALayerContext(true); 66 graphicsContext.setIsAcceleratedContext(platformLayer->acceleratesDrawing()); 70 graphicsContext.setShouldSmoothFonts(false); 77 layerContents->platformCALayerPaintContents(graphicsContext, clip);
|
/external/webkit/Source/WebCore/platform/graphics/wx/ |
FontWx.cpp | 31 #include "GraphicsContext.h" 70 void Font::drawGlyphs(GraphicsContext* graphicsContext, const SimpleFontData* font, const GlyphBuffer& glyphBuffer, 74 Color color = graphicsContext->fillColor(); 80 drawTextWithSpacing(graphicsContext, font, color, glyphBuffer, from, numGlyphs, point); 119 void Font::drawComplexText(GraphicsContext* context, const TextRun& run, const FloatPoint& point, int from, int to) const 157 void Font::drawEmphasisMarksForComplexText(GraphicsContext* context, const TextRun& run, const AtomicString& mark, const FloatPoint& point, int from, int to) const
|
/external/webkit/Source/WebKit2/WebProcess/WebPage/ca/ |
LayerTreeHostCA.cpp | 173 void LayerTreeHostCA::paintContents(const GraphicsLayer* graphicsLayer, GraphicsContext& graphicsContext, GraphicsLayerPaintingPhase, const IntRect& clipRect) 176 m_webPage->drawRect(graphicsContext, clipRect); 181 m_webPage->drawPageOverlay(graphicsContext, clipRect);
|
/external/webkit/Source/WebCore/platform/graphics/gtk/ |
FontGtk.cpp | 39 #include "GraphicsContext.h" 221 static void drawGlyphsShadow(GraphicsContext* graphicsContext, const FloatPoint& point, PangoLayoutLine* layoutLine, PangoRegionType renderRegion) 223 ContextShadow* shadow = graphicsContext->contextShadow(); 226 if (!(graphicsContext->textDrawingMode() & TextModeFill) || shadow->m_type == ContextShadow::NoShadow) 232 if (!shadow->mustUseContextShadow(graphicsContext)) { 233 cairo_t* context = graphicsContext->platformContext()->cr(); 248 cairo_t* shadowContext = shadow->beginShadowLayer(graphicsContext, extents); 257 cairo_t* context = graphicsContext->platformContext()->cr(); 264 shadow->endShadowLayer(graphicsContext); [all...] |
/external/webkit/Source/WebCore/platform/graphics/win/ |
WebLayer.cpp | 77 GraphicsContext graphicsContext(context); 83 m_owner->paintGraphicsLayerContents(graphicsContext, clip); 131 GraphicsContext cg(context);
|
/external/webkit/Source/WebKit2/UIProcess/win/ |
BackingStoreWin.cpp | 32 #include <WebCore/GraphicsContext.h> 88 GraphicsContext graphicsContext(dc); 96 bitmap->paint(graphicsContext, updateRect.location(), srcRect);
|
/external/webkit/Source/WebKit2/WebProcess/InjectedBundle/API/c/ |
WKBundlePageOverlay.cpp | 32 #include <WebCore/GraphicsContext.h> 75 virtual void drawRect(PageOverlay* pageOverlay, GraphicsContext& graphicsContext, const IntRect& dirtyRect) 80 m_client.drawRect(toAPI(pageOverlay), graphicsContext.platformContext(), toAPI(dirtyRect), m_client.clientInfo);
|
WKBundlePageOverlay.h | 46 typedef void (*WKBundlePageOverlayDrawRectCallback)(WKBundlePageOverlayRef pageOverlay, void* graphicsContext, WKRect dirtyRect, const void* clientInfo);
|
/external/webkit/Source/WebKit2/WebProcess/Plugins/ |
PluginProxy.cpp | 43 #include <WebCore/GraphicsContext.h> 125 void PluginProxy::paint(GraphicsContext* graphicsContext, const IntRect& dirtyRect) 134 OwnPtr<WebCore::GraphicsContext> graphicsContext = m_backingStore->createGraphicsContext(); 135 graphicsContext->setCompositeOperation(CompositeCopy); 137 m_pluginBackingStore->paint(*graphicsContext, IntPoint(), IntRect(0, 0, m_frameRect.width(), m_frameRect.height())); 145 m_backingStore->paint(*graphicsContext, dirtyRect.location(), dirtyRectInPluginCoordinates); 470 OwnPtr<GraphicsContext> graphicsContext = m_backingStore->createGraphicsContext() [all...] |
/external/webkit/Source/WebKit2/UIProcess/mac/ |
BackingStoreMac.mm | 33 #import <WebCore/GraphicsContext.h> 104 GraphicsContext graphicsContext(context); 112 bitmap->paint(graphicsContext, updateRect.location(), srcRect);
|
/external/webkit/Source/WebCore/page/mac/ |
FrameMac.mm | 38 #import "GraphicsContext.h" 269 GraphicsContext graphicsContext((CGContextRef)[[NSGraphicsContext currentContext] graphicsPort]); 270 graphicsContext.save(); 271 graphicsContext.translate(-rect.origin.x, -rect.origin.y); 272 m_view->paintContents(&graphicsContext, IntRect(rect)); 273 graphicsContext.restore();
|
/external/webkit/Source/WebKit2/WebProcess/InjectedBundle/ |
InjectedBundlePageUIClient.cpp | 94 void InjectedBundlePageUIClient::paintCustomOverhangArea(WebPage* page, GraphicsContext* graphicsContext, const IntRect& horizontalOverhangArea, const IntRect& verticalOverhangArea, const IntRect& dirtyRect) 98 RefPtr<WebGraphicsContext> context = WebGraphicsContext::create(graphicsContext);
|
/external/webkit/Source/WebCore/platform/graphics/texmap/ |
TextureMapper.h | 30 #include "GraphicsContext.h" 96 static PassOwnPtr<TextureMapper> create(GraphicsContext* graphicsContext = 0); 109 virtual void setGraphicsContext(GraphicsContext*) { }
|
/external/webkit/Source/WebCore/platform/qt/ |
ScrollbarThemeQt.cpp | 31 #include "GraphicsContext.h" 140 bool ScrollbarThemeQt::paint(Scrollbar* scrollbar, GraphicsContext* graphicsContext, const IntRect& damageRect) 142 if (graphicsContext->updatingControlTints()) { 147 StylePainter p(this, graphicsContext); 236 void ScrollbarThemeQt::paintScrollCorner(ScrollView* scrollView, GraphicsContext* context, const IntRect& rect)
|
/external/webkit/Source/WebCore/platform/wx/wxcode/gtk/ |
non-kerned-drawing.cpp | 28 #include "GraphicsContext.h" 186 void drawTextWithSpacing(GraphicsContext* graphicsContext, const SimpleFontData* font, const wxColour& color, const GlyphBuffer& glyphBuffer, int from, int numGlyphs, const FloatPoint& point) 189 wxGCDC* dc = static_cast<wxGCDC*>(graphicsContext->platformContext()); 221 wxDC* dc = graphicsContext->platformContext();
|
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
UniscribeHelper.h | 47 class GraphicsContext; 193 void draw(GraphicsContext* graphicsContext, HDC dc, int x, int y, int from,
|
/external/webkit/Source/WebKit/mac/Misc/ |
WebCoreStatistics.mm | 41 #import <WebCore/GraphicsContext.h> 307 GraphicsContext graphicsContext(cgContext); 308 PrintContext::spoolAllPagesWithBoundaries(coreFrame, graphicsContext, FloatSize(pageWidthInPixels, pageHeightInPixels));
|