Home
last modified time | relevance | path

Searched refs:platformContext (Results 1 – 25 of 73) sorted by relevance

123

/external/webkit/WebCore/platform/graphics/skia/
DGraphicsContextSkia.cpp222 setPaintingDisabled(!gc || !platformContext()->canvas()); in GraphicsContext()
231 PlatformGraphicsContext* GraphicsContext::platformContext() const in platformContext() function in WebCore::GraphicsContext
245 platformContext()->save(); in savePlatformState()
254 platformContext()->restore(); in restorePlatformState()
266 platformContext()->canvas()->saveLayerAlpha( in beginTransparencyLayer()
279 platformContext()->canvas()->getTopPlatformDevice(). in endTransparencyLayer()
282 platformContext()->canvas()->restore(); in endTransparencyLayer()
303 platformContext()->canvas()->clipPath(path); in addInnerRoundedRectClip()
310 platformContext()->addPath(*path.platformPath()); in addPath()
317 platformContext()->beginPath(); in beginPath()
[all …]
DImageSkia.cpp224 static void paintSkBitmap(PlatformContextSkia* platformContext, const NativeImageSkia& bitmap, cons… in paintSkBitmap() argument
229 skia::PlatformCanvas* canvas = platformContext->canvas(); in paintSkBitmap()
231 ResamplingMode resampling = platformContext->isPrinting() ? RESAMPLE_NONE : in paintSkBitmap()
335 if (context->platformContext()->isPrinting()) in drawPattern()
380 context->platformContext()->paintSkPaint(destRect, paint); in drawPattern()
427 paintSkBitmap(ctxt->platformContext(), in draw()
447 paintSkBitmap(ctxt->platformContext(), in draw()
DGraphicsContextPlatformPrivate.h43 GraphicsContextPlatformPrivate(PlatformContextSkia* platformContext) in GraphicsContextPlatformPrivate() argument
44 : m_context(platformContext) { } in GraphicsContextPlatformPrivate()
DPathSkia.cpp275 context->platformContext()->setupPaintForStroking(&paint, 0, 0); in boundingBoxForCurrentStroke()
277 paint.getFillPath(context->platformContext()->currentPath(), &boundingPath); in boundingBoxForCurrentStroke()
307 scratch->platformContext()->setupPaintForStroking(&paint, 0, 0); in strokeContains()
DImageBufferSkia.cpp133 const SkBitmap& bitmap = *context()->platformContext()->bitmap(); in getImageData()
185 const SkBitmap& bitmap = *context()->platformContext()->bitmap(); in putImageData()
/external/webkit/WebCore/platform/graphics/cg/
DGraphicsContextCG.cpp85 CGContextRef GraphicsContext::platformContext() const in platformContext() function in WebCore::GraphicsContext
96 CGContextSaveGState(platformContext()); in savePlatformState()
104 CGContextRestoreGState(platformContext()); in restorePlatformState()
117 CGContextRef context = platformContext(); in drawRect()
193 CGContextRef context = platformContext(); in drawLine()
268 CGContextRef context = platformContext(); in drawEllipse()
283 CGContextRef context = platformContext(); in strokeArc()
375 CGContextRef context = platformContext(); in drawConvexPolygon()
394 CGContextRef cgContext = platformContext(); in applyStrokePattern()
411 CGContextRef cgContext = platformContext(); in applyFillPattern()
[all …]
DPDFDocumentImage.cpp101 …CGContextTranslateCTM(context->platformContext(), floorf(-min(zero, min(rx.x, ry.x))), floorf(-min… in adjustCTM()
104 CGContextRotateCTM(context->platformContext(), -m_rotation); in adjustCTM()
107 …CGContextTranslateCTM(context->platformContext(), m_mediaBox.x() - m_cropBox.x(), m_mediaBox.y() -… in adjustCTM()
159 …CGContextTranslateCTM(context->platformContext(), dstRect.x() - srcRect.x() * hScale, dstRect.y() … in draw()
160 CGContextScaleCTM(context->platformContext(), hScale, vScale); in draw()
161 CGContextScaleCTM(context->platformContext(), 1, -1); in draw()
162 CGContextTranslateCTM(context->platformContext(), 0, -srcRect.height()); in draw()
163 CGContextClipToRect(context->platformContext(), CGRectIntegral(srcRect)); in draw()
168 CGContextTranslateCTM(context->platformContext(), -m_mediaBox.x(), -m_mediaBox.y()); in draw()
169 …CGContextDrawPDFPage(context->platformContext(), CGPDFDocumentGetPage(m_document, m_currentPage + … in draw()
DImageBufferCG.cpp100 CGImageRef cgImage = CGBitmapContextCreateImage(context()->platformContext()); in image()
238 RetainPtr<CGImageRef> image(AdoptCF, CGBitmapContextCreateImage(context()->platformContext())); in toDataURL()
249 …tr<CGImageRef> transformedImage(AdoptCF, CGBitmapContextCreateImage(context()->platformContext())); in toDataURL()
/external/webkit/WebCore/platform/graphics/chromium/
DFontChromiumWin.cpp64 if (context->platformContext()->getTextDrawingMode() != cTextFill) in windowsCanHandleTextDrawing()
68 if (context->platformContext()->getDrawLooper()) in windowsCanHandleTextDrawing()
121 static bool paintSkiaText(PlatformContextSkia* platformContext, in paintSkiaText() argument
128 int textMode = platformContext->getTextDrawingMode(); in paintSkiaText()
132 platformContext->setupPaintForFilling(&paint); in paintSkiaText()
136 …if (!skiaDrawText(hfont, platformContext->canvas(), origin, &paint, &glyphs[0], &advances[0], numG… in paintSkiaText()
143 && platformContext->getStrokeStyle() != NoStroke in paintSkiaText()
144 && platformContext->getStrokeThickness() > 0) { in paintSkiaText()
147 platformContext->setupPaintForStroking(&paint, 0, 0); in paintSkiaText()
162 …if (!skiaDrawText(hfont, platformContext->canvas(), origin, &paint, &glyphs[0], &advances[0], numG… in paintSkiaText()
[all …]
DIconChromiumWin.cpp82 HDC hdc = context->platformContext()->canvas()->beginPlatformPaint(); in paint()
84 context->platformContext()->canvas()->endPlatformPaint(); in paint()
DFontLinux.cpp52 SkCanvas* canvas = gc->platformContext()->canvas(); in drawGlyphs()
55 gc->platformContext()->setupPaintCommon(&paint); in drawGlyphs()
/external/webkit/WebCore/html/
DCanvasStyle.cpp142 …CGContextSetCMYKStrokeColor(context->platformContext(), m_cyan, m_magenta, m_yellow, m_black, m_al… in applyStrokeColor()
144 QPen currentPen = context->platformContext()->pen(); in applyStrokeColor()
148 context->platformContext()->setPen(currentPen); in applyStrokeColor()
205 …CGContextSetCMYKFillColor(context->platformContext(), m_cyan, m_magenta, m_yellow, m_black, m_alph… in applyFillColor()
207 QBrush currentBrush = context->platformContext()->brush(); in applyFillColor()
211 context->platformContext()->setBrush(currentBrush); in applyFillColor()
/external/webkit/WebCore/rendering/
DRenderThemeSafari.cpp379 …paintThemePart(SafariTheme::CheckboxPart, paintInfo.context->platformContext(), inflatedRect, cont… in paintCheckbox()
418 …paintThemePart(RadioButtonPart, paintInfo.context->platformContext(), inflatedRect, controlSize, d… in paintRadio()
564 …paintThemePart(part, paintInfo.context->platformContext(), inflatedRect, controlSize, determineSta… in paintButton()
572 …paintThemePart(SafariTheme::TextFieldPart, paintInfo.context->platformContext(), r, (NSControlSize… in paintTextField()
588 …paintThemePart(CapsLockPart, paintInfo.context->platformContext(), r, (NSControlSize)0, (ThemeCont… in paintCapsLockIndicator()
600 …paintThemePart(SafariTheme::TextAreaPart, paintInfo.context->platformContext(), r, (NSControlSize)… in paintTextArea()
649 …paintThemePart(DropDownButtonPart, info.context->platformContext(), inflatedRect, controlSize, det… in paintMenuList()
707 CGContextRef context = paintInfo.context->platformContext(); in paintMenuListButtonGradients()
927 CGContextRef context = paintInfo.context->platformContext(); in paintSliderTrack()
970 …paintThemePart(SliderThumbPart, paintInfo.context->platformContext(), r, NSSmallControlSize, state… in paintSliderThumb()
[all …]
/external/webkit/WebKit/android/jni/
DWebFrameView.cpp64 SkCanvas* canvas = ctx->platformContext()->mCanvas; in draw()
74 SkCanvas* canvas = ctx->platformContext() ? ctx->platformContext()->mCanvas : NULL; in draw()
/external/webkit/WebCore/platform/graphics/win/
DGraphicsContextCairoWin.cpp69 cairo_surface_t* surface = cairo_get_target(platformContext()); in getWindowsContext()
77 cairo_get_matrix(platformContext(), &mat); in getWindowsContext()
99 cairo_surface_t* surface = cairo_get_target(platformContext()); in releaseWindowsContext()
/external/webkit/WebCore/platform/graphics/wx/
DImageWx.cpp99 wxGCDC* context = (wxGCDC*)ctxt->platformContext(); in draw()
102 wxWindowDC* context = ctxt->platformContext(); in draw()
183 wxGCDC* context = (wxGCDC*)ctxt->platformContext(); in drawPattern()
185 wxWindowDC* context = ctxt->platformContext(); in drawPattern()
/external/webkit/WebCore/platform/wx/wxcode/mac/carbon/
Dnon-kerned-drawing.cpp41 wxGCDC* dc = static_cast<wxGCDC*>(graphicsContext->platformContext()); in drawTextWithSpacing()
43 wxDC* dc = graphicsContext->platformContext(); in drawTextWithSpacing()
/external/webkit/WebCore/platform/wx/wxcode/gtk/
Dnon-kerned-drawing.cpp42 wxGCDC* dc = static_cast<wxGCDC*>(graphicsContext->platformContext()); in drawTextWithSpacing()
44 wxDC* dc = graphicsContext->platformContext(); in drawTextWithSpacing()
/external/webkit/WebCore/platform/win/
DScrollbarThemeSafari.cpp216 …calScrollbar ? VScrollTrackPart : HScrollTrackPart, graphicsContext->platformContext(), trackRect,… in paintTrackBackground()
232 …== VerticalScrollbar ? ScrollUpArrowPart : ScrollLeftArrowPart, graphicsContext->platformContext(), in paintButton()
235 …VerticalScrollbar ? ScrollDownArrowPart : ScrollRightArrowPart, graphicsContext->platformContext(), in paintButton()
251 …() == VerticalScrollbar ? VScrollThumbPart : HScrollThumbPart, graphicsContext->platformContext(), in paintThumb()
/external/webkit/WebCore/platform/wx/
DRenderThemeWx.cpp242 wxDC* dc = static_cast<wxDC*>(i.context->platformContext()); in paintButton()
282 wxDC* dc = static_cast<wxDC*>(i.context->platformContext()); in paintTextField()
304 wxDC* dc = static_cast<wxDC*>(i.context->platformContext()); in paintMenuList()
333 wxDC* dc = static_cast<wxDC*>(i.context->platformContext()); in paintMenuListButton()
/external/webkit/WebCore/platform/wx/wxcode/win/
Dnon-kerned-drawing.cpp74 wxGCDC* dc = static_cast<wxGCDC*>(graphicsContext->platformContext()); in drawTextWithSpacing()
76 wxDC* dc = graphicsContext->platformContext(); in drawTextWithSpacing()
/external/webkit/WebCore/platform/mac/
DLocalCurrentGraphicsContext.mm33 if (graphicsContext->platformContext() == [[NSGraphicsContext currentContext] graphicsPort]) {
39 … [NSGraphicsContext graphicsContextWithGraphicsPort:graphicsContext->platformContext() flipped:YES…
/external/webkit/WebCore/platform/graphics/qt/
DImageQt.cpp132 QPainter* painter(ctxt->platformContext()); in draw()
158 QPainter* p = ctxt->platformContext(); in drawPattern()
/external/webkit/WebCore/platform/chromium/
DScrollbarThemeChromiumLinux.cpp88 PlatformContextSkia* pcs = gc->platformContext(); in paintScrollbarWidget()
132 gc->platformContext()->canvas()->drawRect(skrect, paint); in paintButton()
/external/webkit/WebCore/platform/graphics/cairo/
DImageCairo.cpp105 cairo_t* cr = context->platformContext(); in draw()
151 cairo_t* cr = context->platformContext(); in drawPattern()

123