HomeSort by relevance Sort by last modified time
    Searched refs:graphicsContext (Results 1 - 25 of 77) sorted by null

1 2 3 4

  /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/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/WebKit2/WebProcess/WebPage/qt/
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());
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);
  /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/Shared/API/c/cg/
WKGraphicsContextCG.h 36 WK_EXPORT CGContextRef WKGraphicsContextGetCGContext(WKGraphicsContextRef graphicsContext);
WKImageCG.cpp 32 #include <WebCore/GraphicsContext.h>
46 OwnPtr<GraphicsContext> graphicsContext = webImage->bitmap()->createGraphicsContext();
47 CGContextDrawImage(graphicsContext->platformContext(), CGRectMake(0, 0, imageSize.width(), imageSize.height()), imageRef);
  /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/WebProcess/WebPage/mac/
ChunkedUpdateDrawingAreaMac.cpp 34 #include <WebCore/GraphicsContext.h>
55 GraphicsContext graphicsContext(bitmapContext.get());
56 graphicsContext.translate(-updateChunk->rect().x(), -updateChunk->rect().y());
58 m_webPage->drawRect(graphicsContext, updateChunk->rect());
  /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;
FontCGWin.cpp 32 #include "GraphicsContext.h"
130 static void drawGDIGlyphs(GraphicsContext* graphicsContext, const SimpleFontData* font, const GlyphBuffer& glyphBuffer,
133 Color fillColor = graphicsContext->fillColor();
136 TextDrawingModeFlags drawingMode = graphicsContext->textDrawingMode();
141 drawIntoBitmap = fillColor.alpha() != 255 || graphicsContext->inTransparencyLayer();
148 graphicsContext->getShadow(offset, blur, color, shadowColorSpace);
162 OwnPtr<GraphicsContext::WindowsBitmap> bitmap;
165 hdc = graphicsContext->getWindowsContext(textRect, true, false);
176 bitmap.set(graphicsContext->createWindowsBitmap(textRect.size()))
    [all...]
  /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();
FindController.cpp 38 #include <WebCore/GraphicsContext.h>
183 OwnPtr<GraphicsContext> graphicsContext = findIndicatorTextBackingStore->createGraphicsContext();
189 graphicsContext->translate(-paintRect.x(), -paintRect.y());
193 selectedFrame->view()->paint(graphicsContext.get(), paintRect);
293 void FindController::drawRect(PageOverlay* pageOverlay, GraphicsContext& graphicsContext, const IntRect& dirtyRect)
300 graphicsContext.fillRect(dirtyRect, overlayBackgroundColor(fractionFadedIn), ColorSpaceSRGB);
302 graphicsContext.save();
303 graphicsContext.setShadow(FloatSize(shadowOffsetX, shadowOffsetY), shadowBlurRadius, holeShadowColor(fractionFaded (…)
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/
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...]
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/graphics/haiku/
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/skia/
SkiaFontWin.h 42 class GraphicsContext;
74 bool windowsCanHandleDrawTextShadow(GraphicsContext*);
77 bool windowsCanHandleTextDrawing(GraphicsContext*);
81 bool windowsCanHandleTextDrawingWithoutShadow(GraphicsContext*);
88 bool paintSkiaText(GraphicsContext* graphicsContext,
  /external/webkit/Source/WebCore/rendering/
RenderBoxModelObject.cpp 29 #include "GraphicsContext.h"
70 bool shouldPaintAtLowQuality(GraphicsContext*, RenderBoxModelObject*, Image*, const void* layer, const IntSize&);
134 bool ImageQualityController::shouldPaintAtLowQuality(GraphicsContext* context, RenderBoxModelObject* object, Image* image, const void *layer, const IntSize& size)
234 bool RenderBoxModelObject::shouldPaintAtLowQuality(GraphicsContext* context, Image* image, const void* layer, const IntSize& size)
577 GraphicsContext* context = paintInfo.context;
681 GraphicsContext* maskImageContext = maskImage->context();
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/chromium/
FontChromiumWin.cpp 64 TransparencyAwareFontPainter(GraphicsContext*, const FloatPoint&);
77 GraphicsContext* m_graphicsContext;
97 TransparencyAwareFontPainter::TransparencyAwareFontPainter(GraphicsContext* context,
188 TransparencyAwareGlyphPainter(GraphicsContext*,
215 GraphicsContext* context,
300 TransparencyAwareUniscribePainter(GraphicsContext*,
320 GraphicsContext* context,
377 static void drawGlyphsWin(GraphicsContext* graphicsContext,
383 graphicsContext->platformContext()->prepareForSoftwareDraw()
    [all...]
  /external/webkit/Source/WebCore/platform/
ScrollbarThemeComposite.cpp 33 #include "GraphicsContext.h"
58 bool ScrollbarThemeComposite::paint(Scrollbar* scrollbar, GraphicsContext* graphicsContext, const IntRect& damageRect)
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)
    [all...]
  /external/webkit/Source/WebCore/page/
PrintContext.cpp 24 #include "GraphicsContext.h"
203 void PrintContext::spoolPage(GraphicsContext& ctx, int pageNumber, float width)
217 void PrintContext::spoolRect(GraphicsContext& ctx, const IntRect& rect)
328 void PrintContext::spoolAllPagesWithBoundaries(Frame* frame, GraphicsContext& graphicsContext, const FloatSize& pageSizeInPixels)
346 graphicsContext.setFillColor(Color(255, 255, 255), ColorSpaceDeviceRGB);
347 graphicsContext.fillRect(FloatRect(0, 0, pageWidth, totalHeight));
349 graphicsContext.save();
350 graphicsContext.translate(0, totalHeight);
351 graphicsContext.scale(FloatSize(1, -1))
    [all...]
  /external/webkit/Source/WebCore/platform/wx/wxcode/
non-kerned-drawing.h 40 extern void drawTextWithSpacing(GraphicsContext* graphicsContext, const SimpleFontData* font, const wxColour& color, const GlyphBuffer& glyphBuffer, int from, int numGlyphs, const FloatPoint& point);
  /external/webkit/Source/WebCore/platform/graphics/cairo/
FontCairo.cpp 38 #include "GraphicsContext.h"
68 static void drawGlyphsShadow(GraphicsContext* graphicsContext, const FloatPoint& point, const SimpleFontData* font, GlyphBufferGlyph* glyphs, int numGlyphs)
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);
99 void Font::drawGlyphs(GraphicsContext* context, const SimpleFontData* font, const GlyphBuffer& glyphBuffer
    [all...]

Completed in 1300 milliseconds

1 2 3 4