Searched defs:paintInfo (Results 1 - 25 of 74) sorted by relevance

123

/external/chromium_org/third_party/WebKit/Source/core/paint/
H A DListItemPainter.cpp15 void ListItemPainter::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset) argument
20 BlockPainter(m_renderListItem).paint(paintInfo, paintOffset);
H A DSVGTextPainter.cpp15 void SVGTextPainter::paint(PaintInfo& paintInfo) argument
17 if (paintInfo.phase != PaintPhaseForeground && paintInfo.phase != PaintPhaseSelection)
20 PaintInfo blockInfo(paintInfo);
28 if (paintInfo.phase == PaintPhaseForeground) {
H A DReplicaPainter.cpp15 void ReplicaPainter::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset) argument
17 ANNOTATE_GRAPHICS_CONTEXT(paintInfo, &m_renderReplica);
19 if (paintInfo.phase != PaintPhaseForeground && paintInfo.phase != PaintPhaseMask)
24 if (paintInfo.phase == PaintPhaseForeground) {
28 LayerPaintingInfo paintingInfo(rootPaintingLayer, paintInfo.rect, PaintBehaviorNormal, LayoutSize(), 0);
30 m_renderReplica.layer()->parent()->paintLayer(paintInfo.context, paintingInfo, flags);
31 } else if (paintInfo.phase == PaintPhaseMask) {
32 m_renderReplica.paintMask(paintInfo, adjustedPaintOffset);
H A DSVGForeignObjectPainter.cpp17 void SVGForeignObjectPainter::paint(PaintInfo& paintInfo) argument
19 if (paintInfo.phase != PaintPhaseForeground && paintInfo.phase != PaintPhaseSelection)
22 PaintInfo childPaintInfo(paintInfo);
31 if (paintInfo.phase == PaintPhaseForeground) {
38 bool preservePhase = paintInfo.phase == PaintPhaseSelection || paintInfo.phase == PaintPhaseTextClip;
40 childPaintInfo.phase = preservePhase ? paintInfo.phase : PaintPhaseBlockBackground;
H A DTableRowPainter.cpp15 void TableRowPainter::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset) argument
18 ANNOTATE_GRAPHICS_CONTEXT(paintInfo, &m_renderTableRow);
20 paintOutlineForRowIfNeeded(paintInfo, paintOffset);
23 if (paintInfo.phase == PaintPhaseBlockBackground || paintInfo.phase == PaintPhaseChildBlockBackground)
24 cell->paintBackgroundsBehindCell(paintInfo, paintOffset, &m_renderTableRow);
26 cell->paint(paintInfo, paintOffset);
30 void TableRowPainter::paintOutlineForRowIfNeeded(PaintInfo& paintInfo, const LayoutPoint& paintOffset) argument
33 PaintPhase paintPhase = paintInfo.phase;
35 m_renderTableRow.paintOutline(paintInfo, LayoutRec
[all...]
H A DBlockFlowPainter.cpp14 void BlockFlowPainter::paintFloats(PaintInfo& paintInfo, const LayoutPoint& paintOffset, bool preservePhase) argument
25 PaintInfo currentPaintInfo(paintInfo);
26 currentPaintInfo.phase = preservePhase ? paintInfo.phase : PaintPhaseBlockBackground;
H A DLineBoxListPainter.cpp17 void LineBoxListPainter::paint(RenderBoxModelObject* renderer, PaintInfo& paintInfo, const LayoutPoint& paintOffset) const argument
20 if (paintInfo.phase != PaintPhaseForeground && paintInfo.phase != PaintPhaseSelection && paintInfo.phase != PaintPhaseOutline
21 && paintInfo.phase != PaintPhaseSelfOutline && paintInfo.phase != PaintPhaseChildOutlines && paintInfo.phase != PaintPhaseTextClip
22 && paintInfo.phase != PaintPhaseMask)
31 if (!m_renderLineBoxList.anyLineIntersectsRect(renderer, paintInfo.rect, paintOffset))
34 PaintInfo info(paintInfo);
[all...]
H A DSVGImagePainter.cpp21 void SVGImagePainter::paint(PaintInfo& paintInfo) argument
23 ANNOTATE_GRAPHICS_CONTEXT(paintInfo, &m_renderSVGImage);
25 if (paintInfo.phase != PaintPhaseForeground
31 if (!SVGRenderSupport::paintInfoIntersectsPaintInvalidationRect(boundingBox, m_renderSVGImage.localToParentTransform(), paintInfo))
34 PaintInfo childPaintInfo(paintInfo);
56 void SVGImagePainter::paintForeground(RenderSVGImage& renderer, PaintInfo& paintInfo) argument
67 interpolationQuality = ImageQualityController::imageQualityController()->chooseInterpolationQuality(paintInfo.context, &renderer, image.get(), image.get(), LayoutSize(destRect.size()));
69 InterpolationQuality previousInterpolationQuality = paintInfo.context->imageInterpolationQuality();
70 paintInfo.context->setImageInterpolationQuality(interpolationQuality);
71 paintInfo
[all...]
H A DVideoPainter.cpp20 void VideoPainter::paintReplaced(PaintInfo& paintInfo, const LayoutPoint& paintOffset) argument
34 GraphicsContext* context = paintInfo.context;
H A DDetailsMarkerPainter.cpp16 void DetailsMarkerPainter::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset) argument
18 if (paintInfo.phase != PaintPhaseForeground || m_renderDetailsMarker.style()->visibility() != VISIBLE) {
19 BlockPainter(m_renderDetailsMarker).paint(paintInfo, paintOffset);
27 if (!paintInfo.rect.intersects(pixelSnappedIntRect(overflowRect)))
31 paintInfo.context->setStrokeColor(color);
32 paintInfo.context->setStrokeStyle(SolidStroke);
33 paintInfo.context->setStrokeThickness(1.0f);
34 paintInfo.context->setFillColor(color);
37 paintInfo.context->fillPath(getPath(boxOrigin));
H A DHTMLCanvasPainter.cpp15 void HTMLCanvasPainter::paintReplaced(PaintInfo& paintInfo, const LayoutPoint& paintOffset) argument
17 GraphicsContext* context = paintInfo.context;
27 paintInfo.context->save();
28 paintInfo.context->clip(pixelSnappedIntRect(contentRect));
H A DTablePainter.cpp17 void TablePainter::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset) argument
19 ANNOTATE_GRAPHICS_CONTEXT(paintInfo, &m_renderTable);
23 PaintPhase paintPhase = paintInfo.phase;
29 if (!overflowBox.intersects(paintInfo.rect))
33 bool pushedClip = m_renderTable.pushContentsClip(paintInfo, adjustedPaintOffset, ForceContentsClip);
34 paintObject(paintInfo, adjustedPaintOffset);
36 m_renderTable.popContentsClip(paintInfo, paintPhase, adjustedPaintOffset);
39 void TablePainter::paintObject(PaintInfo& paintInfo, const LayoutPoint& paintOffset) argument
41 PaintPhase paintPhase = paintInfo.phase;
43 paintBoxDecorationBackground(paintInfo, paintOffse
92 paintBoxDecorationBackground(PaintInfo& paintInfo, const LayoutPoint& paintOffset) argument
102 paintMask(PaintInfo& paintInfo, const LayoutPoint& paintOffset) argument
[all...]
H A DViewPainter.cpp16 void ViewPainter::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset) argument
23 ANNOTATE_GRAPHICS_CONTEXT(paintInfo, &m_renderView);
27 paintInfo.context->fillRect(paintInfo.rect, m_renderView.frameView()->baseBackgroundColor());
29 m_renderView.paintObject(paintInfo, paintOffset);
52 void ViewPainter::paintBoxDecorationBackground(PaintInfo& paintInfo) argument
57 if (paintInfo.skipRootBackground())
76 CompositeOperator previousOperator = paintInfo.context->compositeOperation();
77 paintInfo.context->setCompositeOperation(CompositeCopy);
78 paintInfo
[all...]
H A DListMarkerPainter.cpp20 void ListMarkerPainter::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset) argument
22 ANNOTATE_GRAPHICS_CONTEXT(paintInfo, &m_renderListMarker);
24 if (paintInfo.phase != PaintPhaseForeground)
34 if (!paintInfo.rect.intersects(pixelSnappedIntRect(overflowRect)))
42 GraphicsContext* context = paintInfo.context;
H A DGridPainter.cpp40 void GridPainter::paintChildren(PaintInfo& paintInfo, const LayoutPoint& paintOffset) argument
44 LayoutRect localPaintInvalidationRect = paintInfo.rect;
77 paintChild(*current, paintInfo, paintOffset);
82 void GridPainter::paintChild(RenderBox& child, PaintInfo& paintInfo, const LayoutPoint& paintOffset) argument
86 child.paint(paintInfo, childPoint);
H A DInlinePainter.cpp20 void InlinePainter::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset) argument
22 ANNOTATE_GRAPHICS_CONTEXT(paintInfo, &m_renderInline);
23 LineBoxListPainter(*m_renderInline.lineBoxes()).paint(&m_renderInline, paintInfo, paintOffset);
26 void InlinePainter::paintOutline(PaintInfo& paintInfo, const LayoutPoint& paintOffset) argument
35 ObjectPainter(m_renderInline).paintFocusRing(paintInfo, paintOffset, styleToUse);
57 GraphicsContext* graphicsContext = paintInfo.context;
H A DMultiColumnSetPainter.cpp16 void MultiColumnSetPainter::paintObject(PaintInfo& paintInfo, const LayoutPoint& paintOffset) argument
21 BlockPainter(m_renderMultiColumnSet).paintObject(paintInfo, paintOffset);
28 if (!m_renderMultiColumnSet.flowThread() || !m_renderMultiColumnSet.isValid() || (paintInfo.phase != PaintPhaseForeground && paintInfo.phase != PaintPhaseSelection))
31 paintColumnRules(paintInfo, paintOffset);
34 void MultiColumnSetPainter::paintColumnRules(PaintInfo& paintInfo, const LayoutPoint& paintOffset) argument
53 bool antialias = BoxPainter::shouldAntialiasLines(paintInfo.context);
81 ObjectPainter::drawLineForBoxSide(paintInfo.context, pixelSnappedRuleRect.x(), pixelSnappedRuleRect.y(), pixelSnappedRuleRect.maxX(), pixelSnappedRuleRect.maxY(), boxSide, ruleColor, ruleStyle, 0, 0, antialias);
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderDetailsMarker.cpp62 void RenderDetailsMarker::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset) argument
64 DetailsMarkerPainter(*this).paint(paintInfo, paintOffset);
H A DRenderHTMLCanvas.cpp53 void RenderHTMLCanvas::paintReplaced(PaintInfo& paintInfo, const LayoutPoint& paintOffset) argument
55 HTMLCanvasPainter(*this).paintReplaced(paintInfo, paintOffset);
H A DRenderReplica.cpp74 void RenderReplica::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset) argument
76 ReplicaPainter(*this).paint(paintInfo, paintOffset);
H A DGraphicsContextAnnotator.cpp89 void GraphicsContextAnnotator::annotate(const PaintInfo& paintInfo, const RenderObject* object) argument
93 ASSERT(paintInfo.context);
97 AnnotationModeFlags mode = paintInfo.context->annotationMode();
104 annotations.append(std::make_pair(AnnotationKeyPaintPhase, paintPhaseName(paintInfo.phase)));
133 m_context = paintInfo.context;
H A DRenderFieldset.cpp141 void RenderFieldset::paintBoxDecorationBackground(PaintInfo& paintInfo, const LayoutPoint& paintOffset) argument
143 if (!paintInfo.shouldPaintWithinRoot(this))
149 return RenderBlockFlow::paintBoxDecorationBackground(paintInfo, paintOffset);
164 BoxDecorationData boxDecorationData(*style(), canRenderBorderImage(), backgroundHasOpaqueTopLayer(), paintInfo.context);
167 BoxPainter::paintBoxShadow(paintInfo, paintRect, style(), Normal);
168 BoxPainter(*this).paintFillLayers(paintInfo, boxDecorationData.backgroundColor, style()->backgroundLayers(), paintRect);
169 BoxPainter::paintBoxShadow(paintInfo, paintRect, style(), Inset);
175 GraphicsContext* graphicsContext = paintInfo.context;
191 BoxPainter::paintBorder(*this, paintInfo, paintRect, style());
194 void RenderFieldset::paintMask(PaintInfo& paintInfo, cons argument
[all...]
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
H A DSVGInlineFlowBox.cpp32 void SVGInlineFlowBox::paintSelectionBackground(PaintInfo& paintInfo) argument
34 ASSERT(paintInfo.phase == PaintPhaseForeground || paintInfo.phase == PaintPhaseSelection);
36 PaintInfo childPaintInfo(paintInfo);
45 void SVGInlineFlowBox::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset, LayoutUnit, LayoutUnit) argument
47 ASSERT(paintInfo.phase == PaintPhaseForeground || paintInfo.phase == PaintPhaseSelection);
49 GraphicsContextStateSaver stateSaver(*paintInfo.context);
50 SVGRenderingContext renderingContext(&renderer(), paintInfo); local
53 child->paint(paintInfo, paintOffse
[all...]
H A DRenderSVGViewportContainer.cpp51 void RenderSVGViewportContainer::applyViewportClip(PaintInfo& paintInfo) argument
54 paintInfo.context->clip(m_viewport);
106 void RenderSVGViewportContainer::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset) argument
113 RenderSVGContainer::paint(paintInfo, paintOffset);
H A DRenderSVGForeignObject.cpp51 void RenderSVGForeignObject::paint(PaintInfo& paintInfo, const LayoutPoint&) argument
53 SVGForeignObjectPainter(*this).paint(paintInfo);

Completed in 189 milliseconds

123