Home
last modified time | relevance | path

Searched refs:graphicsContext (Results 1 – 20 of 20) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/fonts/win/
DFontWin.cpp60 void Font::drawGlyphs(GraphicsContext* graphicsContext, in drawGlyphs() argument
65 SkColor color = graphicsContext->effectiveFillColor(); in drawGlyphs()
68 if (!alpha && graphicsContext->strokeStyle() == NoStroke && !graphicsContext->hasShadow()) in drawGlyphs()
86 AffineTransform savedMatrix = graphicsContext->getCTM(); in drawGlyphs()
87 graphicsContext->concatCTM(AffineTransform(0, -1, 1, 0, point.x(), point.y())); in drawGlyphs()
88 graphicsContext->concatCTM(AffineTransform(1, 0, 0, 1, -point.x(), -point.y())); in drawGlyphs()
112 …paintSkiaText(graphicsContext, font->platformData(), curLen, &glyphs[0], &advances[0], &offsets[0]… in drawGlyphs()
115 graphicsContext->setCTM(savedMatrix); in drawGlyphs()
153 …paintSkiaText(graphicsContext, font->platformData(), curLen, &glyphs[0], &advances[0], 0, origin, … in drawGlyphs()
176 void Font::drawComplexText(GraphicsContext* graphicsContext, in drawComplexText() argument
[all …]
DUniscribeHelper.cpp347 void UniscribeHelper::draw(GraphicsContext* graphicsContext, in draw() argument
444 paintSkiaText(graphicsContext, in draw()
/external/chromium_org/third_party/WebKit/Source/core/page/
DPrintContext.cpp287 void PrintContext::outputLinkedDestinations(GraphicsContext& graphicsContext, Node* node, const Int… in outputLinkedDestinations() argument
302 graphicsContext.addURLTargetAtPoint(it->key, point); in outputLinkedDestinations()
362 void PrintContext::spoolAllPagesWithBoundaries(Frame* frame, GraphicsContext& graphicsContext, cons… in spoolAllPagesWithBoundaries() argument
380 graphicsContext.setFillColor(Color(255, 255, 255)); in spoolAllPagesWithBoundaries()
381 graphicsContext.fillRect(FloatRect(0, 0, pageWidth, totalHeight)); in spoolAllPagesWithBoundaries()
383 graphicsContext.save(); in spoolAllPagesWithBoundaries()
384 graphicsContext.translate(0, totalHeight); in spoolAllPagesWithBoundaries()
385 graphicsContext.scale(FloatSize(1, -1)); in spoolAllPagesWithBoundaries()
391 graphicsContext.save(); in spoolAllPagesWithBoundaries()
392 graphicsContext.setStrokeColor(Color(0, 0, 255)); in spoolAllPagesWithBoundaries()
[all …]
/external/chromium_org/third_party/WebKit/Source/platform/mac/
DLocalCurrentGraphicsContext.mm29 LocalCurrentGraphicsContext::LocalCurrentGraphicsContext(GraphicsContext* graphicsContext)
31 , m_skiaBitLocker(graphicsContext->canvas())
33 m_savedGraphicsContext = graphicsContext;
34 graphicsContext->save();
67 ContextContainer::ContextContainer(GraphicsContext* graphicsContext)
68 : m_skiaBitLocker(graphicsContext->canvas())
DLocalCurrentGraphicsContext.h34 LocalCurrentGraphicsContext(GraphicsContext* graphicsContext);
/external/chromium_org/third_party/WebKit/Source/platform/scroll/
DScrollbarTheme.cpp62 bool ScrollbarTheme::paint(ScrollbarThemeClient* scrollbar, GraphicsContext* graphicsContext, const… in paint() argument
105 paintScrollbarBackground(graphicsContext, scrollbar); in paint()
109 paintButton(graphicsContext, scrollbar, backButtonStartPaintRect, BackButtonStartPart); in paint()
111 paintButton(graphicsContext, scrollbar, backButtonEndPaintRect, BackButtonEndPart); in paint()
113 … paintButton(graphicsContext, scrollbar, forwardButtonStartPaintRect, ForwardButtonStartPart); in paint()
115 paintButton(graphicsContext, scrollbar, forwardButtonEndPaintRect, ForwardButtonEndPart); in paint()
118 paintTrackBackground(graphicsContext, scrollbar, trackPaintRect); in paint()
123 paintTrackPiece(graphicsContext, scrollbar, startTrackRect, BackTrackPart); in paint()
125 paintTrackPiece(graphicsContext, scrollbar, endTrackRect, ForwardTrackPart); in paint()
127 paintTickmarks(graphicsContext, scrollbar, trackPaintRect); in paint()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderObject.cpp901 void RenderObject::drawLineForBoxSide(GraphicsContext* graphicsContext, int x1, int y1, int x2, int… in drawLineForBoxSide() argument
929 drawDashedOrDottedBoxSide(graphicsContext, x1, y1, x2, y2, side, in drawLineForBoxSide()
933 drawDoubleBoxSide(graphicsContext, x1, y1, x2, y2, length, side, color, in drawLineForBoxSide()
938 drawRidgeOrGrooveBoxSide(graphicsContext, x1, y1, x2, y2, side, color, in drawLineForBoxSide()
952 …drawSolidBoxSide(graphicsContext, x1, y1, x2, y2, side, color, adjacentWidth1, adjacentWidth2, ant… in drawLineForBoxSide()
957 void RenderObject::drawDashedOrDottedBoxSide(GraphicsContext* graphicsContext, int x1, int y1, int … in drawDashedOrDottedBoxSide() argument
963 bool wasAntialiased = graphicsContext->shouldAntialias(); in drawDashedOrDottedBoxSide()
964 StrokeStyle oldStrokeStyle = graphicsContext->strokeStyle(); in drawDashedOrDottedBoxSide()
965 graphicsContext->setShouldAntialias(antialias); in drawDashedOrDottedBoxSide()
966 graphicsContext->setStrokeColor(color); in drawDashedOrDottedBoxSide()
[all …]
DRenderBoxModelObject.cpp1157 bool RenderBoxModelObject::paintNinePieceImage(GraphicsContext* graphicsContext, const LayoutRect& … in paintNinePieceImage() argument
1239graphicsContext->drawImage(image.get(), IntRect(borderImageRect.location(), IntSize(leftWidth, top… in paintNinePieceImage()
1245graphicsContext->drawImage(image.get(), IntRect(borderImageRect.x(), borderImageRect.maxY() - bott… in paintNinePieceImage()
1251graphicsContext->drawTiledImage(image.get(), IntRect(borderImageRect.x(), borderImageRect.y() + to… in paintNinePieceImage()
1261graphicsContext->drawImage(image.get(), IntRect(borderImageRect.maxX() - rightWidth, borderImageRe… in paintNinePieceImage()
1267graphicsContext->drawImage(image.get(), IntRect(borderImageRect.maxX() - rightWidth, borderImageRe… in paintNinePieceImage()
1272graphicsContext->drawTiledImage(image.get(), IntRect(borderImageRect.maxX() - rightWidth, borderIm… in paintNinePieceImage()
1281graphicsContext->drawTiledImage(image.get(), IntRect(borderImageRect.x() + leftWidth, borderImageR… in paintNinePieceImage()
1287graphicsContext->drawTiledImage(image.get(), IntRect(borderImageRect.x() + leftWidth, borderImageR… in paintNinePieceImage()
1315 graphicsContext->drawTiledImage(image.get(), in paintNinePieceImage()
[all …]
DRenderFieldset.cpp170 GraphicsContext* graphicsContext = paintInfo.context; in paintBoxDecorations() local
171 GraphicsContextStateSaver stateSaver(*graphicsContext); in paintBoxDecorations()
179graphicsContext->clipOut(pixelSnappedIntRect(paintRect.x() + legend->x(), clipTop, legend->width()… in paintBoxDecorations()
183graphicsContext->clipOut(pixelSnappedIntRect(clipLeft, paintRect.y() + legend->y(), clipWidth, leg… in paintBoxDecorations()
DRenderScrollbarPart.cpp177 void RenderScrollbarPart::paintIntoRect(GraphicsContext* graphicsContext, const LayoutPoint& paintO… in paintIntoRect() argument
184 if (graphicsContext->paintingDisabled()) in paintIntoRect()
188 …PaintInfo paintInfo(graphicsContext, pixelSnappedIntRect(rect), PaintPhaseBlockBackground, PaintBe… in paintIntoRect()
DRenderInline.cpp1420 GraphicsContext* graphicsContext = paintInfo.context; in paintOutline() local
1421 if (graphicsContext->paintingDisabled()) in paintOutline()
1441 graphicsContext->beginTransparencyLayer(static_cast<float>(outlineColor.alpha()) / 255); in paintOutline()
1446 …paintOutlineForLine(graphicsContext, paintOffset, rects.at(i - 1), rects.at(i), rects.at(i + 1), o… in paintOutline()
1449 graphicsContext->endLayer(); in paintOutline()
1452 void RenderInline::paintOutlineForLine(GraphicsContext* graphicsContext, const LayoutPoint& paintOf… in paintOutlineForLine() argument
1460 bool antialias = shouldAntialiasLines(graphicsContext); in paintOutlineForLine()
1472 drawLineForBoxSide(graphicsContext, in paintOutlineForLine()
1484 drawLineForBoxSide(graphicsContext, in paintOutlineForLine()
1496 drawLineForBoxSide(graphicsContext, in paintOutlineForLine()
[all …]
DRenderScrollbar.cpp267 void RenderScrollbar::paintPart(GraphicsContext* graphicsContext, ScrollbarPart partType, const Int… in paintPart() argument
272 partRenderer->paintIntoRect(graphicsContext, location(), rect); in paintPart()
DRenderTableCell.cpp1118 GraphicsContext* graphicsContext = paintInfo.context; in paintCollapsedBorders() local
1119 if (!table()->currentBorderValue() || graphicsContext->paintingDisabled()) in paintCollapsedBorders()
1157 bool antialias = shouldAntialiasLines(graphicsContext); in paintCollapsedBorders()
1161 … drawLineForBoxSide(graphicsContext, border->x1, border->y1, border->x2, border->y2, border->side, in paintCollapsedBorders()
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DCrossfadeGeneratedImage.cpp107 GraphicsContext* graphicsContext = imageBuffer->context(); in drawPattern() local
108 drawCrossfade(graphicsContext); in drawPattern()
/external/chromium_org/third_party/WebKit/Source/web/
DWebFrameImpl.cpp342 …void spoolAllPagesWithBoundaries(GraphicsContext& graphicsContext, const FloatSize& pageSizeInPixe… in spoolAllPagesWithBoundaries() argument
357 graphicsContext.setFillColor(Color::white); in spoolAllPagesWithBoundaries()
358 graphicsContext.fillRect(FloatRect(0, 0, pageWidth, totalHeight)); in spoolAllPagesWithBoundaries()
360 graphicsContext.save(); in spoolAllPagesWithBoundaries()
366 graphicsContext.save(); in spoolAllPagesWithBoundaries()
367 graphicsContext.setStrokeColor(Color(0, 0, 255)); in spoolAllPagesWithBoundaries()
368 graphicsContext.setFillColor(Color(0, 0, 255)); in spoolAllPagesWithBoundaries()
369graphicsContext.drawLine(IntPoint(0, currentHeight), IntPoint(pageWidth, currentHeight)); in spoolAllPagesWithBoundaries()
370 graphicsContext.restore(); in spoolAllPagesWithBoundaries()
373 graphicsContext.save(); in spoolAllPagesWithBoundaries()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/
DShape.cpp224 GraphicsContext* graphicsContext = imageBuffer->context(); in createShape() local
225 graphicsContext->drawImage(image, IntPoint()); in createShape()
/external/chromium_org/ui/base/cocoa/
Devents_mac_unittest.mm167 context:[window graphicsContext]
/external/chromium_org/content/browser/renderer_host/
Dbacking_store_mac.mm263 NSGraphicsContext* ns_context = [window graphicsContext];
/external/chromium_org/native_client_sdk/src/doc/devguide/coding/
D3D-graphics.rst275 ppb_g3d_interface->CompileShader(graphicsContext, shader);
/external/chromium_org/tools/valgrind/memcheck/
Dsuppressions_mac.txt119 …fun:-[NSStringDrawingTextStorage drawTextContainer:withRect:graphicsContext:baselineMode:scrollabl…