/external/webkit/WebCore/rendering/ |
H A D | RenderHTMLCanvas.cpp | 59 void RenderHTMLCanvas::paintReplaced(PaintInfo& paintInfo, int tx, int ty) argument 63 static_cast<HTMLCanvasElement*>(node())->paint(paintInfo.context, rect);
|
H A D | RenderMediaControls.cpp | 85 bool RenderMediaControls::paintMediaControlsPart(MediaControlElementType part, RenderObject* o, const RenderObject::PaintInfo& paintInfo, const IntRect& r) argument 91 paintThemePart(SafariTheme::MediaFullscreenButtonPart, paintInfo.context->platformContext(), r, NSRegularControlSize, determineState(o)); 98 paintThemePart(captionsVisible ? SafariTheme::MediaHideClosedCaptionsButtonPart : SafariTheme::MediaShowClosedCaptionsButtonPart, paintInfo.context->platformContext(), r, NSRegularControlSize, determineState(o)); 106 paintThemePart(audioEnabled ? SafariTheme::MediaMuteButtonPart : SafariTheme::MediaUnMuteButtonPart, paintInfo.context->platformContext(), r, NSRegularControlSize, determineState(o)); 113 paintThemePart(canPlay ? SafariTheme::MediaPlayButtonPart : SafariTheme::MediaPauseButtonPart, paintInfo.context->platformContext(), r, NSRegularControlSize, determineState(o)); 117 paintThemePart(SafariTheme::MediaSeekBackButtonPart, paintInfo.context->platformContext(), r, NSRegularControlSize, determineState(o)); 120 paintThemePart(SafariTheme::MediaSeekForwardButtonPart, paintInfo.context->platformContext(), r, NSRegularControlSize, determineState(o)); 124 STPaintProgressIndicator(SafariTheme::MediaType, paintInfo.context->platformContext(), r, NSRegularControlSize, 0, mediaElement->percentLoaded()); 128 paintThemePart(SafariTheme::MediaSliderThumbPart, paintInfo.context->platformContext(), r, NSRegularControlSize, determineState(o));
|
H A D | RenderReplica.cpp | 62 void RenderReplica::paint(PaintInfo& paintInfo, int tx, int ty) argument 64 if (paintInfo.phase != PaintPhaseForeground && paintInfo.phase != PaintPhaseMask) 70 if (paintInfo.phase == PaintPhaseForeground) 74 paintInfo.context, paintInfo.rect, 77 else if (paintInfo.phase == PaintPhaseMask) 78 paintMask(paintInfo, tx, ty);
|
H A D | EllipsisBox.cpp | 30 void EllipsisBox::paint(RenderObject::PaintInfo& paintInfo, int tx, int ty) argument 32 GraphicsContext* context = paintInfo.context; 48 Color foreground = paintInfo.forceBlackText ? Color::black : renderer()->selectionForegroundColor(); 67 m_markupBox->paint(paintInfo, tx, ty);
|
H A D | RenderForeignObject.cpp | 47 void RenderForeignObject::paint(PaintInfo& paintInfo, int, int) argument 49 if (paintInfo.context->paintingDisabled()) 53 PaintInfo childPaintInfo = paintInfo;
|
H A D | RenderSVGContainer.cpp | 80 void RenderSVGContainer::paint(PaintInfo& paintInfo, int, int) argument 82 if (paintInfo.context->paintingDisabled() || !drawsContents()) 89 PaintInfo childPaintInfo(paintInfo); 111 if (paintInfo.phase == PaintPhaseForeground) 112 finishRenderSVGContent(this, childPaintInfo, filter, paintInfo.context); 122 if ((paintInfo.phase == PaintPhaseOutline || paintInfo.phase == PaintPhaseSelfOutline) && style()->outlineWidth() && style()->visibility() == VISIBLE) 123 paintOutline(paintInfo.context, paintRectInParent.x(), paintRectInParent.y(), paintRectInParent.width(), paintRectInParent.height(), style());
|
H A D | RenderSVGViewportContainer.cpp | 64 void RenderSVGViewportContainer::applyViewportClip(PaintInfo& paintInfo) argument 67 paintInfo.context->clip(m_viewport);
|
H A D | RenderTableRow.cpp | 182 void RenderTableRow::paint(PaintInfo& paintInfo, int tx, int ty) argument 190 if (paintInfo.phase == PaintPhaseBlockBackground || paintInfo.phase == PaintPhaseChildBlockBackground) { 192 cell->paintBackgroundsBehindCell(paintInfo, tx, ty, this); 195 child->paint(paintInfo, tx, ty);
|
H A D | SVGMarkerLayoutInfo.cpp | 102 void SVGMarkerLayoutInfo::drawMarkers(RenderObject::PaintInfo& paintInfo) argument 112 layout.marker->draw(paintInfo, layout.matrix);
|
H A D | RenderDataGrid.cpp | 132 void RenderDataGrid::paintObject(PaintInfo& paintInfo, int tx, int ty) argument 138 RenderBlock::paintObject(paintInfo, tx, ty); 140 if (paintInfo.phase != PaintPhaseForeground) 144 paintColumnHeaders(paintInfo, tx, ty); 147 void RenderDataGrid::paintColumnHeaders(PaintInfo& paintInfo, int tx, int ty) argument 162 if (columnRect.intersects(paintInfo.rect)) 163 paintColumnHeader(column, paintInfo, tx, ty);
|
H A D | RenderSVGImage.cpp | 74 void RenderSVGImage::paint(PaintInfo& paintInfo, int, int) argument 76 if (paintInfo.context->paintingDisabled() || style()->visibility() == HIDDEN) 79 paintInfo.context->save(); 80 paintInfo.context->concatCTM(localToParentTransform()); 82 if (paintInfo.phase == PaintPhaseForeground) { 85 PaintInfo savedInfo(paintInfo); 87 if (prepareToRenderSVGContent(this, paintInfo, m_localBounds, filter)) { 95 paintInfo.context->drawImage(image(), DeviceColorSpace, destRect, srcRect); 97 finishRenderSVGContent(this, paintInfo, filter, savedInfo.context); 100 if ((paintInfo [all...] |
H A D | InlineBox.cpp | 162 void InlineBox::paint(RenderObject::PaintInfo& paintInfo, int tx, int ty) argument 164 if (!renderer()->shouldPaintWithinRoot(paintInfo) || (paintInfo.phase != PaintPhaseForeground && paintInfo.phase != PaintPhaseSelection)) 170 bool preservePhase = paintInfo.phase == PaintPhaseSelection || paintInfo.phase == PaintPhaseTextClip; 171 RenderObject::PaintInfo info(paintInfo); 172 info.phase = preservePhase ? paintInfo.phase : PaintPhaseBlockBackground;
|
H A D | RenderFieldset.cpp | 120 void RenderFieldset::paintBoxDecorations(PaintInfo& paintInfo, int tx, int ty) argument 122 if (!shouldPaintWithinRoot(paintInfo)) 129 return RenderBlock::paintBoxDecorations(paintInfo, tx, ty); 136 paintBoxShadow(paintInfo.context, tx, ty, w, h, style(), Normal); 138 paintFillLayers(paintInfo, style()->backgroundColor(), style()->backgroundLayers(), tx, ty, w, h); 139 paintBoxShadow(paintInfo.context, tx, ty, w, h, style(), Inset); 146 return paintBorderMinusLegend(paintInfo.context, tx, ty, w, h, style(), legend->x(), legend->width(), legendBottom); 150 GraphicsContext* graphicsContext = paintInfo.context; 158 paintBorder(paintInfo.context, tx, ty, w, h, style(), true, true); 163 void RenderFieldset::paintMask(PaintInfo& paintInfo, in argument [all...] |
H A D | RenderFileUploadControl.cpp | 182 void RenderFileUploadControl::paintObject(PaintInfo& paintInfo, int tx, int ty) argument 188 if (paintInfo.phase == PaintPhaseForeground || paintInfo.phase == PaintPhaseChildBlockBackgrounds) { 193 paintInfo.context->save(); 194 paintInfo.context->clip(clipRect); 197 if (paintInfo.phase == PaintPhaseForeground) { 218 paintInfo.context->setFillColor(style()->color(), style()->colorSpace()); 221 paintInfo.context->drawBidiText(style()->font(), textRun, IntPoint(textX, textY)); 233 m_fileChooser->icon()->paint(paintInfo.context, IntRect(iconX, iconY, iconWidth, iconHeight)); 238 RenderBlock::paintObject(paintInfo, t [all...] |
H A D | RenderLineBoxList.cpp | 147 void RenderLineBoxList::paint(RenderBoxModelObject* renderer, RenderObject::PaintInfo& paintInfo, int tx, int ty) const argument 150 if (paintInfo.phase != PaintPhaseForeground && paintInfo.phase != PaintPhaseSelection && paintInfo.phase != PaintPhaseOutline 151 && paintInfo.phase != PaintPhaseSelfOutline && paintInfo.phase != PaintPhaseChildOutlines && paintInfo.phase != PaintPhaseTextClip 152 && paintInfo.phase != PaintPhaseMask) 165 int yPos = firstLineBox()->topVisibleOverflow() - renderer->maximalOutlineSize(paintInfo.phase); 166 int h = renderer->maximalOutlineSize(paintInfo [all...] |
H A D | RenderListItem.cpp | 309 void RenderListItem::paint(PaintInfo& paintInfo, int tx, int ty) argument 314 RenderBlock::paint(paintInfo, tx, ty);
|
H A D | RenderMediaControlsChromium.cpp | 70 static bool paintMediaMuteButton(RenderObject* object, const RenderObject::PaintInfo& paintInfo, const IntRect& rect) argument 81 return paintMediaButton(paintInfo.context, rect, soundDisabled); 83 return paintMediaButton(paintInfo.context, rect, mediaElement->muted() ? soundNone: soundFull); 86 static bool paintMediaPlayButton(RenderObject* object, const RenderObject::PaintInfo& paintInfo, const IntRect& rect) argument 97 return paintMediaButton(paintInfo.context, rect, mediaPlayDisabled); 99 return paintMediaButton(paintInfo.context, rect, mediaElement->paused() ? mediaPlay : mediaPause); 102 static bool paintMediaSlider(RenderObject* object, const RenderObject::PaintInfo& paintInfo, const IntRect& rect) argument 109 GraphicsContext* context = paintInfo.context; 150 static bool paintMediaSliderThumb(RenderObject* object, const RenderObject::PaintInfo& paintInfo, const IntRect& rect) argument 163 return paintMediaButton(paintInfo 166 paintMediaVolumeSlider(RenderObject* object, const RenderObject::PaintInfo& paintInfo, const IntRect& rect) argument 185 paintMediaVolumeSliderThumb(RenderObject* object, const RenderObject::PaintInfo& paintInfo, const IntRect& rect) argument 194 paintMediaTimelineContainer(RenderObject* object, const RenderObject::PaintInfo& paintInfo, const IntRect& rect) argument 249 paintMediaControlsPart(MediaControlElementType part, RenderObject* object, const RenderObject::PaintInfo& paintInfo, const IntRect& rect) argument [all...] |
H A D | RenderPath.cpp | 214 void RenderPath::paint(PaintInfo& paintInfo, int, int) argument 216 if (paintInfo.context->paintingDisabled() || style()->visibility() == HIDDEN || m_path.isEmpty()) 224 if (!nonLocalBoundingBox.intersects(paintInfo.rect) && !paintInfo.rect.isEmpty()) 227 PaintInfo childPaintInfo(paintInfo);
|
H A D | RenderReplaced.cpp | 95 void RenderReplaced::paint(PaintInfo& paintInfo, int tx, int ty) argument 97 if (!shouldPaint(paintInfo, tx, ty)) 103 if (hasBoxDecorations() && (paintInfo.phase == PaintPhaseForeground || paintInfo.phase == PaintPhaseSelection)) 104 paintBoxDecorations(paintInfo, tx, ty); 106 if (paintInfo.phase == PaintPhaseMask) { 107 paintMask(paintInfo, tx, ty); 111 if ((paintInfo.phase == PaintPhaseOutline || paintInfo.phase == PaintPhaseSelfOutline) && style()->outlineWidth()) 112 paintOutline(paintInfo 160 shouldPaint(PaintInfo& paintInfo, int& tx, int& ty) argument [all...] |
H A D | RenderSVGRoot.cpp | 120 void RenderSVGRoot::paint(PaintInfo& paintInfo, int parentX, int parentY) argument 122 if (paintInfo.context->paintingDisabled()) 128 if (hasBoxDecorations() && (paintInfo.phase == PaintPhaseForeground || paintInfo.phase == PaintPhaseSelection)) 129 paintBoxDecorations(paintInfo, borderBoxOriginInContainer.x(), borderBoxOriginInContainer.y()); 140 RenderObject::PaintInfo childPaintInfo(paintInfo); 161 finishRenderSVGContent(this, childPaintInfo, filter, paintInfo.context); 165 if ((paintInfo.phase == PaintPhaseOutline || paintInfo.phase == PaintPhaseSelfOutline) && style()->outlineWidth() && style()->visibility() == VISIBLE) 166 paintOutline(paintInfo [all...] |
H A D | RenderSVGText.cpp | 159 void RenderSVGText::paint(PaintInfo& paintInfo, int, int) argument 161 PaintInfo pi(paintInfo);
|
H A D | RenderVideo.cpp | 149 void RenderVideo::paintReplaced(PaintInfo& paintInfo, int tx, int ty) argument 168 paintIntoRect(paintInfo.context, rect); 170 mediaPlayer->paint(paintInfo.context, rect);
|
H A D | RenderWidget.cpp | 215 void RenderWidget::paint(PaintInfo& paintInfo, int tx, int ty) argument 217 if (!shouldPaint(paintInfo, tx, ty)) 223 if (hasBoxDecorations() && (paintInfo.phase == PaintPhaseForeground || paintInfo.phase == PaintPhaseSelection)) 224 paintBoxDecorations(paintInfo, tx, ty); 226 if (paintInfo.phase == PaintPhaseMask) { 227 paintMask(paintInfo, tx, ty); 231 if (!m_frameView || paintInfo.phase != PaintPhaseForeground || style()->visibility() != VISIBLE) 235 if (style()->highlight() != nullAtom && !paintInfo.context->paintingDisabled()) 246 paintInfo [all...] |
H A D | SVGRenderSupport.cpp | 79 bool SVGRenderBase::prepareToRenderSVGContent(RenderObject* object, RenderObject::PaintInfo& paintInfo, const FloatRect& repaintRect, SVGResourceFilter*& filter, SVGResourceFilter* rootFilter) argument 100 paintInfo.context->clip(repaintRect); 101 paintInfo.context->beginTransparencyLayer(opacity); 105 paintInfo.context->clip(repaintRect); 106 paintInfo.context->setShadow(IntSize(shadow->x, shadow->y), shadow->blur, shadow->color, style->colorSpace()); 107 paintInfo.context->beginTransparencyLayer(1.0f); 135 if (!masker->applyMask(paintInfo.context, object)) 142 clipper->applyClip(paintInfo.context, object->objectBoundingBox()); 149 if (!filter->prepareFilter(paintInfo.context, object)) 158 void SVGRenderBase::finishRenderSVGContent(RenderObject* object, RenderObject::PaintInfo& paintInfo, SVGResourceFilte argument 307 applyTransformToPaintInfo(RenderObject::PaintInfo& paintInfo, const AffineTransform& localToAncestorTransform) argument [all...] |
/external/webkit/WebCore/svg/graphics/ |
H A D | SVGResourceMarker.cpp | 62 void SVGResourceMarker::draw(RenderObject::PaintInfo& paintInfo, const AffineTransform& transform) argument 75 RenderObject::PaintInfo info(paintInfo);
|