Home
last modified time | relevance | path

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

/external/chromium_org/third_party/WebKit/Source/core/paint/
DObjectPainter.cpp62 GraphicsContext* graphicsContext = paintInfo.context; in paintOutline() local
69 graphicsContext->setFillRule(RULE_EVENODD); in paintOutline()
70 graphicsContext->setFillColor(outlineColor); in paintOutline()
71 graphicsContext->fillPath(path); in paintOutline()
74 graphicsContext->beginTransparencyLayer(static_cast<float>(outlineColor.alpha()) / 255); in paintOutline()
87 …drawLineForBoxSide(graphicsContext, leftOuter, topOuter, leftInner, bottomOuter, BSLeft, outlineCo… in paintOutline()
88 …drawLineForBoxSide(graphicsContext, leftOuter, topOuter, rightOuter, topInner, BSTop, outlineColor… in paintOutline()
89 …drawLineForBoxSide(graphicsContext, rightInner, topOuter, rightOuter, bottomOuter, BSRight, outlin… in paintOutline()
90 …drawLineForBoxSide(graphicsContext, leftOuter, bottomInner, rightOuter, bottomOuter, BSBottom, out… in paintOutline()
93 graphicsContext->endLayer(); in paintOutline()
[all …]
DInlinePainter.cpp57 GraphicsContext* graphicsContext = paintInfo.context; in paintOutline() local
59 graphicsContext->beginTransparencyLayer(static_cast<float>(outlineColor.alpha()) / 255); in paintOutline()
64 …paintOutlineForLine(graphicsContext, paintOffset, rects.at(i - 1), rects.at(i), rects.at(i + 1), o… in paintOutline()
67 graphicsContext->endLayer(); in paintOutline()
70 void InlinePainter::paintOutlineForLine(GraphicsContext* graphicsContext, const LayoutPoint& paintO… in paintOutlineForLine() argument
77 bool antialias = BoxPainter::shouldAntialiasLines(graphicsContext); in paintOutlineForLine()
91 ObjectPainter::drawLineForBoxSide(graphicsContext, in paintOutlineForLine()
103 ObjectPainter::drawLineForBoxSide(graphicsContext, in paintOutlineForLine()
115 ObjectPainter::drawLineForBoxSide(graphicsContext, in paintOutlineForLine()
127 ObjectPainter::drawLineForBoxSide(graphicsContext, in paintOutlineForLine()
[all …]
DBoxPainter.cpp877 bool BoxPainter::paintNinePieceImage(RenderBoxModelObject& obj, GraphicsContext* graphicsContext, c… in paintNinePieceImage() argument
957graphicsContext->drawImage(image.get(), IntRect(borderImageRect.location(), IntSize(leftWidth, top… in paintNinePieceImage()
964graphicsContext->drawImage(image.get(), IntRect(borderImageRect.x(), borderImageRect.maxY() - bott… in paintNinePieceImage()
971graphicsContext->drawTiledImage(image.get(), IntRect(borderImageRect.x(), borderImageRect.y() + to… in paintNinePieceImage()
981graphicsContext->drawImage(image.get(), IntRect(borderImageRect.maxX() - rightWidth, borderImageRe… in paintNinePieceImage()
988graphicsContext->drawImage(image.get(), IntRect(borderImageRect.maxX() - rightWidth, borderImageRe… in paintNinePieceImage()
994graphicsContext->drawTiledImage(image.get(), IntRect(borderImageRect.maxX() - rightWidth, borderIm… in paintNinePieceImage()
1004graphicsContext->drawTiledImage(image.get(), IntRect(borderImageRect.x() + leftWidth, borderImageR… in paintNinePieceImage()
1011graphicsContext->drawTiledImage(image.get(), IntRect(borderImageRect.x() + leftWidth, borderImageR… in paintNinePieceImage()
1040 graphicsContext->drawTiledImage(image.get(), in paintNinePieceImage()
[all …]
/external/chromium_org/third_party/WebKit/Source/platform/scroll/
DScrollbarTheme.cpp50 bool ScrollbarTheme::paint(ScrollbarThemeClient* scrollbar, GraphicsContext* graphicsContext, const… in paint() argument
93 paintScrollbarBackground(graphicsContext, scrollbar); in paint()
97 paintButton(graphicsContext, scrollbar, backButtonStartPaintRect, BackButtonStartPart); in paint()
99 paintButton(graphicsContext, scrollbar, backButtonEndPaintRect, BackButtonEndPart); in paint()
101 … paintButton(graphicsContext, scrollbar, forwardButtonStartPaintRect, ForwardButtonStartPart); in paint()
103 paintButton(graphicsContext, scrollbar, forwardButtonEndPaintRect, ForwardButtonEndPart); in paint()
106 paintTrackBackground(graphicsContext, scrollbar, trackPaintRect); in paint()
111 paintTrackPiece(graphicsContext, scrollbar, startTrackRect, BackTrackPart); in paint()
113 paintTrackPiece(graphicsContext, scrollbar, endTrackRect, ForwardTrackPart); in paint()
115 paintTickmarks(graphicsContext, scrollbar, trackPaintRect); in paint()
[all …]
/external/chromium_org/third_party/WebKit/Source/platform/mac/
DLocalCurrentGraphicsContext.mm30 LocalCurrentGraphicsContext::LocalCurrentGraphicsContext(GraphicsContext* graphicsContext, IntRect …
32 , m_skiaBitLocker(graphicsContext->canvas(),
34 graphicsContext->deviceScaleFactor())
36 m_savedGraphicsContext = graphicsContext;
37 graphicsContext->save();
/external/chromium_org/third_party/WebKit/Source/web/
DWebLocalFrameImpl.cpp324 float spoolSinglePage(GraphicsContext& graphicsContext, int pageNumber) in spoolSinglePage() argument
329 return spoolPage(graphicsContext, pageNumber); in spoolSinglePage()
332 …void spoolAllPagesWithBoundaries(GraphicsContext& graphicsContext, const FloatSize& pageSizeInPixe… in spoolAllPagesWithBoundaries() argument
347 graphicsContext.setFillColor(Color::white); in spoolAllPagesWithBoundaries()
348 graphicsContext.fillRect(FloatRect(0, 0, pageWidth, totalHeight)); in spoolAllPagesWithBoundaries()
354 graphicsContext.save(); in spoolAllPagesWithBoundaries()
355 graphicsContext.setStrokeColor(Color(0, 0, 255)); in spoolAllPagesWithBoundaries()
356 graphicsContext.setFillColor(Color(0, 0, 255)); in spoolAllPagesWithBoundaries()
357graphicsContext.drawLine(IntPoint(0, currentHeight), IntPoint(pageWidth, currentHeight)); in spoolAllPagesWithBoundaries()
358 graphicsContext.restore(); in spoolAllPagesWithBoundaries()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderFieldset.cpp175 GraphicsContext* graphicsContext = paintInfo.context; in paintBoxDecorationBackground() local
176 GraphicsContextStateSaver stateSaver(*graphicsContext); in paintBoxDecorationBackground()
184graphicsContext->clipOut(pixelSnappedIntRect(paintRect.x() + legend->x(), clipTop, legend->width()… in paintBoxDecorationBackground()
188graphicsContext->clipOut(pixelSnappedIntRect(clipLeft, paintRect.y() + legend->y(), clipWidth, leg… in paintBoxDecorationBackground()
DRenderScrollbarPart.cpp172 void RenderScrollbarPart::paintIntoRect(GraphicsContext* graphicsContext, const LayoutPoint& paintO… in paintIntoRect() argument
180 …PaintInfo paintInfo(graphicsContext, pixelSnappedIntRect(rect), PaintPhaseBlockBackground, PaintBe… in paintIntoRect()
DRenderScrollbar.cpp259 void RenderScrollbar::paintPart(GraphicsContext* graphicsContext, ScrollbarPart partType, const Int… in paintPart() argument
264 partRenderer->paintIntoRect(graphicsContext, location(), rect); in paintPart()
DRenderTableCell.cpp1144 GraphicsContext* graphicsContext = paintInfo.context; in paintCollapsedBorders() local
1145 bool antialias = BoxPainter::shouldAntialiasLines(graphicsContext); in paintCollapsedBorders()
1149 …ObjectPainter::drawLineForBoxSide(graphicsContext, border->x1, border->y1, border->x2, border->y2,… in paintCollapsedBorders()
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DCrossfadeGeneratedImage.cpp105 GraphicsContext* graphicsContext = imageBuffer->context(); in drawPattern() local
106 drawCrossfade(graphicsContext); in drawPattern()
/external/chromium_org/third_party/WebKit/Source/core/page/
DPrintContext.cpp251 void PrintContext::outputLinkAndLinkedDestinations(GraphicsContext& graphicsContext, Node* node, co… in outputLinkAndLinkedDestinations() argument
270 graphicsContext.setURLFragmentForRect(name, boundingBox); in outputLinkAndLinkedDestinations()
272 graphicsContext.setURLForRect(url, boundingBox); in outputLinkAndLinkedDestinations()
286 graphicsContext.addURLTargetAtPoint(it->key, point); in outputLinkAndLinkedDestinations()
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/
DShape.cpp196 GraphicsContext* graphicsContext = imageBuffer->context(); in createRasterShape() local
197 graphicsContext->drawImage(image, IntRect(IntPoint(), imageRect.size())); in createRasterShape()
/external/chromium_org/native_client_sdk/src/doc/devguide/coding/
D3D-graphics.rst272 ppb_g3d_interface->CompileShader(graphicsContext, shader);