/external/webkit/Source/WebCore/platform/graphics/haiku/ |
GraphicsContextHaiku.cpp | 29 #include "GraphicsContext.h" 64 void GraphicsContext::platformInit(PlatformGraphicsContext* context) 70 void GraphicsContext::platformDestroy() 75 PlatformGraphicsContext* GraphicsContext::platformContext() const 80 void GraphicsContext::savePlatformState() 85 void GraphicsContext::restorePlatformState() 91 void GraphicsContext::drawRect(const IntRect& rect) 102 void GraphicsContext::drawLine(const IntPoint& point1, const IntPoint& point2) 114 void GraphicsContext::drawEllipse(const IntRect& rect) 124 void GraphicsContext::strokeArc(const IntRect& rect, int startAngle, int angleSpan [all...] |
FontHaiku.cpp | 34 #include "GraphicsContext.h" 73 void Font::drawGlyphs(GraphicsContext* graphicsContext, const SimpleFontData* font, 76 Color color = graphicsContext->fillColor(); 77 BView* view = graphicsContext->platformContext(); 80 graphicsContext->setCompositeOperation(CompositeSourceOver); 95 void Font::drawComplexText(GraphicsContext* ctx, const TextRun& run, const FloatPoint& point, 101 void Font::drawEmphasisMarksForComplexText(GraphicsContext* /* context */, const TextRun& /* run */, const AtomicString& /* mark */, const FloatPoint& /* point */, int /* from */, int /* to */) const
|
/external/webkit/Source/WebCore/platform/graphics/openvg/ |
GraphicsContextOpenVG.cpp | 21 #include "GraphicsContext.h" 51 void GraphicsContext::platformInit(SurfaceOpenVG* surface) 57 void GraphicsContext::platformDestroy() 62 PlatformGraphicsContext* GraphicsContext::platformContext() const 70 AffineTransform GraphicsContext::getCTM() const 78 void GraphicsContext::savePlatformState() 86 void GraphicsContext::restorePlatformState() 94 void GraphicsContext::drawRect(const IntRect& rect) 102 void GraphicsContext::drawLine(const IntPoint& from, const IntPoint& to) 113 void GraphicsContext::drawEllipse(const IntRect& rect [all...] |
/external/webkit/Source/WebCore/platform/graphics/android/context/ |
GraphicsContextAndroid.cpp | 26 #include "GraphicsContext.h" 54 // This class just holds onto a PlatformContextSkia for GraphicsContext. 74 static void syncPlatformContext(GraphicsContext* gc) 103 GraphicsContext* GraphicsContext::createOffscreenContext(int width, int height) 112 GraphicsContext* ctx = new GraphicsContext(pgc); 118 void GraphicsContext::platformInit(PlatformGraphicsContext* gc) 126 void GraphicsContext::platformDestroy() 131 void GraphicsContext::savePlatformState( [all...] |
/external/webkit/Source/WebCore/platform/mac/ |
LocalCurrentGraphicsContext.mm | 23 #include "GraphicsContext.h" 28 LocalCurrentGraphicsContext::LocalCurrentGraphicsContext(GraphicsContext* graphicsContext) 30 m_savedGraphicsContext = graphicsContext; 31 graphicsContext->save(); 33 if (graphicsContext->platformContext() == [[NSGraphicsContext currentContext] graphicsPort]) { 39 NSGraphicsContext* newContext = [NSGraphicsContext graphicsContextWithGraphicsPort:graphicsContext->platformContext() flipped:YES];
|
LocalCurrentGraphicsContext.h | 30 class GraphicsContext; 37 LocalCurrentGraphicsContext(GraphicsContext* graphicsContext); 41 GraphicsContext* m_savedGraphicsContext;
|
/external/webkit/Source/WebCore/platform/graphics/wx/ |
GraphicsContextWx.cpp | 27 #include "GraphicsContext.h" 114 void GraphicsContext::platformInit(PlatformGraphicsContext* context) 131 void GraphicsContext::platformDestroy() 136 PlatformGraphicsContext* GraphicsContext::platformContext() const 141 void GraphicsContext::savePlatformState() 168 void GraphicsContext::restorePlatformState() 196 void GraphicsContext::drawRect(const IntRect& rect) 206 void GraphicsContext::drawLine(const IntPoint& point1, const IntPoint& point2) 219 void GraphicsContext::drawEllipse(const IntRect& rect) 228 void GraphicsContext::strokeArc(const IntRect& rect, int startAngle, int angleSpan [all...] |
/external/webkit/Source/WebCore/platform/graphics/ |
GraphicsContext.cpp | 27 #include "GraphicsContext.h" 79 GraphicsContext::GraphicsContext(PlatformGraphicsContext* platformGraphicsContext) 85 GraphicsContext::~GraphicsContext() 90 void GraphicsContext::save() 100 void GraphicsContext::restore() 106 LOG_ERROR("ERROR void GraphicsContext::restore() stack is empty"); 115 void GraphicsContext::setStrokeThickness(float thickness) 121 void GraphicsContext::setStrokeStyle(StrokeStyle style [all...] |
ShadowBlur.cpp | 34 #include "GraphicsContext.h" 309 void ShadowBlur::adjustBlurRadius(GraphicsContext* context) 342 IntRect ShadowBlur::calculateLayerBoundingRect(GraphicsContext* context, const FloatRect& shadowedRect, const IntRect& clipRect) 399 void ShadowBlur::drawShadowBuffer(GraphicsContext* graphicsContext) 404 graphicsContext->save(); 410 graphicsContext->clip(FloatRect(m_layerOrigin, m_layerSize)); 412 graphicsContext->clipToImageBuffer(m_layerImage, FloatRect(m_layerOrigin, bufferSize)); 413 graphicsContext->setFillColor(m_color, m_colorSpace); 415 graphicsContext->clearShadow() [all...] |
ShadowBlur.h | 41 class GraphicsContext; 52 void drawRectShadow(GraphicsContext*, const FloatRect&, const RoundedIntRect::Radii&); 53 void drawInsetShadow(GraphicsContext*, const FloatRect&, const FloatRect& holeRect, const RoundedIntRect::Radii& holeRadii); 56 void drawShadowBuffer(GraphicsContext*); 58 void adjustBlurRadius(GraphicsContext*); 66 IntRect calculateLayerBoundingRect(GraphicsContext*, const FloatRect& layerArea, const IntRect& clipRect); 69 void drawRectShadowWithoutTiling(GraphicsContext*, const FloatRect&, const RoundedIntRect::Radii&, const IntRect& layerRect); 70 void drawRectShadowWithTiling(GraphicsContext*, const FloatRect&, const RoundedIntRect::Radii&, const IntSize& shadowTemplateSize); 72 void drawInsetShadowWithoutTiling(GraphicsContext*, const FloatRect&, const FloatRect& holeRect, const RoundedIntRect::Radii&, const IntRect& layerRect); 73 void drawInsetShadowWithTiling(GraphicsContext*, const FloatRect&, const FloatRect& holeRect, const RoundedIntRect::Radii&, const IntSize& shadow (…) [all...] |
GeneratedImage.cpp | 30 #include "GraphicsContext.h" 37 void GeneratedImage::draw(GraphicsContext* context, const FloatRect& dstRect, const FloatRect& srcRect, ColorSpace, CompositeOperator compositeOp) 50 void GeneratedImage::drawPattern(GraphicsContext* context, const FloatRect& srcRect, const AffineTransform& patternTransform, 64 GraphicsContext* graphicsContext = imageBuffer->context(); 65 graphicsContext->fillRect(FloatRect(FloatPoint(), adjustedSize), *m_generator.get());
|
/external/webkit/Source/WebCore/platform/wx/wxcode/mac/carbon/ |
non-kerned-drawing.cpp | 29 #include "GraphicsContext.h" 44 void drawTextWithSpacing(GraphicsContext* graphicsContext, const SimpleFontData* font, const wxColour& color, const GlyphBuffer& glyphBuffer, int from, int numGlyphs, const FloatPoint& point) 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/WebProcess/WebPage/qt/ |
TiledDrawingAreaQt.cpp | 33 #include <WebCore/GraphicsContext.h> 48 GraphicsContext graphicsContext(&painter); 49 graphicsContext.translate(-tileRect.x(), -tileRect.y()); 50 graphicsContext.scale(FloatSize(scale, scale)); 55 m_webPage->drawRect(graphicsContext, contentRect);
|
ChunkedUpdateDrawingAreaQt.cpp | 34 #include <WebCore/GraphicsContext.h> 45 GraphicsContext graphicsContext(&painter); 46 graphicsContext.translate(-updateChunk->rect().x(), -updateChunk->rect().y()); 48 m_webPage->drawRect(graphicsContext, updateChunk->rect());
|
/external/webkit/Source/WebCore/platform/ |
ScrollbarThemeComposite.h | 35 virtual bool paint(Scrollbar*, GraphicsContext* context, const IntRect& damageRect); 46 virtual void paintScrollCorner(ScrollView*, GraphicsContext*, const IntRect& cornerRect); 60 virtual void paintScrollbarBackground(GraphicsContext*, Scrollbar*) {} 61 virtual void paintTrackBackground(GraphicsContext*, Scrollbar*, const IntRect&) {} 62 virtual void paintTrackPiece(GraphicsContext*, Scrollbar*, const IntRect&, ScrollbarPart) {} 63 virtual void paintButton(GraphicsContext*, Scrollbar*, const IntRect&, ScrollbarPart) {} 64 virtual void paintThumb(GraphicsContext*, Scrollbar*, const IntRect&) {} 65 virtual void paintTickmarks(GraphicsContext*, Scrollbar*, const IntRect&) {}
|
/external/webkit/Source/WebCore/rendering/svg/ |
SVGInlineTextBox.h | 69 bool acquirePaintingResource(GraphicsContext*&, float scalingFactor, RenderObject*, RenderStyle*); 70 void releasePaintingResource(GraphicsContext*&, const Path*); 72 bool prepareGraphicsContextForTextPainting(GraphicsContext*&, float scalingFactor, TextRun&, RenderStyle*); 73 void restoreGraphicsContextAfterTextPainting(GraphicsContext*&, TextRun&); 75 void paintDecoration(GraphicsContext*, ETextDecoration, const SVGTextFragment&); 76 void paintDecorationWithStyle(GraphicsContext*, ETextDecoration, const SVGTextFragment&, RenderObject* decorationRenderer); 77 void paintTextWithShadows(GraphicsContext*, RenderStyle*, TextRun&, const SVGTextFragment&, int startPosition, int endPosition); 78 void paintText(GraphicsContext*, RenderStyle*, RenderStyle* selectionStyle, const SVGTextFragment&, bool hasSelection, bool paintSelectedTextOnly);
|
/external/webkit/Source/WebKit2/UIProcess/ |
FindIndicator.cpp | 31 #include <WebCore/GraphicsContext.h> 145 void FindIndicator::draw(GraphicsContext& graphicsContext, const IntRect& dirtyRect) 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)) [all...] |
/external/webkit/Source/WebKit2/Shared/ |
WebGraphicsContext.cpp | 37 WebGraphicsContext::WebGraphicsContext(GraphicsContext* graphicsContext) 39 : m_platformContext(graphicsContext->platformContext()) 41 : m_platformContext(graphicsContext->platformContext()->cr())
|
WebGraphicsContext.h | 30 #include <WebCore/GraphicsContext.h> 45 static PassRefPtr<WebGraphicsContext> create(WebCore::GraphicsContext* graphicsContext) 47 return adoptRef(new WebGraphicsContext(graphicsContext)); 58 explicit WebGraphicsContext(WebCore::GraphicsContext*);
|
/external/webkit/Source/WebCore/platform/graphics/win/ |
LocalWindowsContext.h | 30 #include "GraphicsContext.h" 37 LocalWindowsContext(GraphicsContext* graphicsContext, const IntRect& rect, bool supportAlphaBlend = true, bool mayCreateBitmap = true) 38 : m_graphicsContext(graphicsContext) 54 GraphicsContext* m_graphicsContext;
|
/external/webkit/Source/WebKit/chromium/src/painting/ |
GraphicsContextBuilder.h | 34 #include "GraphicsContext.h" 54 WebCore::GraphicsContext& context() { return m_graphicsContext; } 57 WebCore::GraphicsContext m_graphicsContext; 71 WebCore::GraphicsContext& context() { return m_graphicsContext; } 75 WebCore::GraphicsContext m_graphicsContext;
|
/external/webkit/Source/WebKit2/WebProcess/WebPage/ |
PageOverlay.cpp | 33 #include <WebCore/GraphicsContext.h> 100 void PageOverlay::drawRect(GraphicsContext& graphicsContext, const IntRect& dirtyRect) 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/WebCore/platform/gtk/ |
ScrollbarThemeGtk.h | 46 bool paint(Scrollbar*, GraphicsContext*, const IntRect& damageRect); 47 void paintScrollbarBackground(GraphicsContext*, Scrollbar*); 48 void paintTrackBackground(GraphicsContext*, Scrollbar*, const IntRect&); 49 void paintThumb(GraphicsContext*, Scrollbar*, const IntRect&); 50 virtual void paintButton(GraphicsContext*, Scrollbar*, const IntRect&, ScrollbarPart); 51 virtual void paintScrollCorner(ScrollView*, GraphicsContext*, const IntRect&);
|
/external/webkit/Source/WebCore/rendering/ |
RenderScrollbarTheme.h | 47 virtual void paintScrollCorner(ScrollView*, GraphicsContext* context, const IntRect& cornerRect); 71 virtual void paintScrollbarBackground(GraphicsContext*, Scrollbar*); 72 virtual void paintTrackBackground(GraphicsContext*, Scrollbar*, const IntRect&); 73 virtual void paintTrackPiece(GraphicsContext*, Scrollbar*, const IntRect&, ScrollbarPart); 74 virtual void paintButton(GraphicsContext*, Scrollbar*, const IntRect&, ScrollbarPart); 75 virtual void paintThumb(GraphicsContext*, Scrollbar*, const IntRect&);
|
/external/webkit/Source/WebCore/platform/graphics/cairo/ |
GraphicsContextCairo.cpp | 33 #include "GraphicsContext.h" 73 static inline void setPlatformFill(GraphicsContext* context, cairo_t* cr) 94 static inline void setPlatformStroke(GraphicsContext* context, cairo_t* cr) 144 static inline void drawPathShadow(GraphicsContext* context, PathDrawingStyle drawingStyle) 187 static void fillCurrentCairoPath(GraphicsContext* context, cairo_t* cairoContext) 196 static void strokeCurrentCairoPath(GraphicsContext* context, cairo_t* cairoContext) 203 GraphicsContext::GraphicsContext(cairo_t* cr) 209 void GraphicsContext::platformInit(PlatformContextCairo* platformContext) 218 void GraphicsContext::platformDestroy( [all...] |