Lines Matching defs:GraphicsContext

28 #include "platform/graphics/GraphicsContext.h"
64 struct GraphicsContext::CanvasSaveState {
72 struct GraphicsContext::RecordingState {
92 GraphicsContext::GraphicsContext(SkCanvas* canvas, DisabledMode disableContextOrPainting)
119 GraphicsContext::~GraphicsContext()
133 void GraphicsContext::resetCanvas(SkCanvas* canvas)
139 void GraphicsContext::setRegionTrackingMode(RegionTrackingMode mode)
148 void GraphicsContext::save()
161 void GraphicsContext::restore()
167 WTF_LOG_ERROR("ERROR void GraphicsContext::restore() stack is empty");
187 void GraphicsContext::saveLayer(const SkRect* bounds, const SkPaint* paint)
201 void GraphicsContext::restoreLayer()
213 void GraphicsContext::beginAnnotation(const AnnotationList& annotations)
231 void GraphicsContext::endAnnotation()
245 void GraphicsContext::setStrokePattern(PassRefPtr<Pattern> pattern)
258 void GraphicsContext::setStrokeGradient(PassRefPtr<Gradient> gradient)
271 void GraphicsContext::setFillPattern(PassRefPtr<Pattern> pattern)
285 void GraphicsContext::setFillGradient(PassRefPtr<Gradient> gradient)
299 void GraphicsContext::setShadow(const FloatSize& offset, float blur, const Color& color,
317 void GraphicsContext::setDrawLooper(PassOwnPtr<DrawLooperBuilder> drawLooperBuilder)
325 void GraphicsContext::clearDrawLooper()
333 bool GraphicsContext::hasShadow() const
338 bool GraphicsContext::getTransformedClipBounds(FloatRect* bounds) const
351 SkMatrix GraphicsContext::getTotalMatrix() const
368 void GraphicsContext::adjustTextRenderMode(SkPaint* paint) const
379 bool GraphicsContext::couldUseLCDRenderedText() const
392 void GraphicsContext::setCompositeOperation(CompositeOperator compositeOperation, WebBlendMode blendMode)
399 SkColorFilter* GraphicsContext::colorFilter() const
404 void GraphicsContext::setColorFilter(ColorFilter colorFilter)
414 bool GraphicsContext::readPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, int x, int y)
423 void GraphicsContext::setMatrix(const SkMatrix& matrix)
434 void GraphicsContext::concat(const SkMatrix& matrix)
448 void GraphicsContext::beginTransparencyLayer(float opacity, const FloatRect* bounds)
453 void GraphicsContext::beginLayer(float opacity, CompositeOperator op, const FloatRect* bounds, ColorFilter colorFilter, ImageFilter* imageFilter)
476 void GraphicsContext::endLayer()
489 void GraphicsContext::beginRecording(const FloatRect& bounds, uint32_t recordFlags)
519 PassRefPtr<DisplayList> GraphicsContext::endRecording()
536 bool GraphicsContext::isRecording() const
541 void GraphicsContext::drawDisplayList(DisplayList* displayList)
582 void GraphicsContext::drawConvexPolygon(size_t numPoints, const FloatPoint* points, bool shouldAntialias)
601 float GraphicsContext::prepareFocusRingPaint(SkPaint& paint, const Color& color, int width) const
616 void GraphicsContext::drawFocusRingPath(const SkPath& path, const Color& color, int width)
634 void GraphicsContext::drawFocusRingRect(const SkRect& rect, const Color& color, int width)
653 void GraphicsContext::drawFocusRing(const Path& focusRingPath, int width, int offset, const Color& color)
662 void GraphicsContext::drawFocusRing(const Vector<IntRect>& rects, int width, int offset, const Color& color)
702 void GraphicsContext::drawInnerShadow(const RoundedRect& rect, const Color& shadowColor, const IntSize shadowOffset, int shadowBlur, int shadowSpread, Edges clippedEdges)
755 void GraphicsContext::drawLine(const IntPoint& point1, const IntPoint& point2)
806 void GraphicsContext::drawLineForDocumentMarker(const FloatPoint& pt, float width, DocumentMarkerLineStyle style)
936 void GraphicsContext::drawLineForText(const FloatPoint& pt, float width, bool printing)
976 void GraphicsContext::drawRect(const IntRect& rect)
1003 void GraphicsContext::drawText(const Font& font, const TextRunPaintInfo& runInfo, const FloatPoint& point)
1011 void GraphicsContext::drawEmphasisMarks(const Font& font, const TextRunPaintInfo& runInfo, const AtomicString& mark, const FloatPoint& point)
1019 void GraphicsContext::drawBidiText(const Font& font, const TextRunPaintInfo& runInfo, const FloatPoint& point, Font::CustomFontNotReadyAction customFontNotReadyAction)
1060 void GraphicsContext::drawHighlightForText(const Font& font, const TextRun& run, const FloatPoint& point, int h, const Color& backgroundColor, int from, int to)
1068 void GraphicsContext::drawImage(Image* image, const IntPoint& p, CompositeOperator op, RespectImageOrientationEnum shouldRespectImageOrientation)
1075 void GraphicsContext::drawImage(Image* image, const IntRect& r, CompositeOperator op, RespectImageOrientationEnum shouldRespectImageOrientation)
1082 void GraphicsContext::drawImage(Image* image, const FloatRect& dest, const FloatRect& src, CompositeOperator op, RespectImageOrientationEnum shouldRespectImageOrientation)
1087 void GraphicsContext::drawImage(Image* image, const FloatRect& dest)
1094 void GraphicsContext::drawImage(Image* image, const FloatRect& dest, const FloatRect& src, CompositeOperator op, WebBlendMode blendMode, RespectImageOrientationEnum shouldRespectImageOrientation)
1101 void GraphicsContext::drawTiledImage(Image* image, const IntRect& destRect, const IntPoint& srcPoint, const IntSize& tileSize, CompositeOperator op, WebBlendMode blendMode, const IntSize& repeatSpacing)
1108 void GraphicsContext::drawTiledImage(Image* image, const IntRect& dest, const IntRect& srcRect,
1123 void GraphicsContext::drawImageBuffer(ImageBuffer* image, const FloatRect& dest,
1132 void GraphicsContext::drawPicture(PassRefPtr<SkPicture> picture, const FloatRect& dest, const FloatRect& src, CompositeOperator op, WebBlendMode blendMode)
1159 void GraphicsContext::writePixels(const SkImageInfo& info, const void* pixels, size_t rowBytes, int x, int y)
1181 void GraphicsContext::writePixels(const SkBitmap& bitmap, int x, int y)
1193 void GraphicsContext::drawBitmap(const SkBitmap& bitmap, SkScalar left, SkScalar top, const SkPaint* paint)
1207 void GraphicsContext::drawBitmapRect(const SkBitmap& bitmap, const SkRect* src,
1223 void GraphicsContext::drawOval(const SkRect& oval, const SkPaint& paint)
1235 void GraphicsContext::drawPath(const SkPath& path, const SkPaint& paint)
1247 void GraphicsContext::drawRect(const SkRect& rect, const SkPaint& paint)
1259 void GraphicsContext::drawRRect(const SkRRect& rrect, const SkPaint& paint)
1271 void GraphicsContext::didDrawRect(const SkRect& rect, const SkPaint& paint, const SkBitmap* bitmap)
1280 void GraphicsContext::drawPosText(const void* text, size_t byteLength,
1295 void GraphicsContext::drawPosTextH(const void* text, size_t byteLength,
1310 void GraphicsContext::drawTextBlob(const SkTextBlob* blob, const SkPoint& origin, const SkPaint& paint)
1327 void GraphicsContext::fillPath(const Path& pathToFill)
1344 void GraphicsContext::fillRect(const FloatRect& rect)
1354 void GraphicsContext::fillRect(const FloatRect& rect, const Color& color)
1365 void GraphicsContext::fillBetweenRoundedRects(const IntRect& outer, const IntSize& outerTopLeft, const IntSize& outerTopRight, const IntSize& outerBottomLeft, const IntSize& outerBottomRight,
1391 void GraphicsContext::fillBetweenRoundedRects(const RoundedRect& outer, const RoundedRect& inner, const Color& color)
1397 void GraphicsContext::fillRoundedRect(const IntRect& rect, const IntSize& topLeft, const IntSize& topRight,
1430 void GraphicsContext::fillEllipse(const FloatRect& ellipse)
1439 void GraphicsContext::strokePath(const Path& pathToStroke)
1448 void GraphicsContext::strokeRect(const FloatRect& rect)
1453 void GraphicsContext::strokeRect(const FloatRect& rect, float lineWidth)
1481 void GraphicsContext::strokeEllipse(const FloatRect& ellipse)
1489 void GraphicsContext::clipRoundedRect(const RoundedRect& rect, SkRegion::Op regionOp)
1509 void GraphicsContext::clipOut(const Path& pathToClip)
1521 void GraphicsContext::clipPath(const Path& pathToClip, WindRule clipRule)
1537 void GraphicsContext::clipConvexPolygon(size_t numPoints, const FloatPoint* points, bool antialiased)
1550 void GraphicsContext::clipOutRoundedRect(const RoundedRect& rect)
1558 void GraphicsContext::canvasClip(const Path& pathToClip, WindRule clipRule)
1574 void GraphicsContext::clipRect(const SkRect& rect, AntiAliasingMode aa, SkRegion::Op op)
1585 void GraphicsContext::clipPath(const SkPath& path, AntiAliasingMode aa, SkRegion::Op op)
1596 void GraphicsContext::clipRRect(const SkRRect& rect, AntiAliasingMode aa, SkRegion::Op op)
1607 void GraphicsContext::beginCull(const FloatRect& rect)
1617 void GraphicsContext::endCull()
1628 void GraphicsContext::rotate(float angleInRadians)
1639 void GraphicsContext::translate(float x, float y)
1653 void GraphicsContext::scale(float x, float y)
1667 void GraphicsContext::setURLForRect(const KURL& link, const IntRect& destRect)
1677 void GraphicsContext::setURLFragmentForRect(const String& destName, const IntRect& rect)
1687 void GraphicsContext::addURLTargetAtPoint(const String& name, const IntPoint& pos)
1697 AffineTransform GraphicsContext::getCTM() const
1711 void GraphicsContext::fillRect(const FloatRect& rect, const Color& color, CompositeOperator op)
1722 void GraphicsContext::fillRoundedRect(const RoundedRect& rect, const Color& color)
1733 void GraphicsContext::fillRectWithRoundedHole(const IntRect& rect, const RoundedRect& roundedHoleRect, const Color& color)
1758 void GraphicsContext::clearRect(const FloatRect& rect)
1769 void GraphicsContext::adjustLineToPixelBoundaries(FloatPoint& p1, FloatPoint& p2, float strokeWidth, StrokeStyle penStyle)
1798 PassOwnPtr<ImageBuffer> GraphicsContext::createRasterBuffer(const IntSize& size, OpacityMode opacityMode) const
1818 void GraphicsContext::setPathFromConvexPoints(SkPath* path, size_t numPoints, const FloatPoint* points)
1840 void GraphicsContext::setRadii(SkVector* radii, IntSize topLeft, IntSize topRight, IntSize bottomRight, IntSize bottomLeft)
1852 PassRefPtr<SkColorFilter> GraphicsContext::WebCoreColorFilterToSkiaColorFilter(ColorFilter colorFilter)
1872 void GraphicsContext::draw2xMarker(SkBitmap* bitmap, int index)
1903 void GraphicsContext::draw1xMarker(SkBitmap* bitmap, int index)
1932 SkPMColor GraphicsContext::lineColors(int index)
1942 SkPMColor GraphicsContext::antiColors1(int index)
1952 SkPMColor GraphicsContext::antiColors2(int index)
1963 void GraphicsContext::didDrawTextInRect(const SkRect& textRect)
1966 TRACE_EVENT0("skia", "GraphicsContext::didDrawTextInRect");
1971 void GraphicsContext::preparePaintForDrawRectToRect(