/external/chromium_org/third_party/WebKit/Source/platform/mac/ |
H A D | LocalCurrentGraphicsContext.mm | 29 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())
|
H A D | LocalCurrentGraphicsContext.h | 35 LocalCurrentGraphicsContext(GraphicsContext* graphicsContext);
|
/external/chromium_org/third_party/WebKit/Source/core/page/ |
H A D | PrintContext.cpp | 259 void PrintContext::outputLinkedDestinations(GraphicsContext& graphicsContext, Node* node, const IntRect& pageRect) argument 274 graphicsContext.addURLTargetAtPoint(it->key, point); 334 void PrintContext::spoolAllPagesWithBoundaries(LocalFrame* frame, GraphicsContext& graphicsContext, const FloatSize& pageSizeInPixels) argument 352 graphicsContext.setFillColor(Color(255, 255, 255)); 353 graphicsContext.fillRect(FloatRect(0, 0, pageWidth, totalHeight)); 355 graphicsContext.save(); 356 graphicsContext.translate(0, totalHeight); 357 graphicsContext.scale(1, -1); 363 graphicsContext.save(); 364 graphicsContext [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/scroll/ |
H A D | ScrollbarTheme.cpp | 50 bool ScrollbarTheme::paint(ScrollbarThemeClient* scrollbar, GraphicsContext* graphicsContext, const IntRect& damageRect) argument 93 paintScrollbarBackground(graphicsContext, scrollbar); 97 paintButton(graphicsContext, scrollbar, backButtonStartPaintRect, BackButtonStartPart); 99 paintButton(graphicsContext, scrollbar, backButtonEndPaintRect, BackButtonEndPart); 101 paintButton(graphicsContext, scrollbar, forwardButtonStartPaintRect, ForwardButtonStartPart); 103 paintButton(graphicsContext, scrollbar, forwardButtonEndPaintRect, ForwardButtonEndPart); 106 paintTrackBackground(graphicsContext, scrollbar, trackPaintRect); 111 paintTrackPiece(graphicsContext, scrollbar, startTrackRect, BackTrackPart); 113 paintTrackPiece(graphicsContext, scrollbar, endTrackRect, ForwardTrackPart); 115 paintTickmarks(graphicsContext, scrollba [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
H A D | CrossfadeGeneratedImage.cpp | 107 GraphicsContext* graphicsContext = imageBuffer->context(); 108 drawCrossfade(graphicsContext);
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
H A D | RenderBoxModelObject.cpp | 1160 bool RenderBoxModelObject::paintNinePieceImage(GraphicsContext* graphicsContext, const LayoutRect& rect, const RenderStyle* style, argument 1241 graphicsContext->drawImage(image.get(), IntRect(borderImageRect.location(), IntSize(leftWidth, topWidth)), 1247 graphicsContext->drawImage(image.get(), IntRect(borderImageRect.x(), borderImageRect.maxY() - bottomWidth, leftWidth, bottomWidth), 1253 graphicsContext->drawTiledImage(image.get(), IntRect(borderImageRect.x(), borderImageRect.y() + topWidth, leftWidth, destinationHeight), 1263 graphicsContext->drawImage(image.get(), IntRect(borderImageRect.maxX() - rightWidth, borderImageRect.y(), rightWidth, topWidth), 1269 graphicsContext->drawImage(image.get(), IntRect(borderImageRect.maxX() - rightWidth, borderImageRect.maxY() - bottomWidth, rightWidth, bottomWidth), 1274 graphicsContext->drawTiledImage(image.get(), IntRect(borderImageRect.maxX() - rightWidth, borderImageRect.y() + topWidth, rightWidth, 1283 graphicsContext->drawTiledImage(image.get(), IntRect(borderImageRect.x() + leftWidth, borderImageRect.y(), destinationWidth, topWidth), 1289 graphicsContext->drawTiledImage(image.get(), IntRect(borderImageRect.x() + leftWidth, borderImageRect.maxY() - bottomWidth, 1317 graphicsContext 1581 paintOneBorderSide(GraphicsContext* graphicsContext, const RenderStyle* style, const RoundedRect& outerBorder, const RoundedRect& innerBorder, const IntRect& sideRect, BoxSide side, BoxSide adjacentSide1, BoxSide adjacentSide2, const BorderEdge edges[], const Path* path, BackgroundBleedAvoidance bleedAvoidance, bool includeLogicalLeftEdge, bool includeLogicalRightEdge, bool antialias, const Color* overrideColor) argument 1645 paintBorderSides(GraphicsContext* graphicsContext, const RenderStyle* style, const RoundedRect& outerBorder, const RoundedRect& innerBorder, const IntPoint& innerBorderAdjustment, const BorderEdge edges[], BorderEdgeFlags edgeSet, BackgroundBleedAvoidance bleedAvoidance, bool includeLogicalLeftEdge, bool includeLogicalRightEdge, bool antialias, const Color* overrideColor) argument 1693 paintTranslucentBorderSides(GraphicsContext* graphicsContext, const RenderStyle* style, const RoundedRect& outerBorder, const RoundedRect& innerBorder, const IntPoint& innerBorderAdjustment, const BorderEdge edges[], BorderEdgeFlags edgesToDraw, BackgroundBleedAvoidance bleedAvoidance, bool includeLogicalLeftEdge, bool includeLogicalRightEdge, bool antialias) argument 1739 GraphicsContext* graphicsContext = info.context; local 1916 drawBoxSideFromPath(GraphicsContext* graphicsContext, const LayoutRect& borderRect, const Path& borderPath, const BorderEdge edges[], float thickness, float drawThickness, BoxSide side, const RenderStyle* style, Color color, EBorderStyle borderStyle, BackgroundBleedAvoidance bleedAvoidance, bool includeLogicalLeftEdge, bool includeLogicalRightEdge) argument 2068 clipBorderSidePolygon(GraphicsContext* graphicsContext, const RoundedRect& outerBorder, const RoundedRect& innerBorder, BoxSide side, bool firstEdgeMatches, bool secondEdgeMatches) argument 2362 clipBorderSideForComplexInnerPath(GraphicsContext* graphicsContext, const RoundedRect& outerBorder, const RoundedRect& innerBorder, BoxSide side, const class BorderEdge edges[]) argument [all...] |
H A D | RenderObject.cpp | 960 void RenderObject::drawLineForBoxSide(GraphicsContext* graphicsContext, int x1, int y1, int x2, int y2, argument 988 drawDashedOrDottedBoxSide(graphicsContext, x1, y1, x2, y2, side, 992 drawDoubleBoxSide(graphicsContext, x1, y1, x2, y2, length, side, color, 997 drawRidgeOrGrooveBoxSide(graphicsContext, x1, y1, x2, y2, side, color, 1011 drawSolidBoxSide(graphicsContext, x1, y1, x2, y2, side, color, adjacentWidth1, adjacentWidth2, antialias); 1016 void RenderObject::drawDashedOrDottedBoxSide(GraphicsContext* graphicsContext, int x1, int y1, int x2, int y2, argument 1022 bool wasAntialiased = graphicsContext->shouldAntialias(); 1023 StrokeStyle oldStrokeStyle = graphicsContext->strokeStyle(); 1024 graphicsContext->setShouldAntialias(antialias); 1025 graphicsContext 1043 drawDoubleBoxSide(GraphicsContext* graphicsContext, int x1, int y1, int x2, int y2, int length, BoxSide side, Color color, int thickness, int adjacentWidth1, int adjacentWidth2, bool antialias) argument 1119 drawRidgeOrGrooveBoxSide(GraphicsContext* graphicsContext, int x1, int y1, int x2, int y2, BoxSide side, Color color, EBorderStyle style, int adjacentWidth1, int adjacentWidth2, bool antialias) argument 1163 drawSolidBoxSide(GraphicsContext* graphicsContext, int x1, int y1, int x2, int y2, BoxSide side, Color color, int adjacentWidth1, int adjacentWidth2, bool antialias) argument 1278 GraphicsContext* graphicsContext = paintInfo.context; local [all...] |
H A D | RenderFieldset.cpp | 171 GraphicsContext* graphicsContext = paintInfo.context; 172 GraphicsContextStateSaver stateSaver(*graphicsContext); 180 graphicsContext->clipOut(pixelSnappedIntRect(paintRect.x() + legend->x(), clipTop, legend->width(), clipHeight)); 184 graphicsContext->clipOut(pixelSnappedIntRect(clipLeft, paintRect.y() + legend->y(), clipWidth, legend->height()));
|
H A D | RenderScrollbarPart.cpp | 174 void RenderScrollbarPart::paintIntoRect(GraphicsContext* graphicsContext, const LayoutPoint& paintOffset, const LayoutRect& rect) argument 181 if (graphicsContext->paintingDisabled()) 185 PaintInfo paintInfo(graphicsContext, pixelSnappedIntRect(rect), PaintPhaseBlockBackground, PaintBehaviorNormal);
|
H A D | RenderInline.cpp | 1422 GraphicsContext* graphicsContext = paintInfo.context; local 1423 if (graphicsContext->paintingDisabled()) 1443 graphicsContext->beginTransparencyLayer(static_cast<float>(outlineColor.alpha()) / 255); 1448 paintOutlineForLine(graphicsContext, paintOffset, rects.at(i - 1), rects.at(i), rects.at(i + 1), outlineColor); 1451 graphicsContext->endLayer(); 1454 void RenderInline::paintOutlineForLine(GraphicsContext* graphicsContext, const LayoutPoint& paintOffset, argument 1462 bool antialias = shouldAntialiasLines(graphicsContext); 1476 drawLineForBoxSide(graphicsContext, 1488 drawLineForBoxSide(graphicsContext, 1500 drawLineForBoxSide(graphicsContext, [all...] |
H A D | RenderScrollbar.cpp | 268 void RenderScrollbar::paintPart(GraphicsContext* graphicsContext, ScrollbarPart partType, const IntRect& rect) argument 273 partRenderer->paintIntoRect(graphicsContext, location(), rect);
|
H A D | RenderTableCell.cpp | 1118 GraphicsContext* graphicsContext = paintInfo.context; 1119 if (!table()->currentBorderValue() || graphicsContext->paintingDisabled()) 1157 bool antialias = shouldAntialiasLines(graphicsContext); 1161 drawLineForBoxSide(graphicsContext, border->x1, border->y1, border->x2, border->y2, border->side,
|
/external/chromium_org/third_party/WebKit/Source/web/ |
H A D | WebLocalFrameImpl.cpp | 343 void spoolAllPagesWithBoundaries(GraphicsContext& graphicsContext, const FloatSize& pageSizeInPixels) argument 358 graphicsContext.setFillColor(Color::white); 359 graphicsContext.fillRect(FloatRect(0, 0, pageWidth, totalHeight)); 365 graphicsContext.save(); 366 graphicsContext.setStrokeColor(Color(0, 0, 255)); 367 graphicsContext.setFillColor(Color(0, 0, 255)); 368 graphicsContext.drawLine(IntPoint(0, currentHeight), IntPoint(pageWidth, currentHeight)); 369 graphicsContext.restore(); 372 graphicsContext.save(); 374 graphicsContext [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/ |
H A D | Shape.cpp | 186 GraphicsContext* graphicsContext = imageBuffer->context(); local 187 graphicsContext->drawImage(image, IntRect(IntPoint(), imageRect.size()));
|