Home | History | Annotate | Download | only in rendering

Lines Matching refs:paintInfo

37 #import "core/rendering/PaintInfo.h"
760 bool RenderThemeChromiumMac::paintTextField(RenderObject* o, const PaintInfo& paintInfo, const IntRect& r)
762 LocalCurrentGraphicsContext localContext(paintInfo.context);
781 GraphicsContextStateSaver stateSaver(*paintInfo.context);
791 bool RenderThemeChromiumMac::paintCapsLockIndicator(RenderObject*, const PaintInfo& paintInfo, const IntRect& r)
793 if (paintInfo.context->paintingDisabled())
797 LocalCurrentGraphicsContext localContext(paintInfo.context);
853 bool RenderThemeChromiumMac::paintTextArea(RenderObject* o, const PaintInfo& paintInfo, const IntRect& r)
855 LocalCurrentGraphicsContext localContext(paintInfo.context);
888 bool RenderThemeChromiumMac::paintMenuList(RenderObject* o, const PaintInfo& paintInfo, const IntRect& r)
890 LocalCurrentGraphicsContext localContext(paintInfo.context);
905 GraphicsContextStateSaver stateSaver(*paintInfo.context);
908 paintInfo.context->clip(inflatedRect);
913 paintInfo.context->translate(inflatedRect.x(), inflatedRect.y());
914 paintInfo.context->scale(zoomLevel, zoomLevel);
915 paintInfo.context->translate(-inflatedRect.x(), -inflatedRect.y());
941 bool RenderThemeChromiumMac::paintMeter(RenderObject* renderObject, const PaintInfo& paintInfo, const IntRect& rect)
946 LocalCurrentGraphicsContext localContext(paintInfo.context);
949 GraphicsContextStateSaver stateSaver(*paintInfo.context);
1061 bool RenderThemeChromiumMac::paintProgressBar(RenderObject* renderObject, const PaintInfo& paintInfo, const IntRect& rect)
1103 GraphicsContextStateSaver stateSaver(*paintInfo.context);
1106 paintInfo.context->translate(2 * inflatedRect.x() + inflatedRect.width(), 0);
1107 paintInfo.context->scale(-1, 1);
1110 paintInfo.context->drawImageBuffer(imageBuffer.get(),
1127 bool RenderThemeChromiumMac::paintMenuListButton(RenderObject* o, const PaintInfo& paintInfo, const IntRect& r)
1144 GraphicsContextStateSaver stateSaver(*paintInfo.context);
1146 paintInfo.context->setFillColor(o->style()->visitedDependentColor(CSSPropertyColor));
1147 paintInfo.context->setStrokeStyle(NoStroke);
1155 paintInfo.context->drawConvexPolygon(3, arrow1, true);
1163 paintInfo.context->drawConvexPolygon(3, arrow2, true);
1294 bool RenderThemeChromiumMac::paintSliderTrack(RenderObject* o, const PaintInfo& paintInfo, const IntRect& r)
1296 paintSliderTicks(o, paintInfo, r);
1314 GraphicsContextStateSaver stateSaver(*paintInfo.context);
1316 paintInfo.context->translate(unzoomedRect.x(), unzoomedRect.y());
1317 paintInfo.context->scale(zoomLevel, zoomLevel);
1318 paintInfo.context->translate(-unzoomedRect.x(), -unzoomedRect.y());
1344 paintInfo.context->fillRoundedRect(fillRect, fillColor);
1350 paintInfo.context->save();
1351 paintInfo.context->drawInnerShadow(fillRect, shadowColor, shadowOffset, shadowBlur, shadowSpread);
1352 paintInfo.context->restore();
1364 paintInfo.context->setStrokeGradient(borderGradient);
1365 paintInfo.context->setStrokeThickness(sliderTrackBorderWidth);
1366 paintInfo.context->strokePath(borderPath);
1374 bool RenderThemeChromiumMac::paintSliderThumb(RenderObject* o, const PaintInfo& paintInfo, const IntRect& r)
1376 GraphicsContextStateSaver stateSaver(*paintInfo.context);
1381 paintInfo.context->translate(unzoomedRect.x(), unzoomedRect.y());
1382 paintInfo.context->scale(zoomLevel, zoomLevel);
1383 paintInfo.context->translate(-unzoomedRect.x(), -unzoomedRect.y());
1419 paintInfo.context->setShadow(shadowOffset, sliderThumbShadowBlur, shadowColor);
1420 paintInfo.context->setFillColor(Color::black);
1421 paintInfo.context->fillEllipse(borderBounds);
1422 paintInfo.context->clearShadow();
1430 paintInfo.context->setFillGradient(fillGradient);
1431 paintInfo.context->fillEllipse(borderBounds);
1436 paintInfo.context->setStrokeGradient(borderGradient);
1437 paintInfo.context->setStrokeThickness(sliderThumbBorderWidth);
1438 paintInfo.context->strokeEllipse(borderBounds);
1443 paintInfo.context->drawFocusRing(borderPath, 5, -2, focusRingColor());
1449 bool RenderThemeChromiumMac::paintSearchField(RenderObject* o, const PaintInfo& paintInfo, const IntRect& r)
1451 LocalCurrentGraphicsContext localContext(paintInfo.context);
1457 GraphicsContextStateSaver stateSaver(*paintInfo.context);
1466 paintInfo.context->translate(unzoomedRect.x(), unzoomedRect.y());
1467 paintInfo.context->scale(zoomLevel, zoomLevel);
1468 paintInfo.context->translate(-unzoomedRect.x(), -unzoomedRect.y());
1548 bool RenderThemeChromiumMac::paintSearchFieldCancelButton(RenderObject* o, const PaintInfo& paintInfo, const IntRect& r)
1559 GraphicsContextStateSaver stateSaver(*paintInfo.context);
1566 paintInfo.context->translate(unzoomedRect.x(), unzoomedRect.y());
1567 paintInfo.context->scale(zoomLevel, zoomLevel);
1568 paintInfo.context->translate(-unzoomedRect.x(), -unzoomedRect.y());
1593 paintInfo.context->translate(centerX, centerY);
1594 paintInfo.context->rotate(deg2rad(45.0));
1595 paintInfo.context->clipOut(xPath);
1596 paintInfo.context->rotate(deg2rad(-45.0));
1597 paintInfo.context->translate(-centerX, -centerY);
1599 paintInfo.context->setFillColor(fillColor);
1600 paintInfo.context->fillEllipse(unzoomedRect);
1635 bool RenderThemeChromiumMac::paintSearchFieldDecoration(RenderObject*, const PaintInfo&, const IntRect&)
1648 bool RenderThemeChromiumMac::paintSearchFieldResultsDecoration(RenderObject* o, const PaintInfo& paintInfo, const IntRect& r)
1658 GraphicsContextStateSaver stateSaver(*paintInfo.context);
1665 paintInfo.context->translate(unzoomedRect.x(), unzoomedRect.y());
1666 paintInfo.context->scale(zoomLevel, zoomLevel);
1667 paintInfo.context->translate(-unzoomedRect.x(), -unzoomedRect.y());
1670 LocalCurrentGraphicsContext localContext(paintInfo.context);
1833 bool RenderThemeChromiumMac::paintMediaPlayButton(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect)
1835 return RenderMediaControls::paintMediaControlsPart(MediaPlayButton, object, paintInfo, rect);
1838 bool RenderThemeChromiumMac::paintMediaOverlayPlayButton(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect)
1840 return RenderMediaControls::paintMediaControlsPart(MediaOverlayPlayButton, object, paintInfo, rect);
1843 bool RenderThemeChromiumMac::paintMediaMuteButton(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect)
1845 return RenderMediaControls::paintMediaControlsPart(MediaMuteButton, object, paintInfo, rect);
1848 bool RenderThemeChromiumMac::paintMediaSliderTrack(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect)
1850 return RenderMediaControls::paintMediaControlsPart(MediaSlider, object, paintInfo, rect);
1866 bool RenderThemeChromiumMac::paintMediaVolumeSliderContainer(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect)
1871 bool RenderThemeChromiumMac::paintMediaVolumeSliderTrack(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect)
1873 return RenderMediaControls::paintMediaControlsPart(MediaVolumeSlider, object, paintInfo, rect);
1876 bool RenderThemeChromiumMac::paintMediaVolumeSliderThumb(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect)
1878 return RenderMediaControls::paintMediaControlsPart(MediaVolumeSliderThumb, object, paintInfo, rect);
1881 bool RenderThemeChromiumMac::paintMediaSliderThumb(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect)
1883 return RenderMediaControls::paintMediaControlsPart(MediaSliderThumb, object, paintInfo, rect);
1896 bool RenderThemeChromiumMac::paintMediaFullscreenButton(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect)
1898 return RenderMediaControls::paintMediaControlsPart(MediaEnterFullscreenButton, object, paintInfo, rect);
1901 bool RenderThemeChromiumMac::paintMediaToggleClosedCaptionsButton(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect)
1903 return RenderMediaControls::paintMediaControlsPart(MediaShowClosedCaptionsButton, object, paintInfo, rect);