Home | History | Annotate | Download | only in graphics

Lines Matching defs:GraphicsContext

28 #include "core/platform/graphics/GraphicsContext.h"
58 struct GraphicsContext::DeferredSaveState {
65 GraphicsContext::GraphicsContext(SkCanvas* canvas)
85 GraphicsContext::~GraphicsContext()
92 const SkBitmap* GraphicsContext::bitmap() const
94 TRACE_EVENT0("skia", "GraphicsContext::bitmap");
98 const SkBitmap& GraphicsContext::layerBitmap(AccessMode access) const
103 SkDevice* GraphicsContext::createCompatibleDevice(const IntSize& size, bool hasAlpha) const
111 void GraphicsContext::save()
123 void GraphicsContext::restore()
129 LOG_ERROR("ERROR void GraphicsContext::restore() stack is empty");
147 void GraphicsContext::saveLayer(const SkRect* bounds, const SkPaint* paint, SkCanvas::SaveFlags saveFlags)
161 void GraphicsContext::restoreLayer()
171 void GraphicsContext::beginAnnotation(const GraphicsContextAnnotation& annotation)
190 void GraphicsContext::endAnnotation()
203 void GraphicsContext::setStrokeColor(const Color& color)
210 void GraphicsContext::setStrokePattern(PassRefPtr<Pattern> pattern)
224 void GraphicsContext::setStrokeGradient(PassRefPtr<Gradient> gradient)
238 void GraphicsContext::setFillColor(const Color& color)
245 void GraphicsContext::setFillPattern(PassRefPtr<Pattern> pattern)
259 void GraphicsContext::setFillGradient(PassRefPtr<Gradient> gradient)
273 void GraphicsContext::setShadow(const FloatSize& offset, float blur, const Color& color,
291 void GraphicsContext::setDrawLooper(const DrawLooper& drawLooper)
299 void GraphicsContext::clearDrawLooper()
307 bool GraphicsContext::hasShadow() const
312 int GraphicsContext::getNormalizedAlpha() const
322 bool GraphicsContext::getClipBounds(SkRect* bounds) const
329 const SkMatrix& GraphicsContext::getTotalMatrix() const
336 bool GraphicsContext::isPrintingDevice() const
343 void GraphicsContext::adjustTextRenderMode(SkPaint* paint)
354 bool GraphicsContext::couldUseLCDRenderedText()
366 void GraphicsContext::setCompositeOperation(CompositeOperator compositeOperation, BlendMode blendMode)
373 bool GraphicsContext::readPixels(SkBitmap* bitmap, int x, int y, SkCanvas::Config8888 config8888)
381 void GraphicsContext::setMatrix(const SkMatrix& matrix)
391 bool GraphicsContext::concat(const SkMatrix& matrix)
401 void GraphicsContext::beginTransparencyLayer(float opacity)
423 void GraphicsContext::endTransparencyLayer()
436 void GraphicsContext::clipToImageBuffer(const ImageBuffer* imageBuffer, const FloatRect& rect)
477 void GraphicsContext::setupPaintForFilling(SkPaint* paint) const
487 float GraphicsContext::setupPaintForStroking(SkPaint* paint, int length) const
500 void GraphicsContext::drawConvexPolygon(size_t numPoints, const FloatPoint* points, bool shouldAntialias)
524 void GraphicsContext::drawEllipse(const IntRect& elipseRect)
541 void GraphicsContext::drawFocusRing(const Path& focusRingPath, int width, int offset, const Color& color)
558 void GraphicsContext::drawFocusRing(const Vector<IntRect>& rects, int width, int offset, const Color& color)
600 void GraphicsContext::drawInnerShadow(const RoundedRect& rect, const Color& shadowColor, const IntSize shadowOffset, int shadowBlur, int shadowSpread, Edges clippedEdges)
651 void GraphicsContext::drawLine(const IntPoint& point1, const IntPoint& point2)
703 void GraphicsContext::drawLineForDocumentMarker(const FloatPoint& pt, float width, DocumentMarkerLineStyle style)
830 void GraphicsContext::drawLineForText(const FloatPoint& pt, float width, bool printing)
867 void GraphicsContext::drawRect(const IntRect& rect)
902 void GraphicsContext::drawText(const Font& font, const TextRunPaintInfo& runInfo, const FloatPoint& point)
910 void GraphicsContext::drawEmphasisMarks(const Font& font, const TextRunPaintInfo& runInfo, const AtomicString& mark, const FloatPoint& point)
918 void GraphicsContext::drawBidiText(const Font& font, const TextRunPaintInfo& runInfo, const FloatPoint& point, Font::CustomFontNotReadyAction customFontNotReadyAction)
958 void GraphicsContext::drawHighlightForText(const Font& font, const TextRun& run, const FloatPoint& point, int h, const Color& backgroundColor, int from, int to)
966 void GraphicsContext::drawImage(Image* image, const IntPoint& p, CompositeOperator op, RespectImageOrientationEnum shouldRespectImageOrientation)
973 void GraphicsContext::drawImage(Image* image, const IntRect& r, CompositeOperator op, RespectImageOrientationEnum shouldRespectImageOrientation, bool useLowQualityScale)
980 void GraphicsContext::drawImage(Image* image, const IntPoint& dest, const IntRect& srcRect, CompositeOperator op, RespectImageOrientationEnum shouldRespectImageOrientation)
985 void GraphicsContext::drawImage(Image* image, const FloatRect& dest, const FloatRect& src, CompositeOperator op, RespectImageOrientationEnum shouldRespectImageOrientation, bool useLowQualityScale)
990 void GraphicsContext::drawImage(Image* image, const FloatRect& dest)
997 void GraphicsContext::drawImage(Image* image, const FloatRect& dest, const FloatRect& src, CompositeOperator op, BlendMode blendMode, RespectImageOrientationEnum shouldRespectImageOrientation, bool useLowQualityScale)
1014 void GraphicsContext::drawTiledImage(Image* image, const IntRect& destRect, const IntPoint& srcPoint, const IntSize& tileSize, CompositeOperator op, bool useLowQualityScale, BlendMode blendMode)
1029 void GraphicsContext::drawTiledImage(Image* image, const IntRect& dest, const IntRect& srcRect,
1051 void GraphicsContext::drawImageBuffer(ImageBuffer* image, const IntPoint& p, CompositeOperator op, BlendMode blendMode)
1058 void GraphicsContext::drawImageBuffer(ImageBuffer* image, const IntRect& r, CompositeOperator op, BlendMode blendMode, bool useLowQualityScale)
1065 void GraphicsContext::drawImageBuffer(ImageBuffer* image, const IntPoint& dest, const IntRect& srcRect, CompositeOperator op, BlendMode blendMode)
1070 void GraphicsContext::drawImageBuffer(ImageBuffer* image, const IntRect& dest, const IntRect& srcRect, CompositeOperator op, BlendMode blendMode, bool useLowQualityScale)
1075 void GraphicsContext::drawImageBuffer(ImageBuffer* image, const FloatRect& dest)
1082 void GraphicsContext::drawImageBuffer(ImageBuffer* image, const FloatRect& dest, const FloatRect& src, CompositeOperator op, BlendMode blendMode, bool useLowQualityScale)
1097 void GraphicsContext::writePixels(const SkBitmap& bitmap, int x, int y, SkCanvas::Config8888 config8888)
1113 void GraphicsContext::drawBitmap(const SkBitmap& bitmap, SkScalar left, SkScalar top, const SkPaint* paint)
1126 void GraphicsContext::drawBitmapRect(const SkBitmap& bitmap, const SkRect* src,
1138 void GraphicsContext::drawOval(const SkRect& oval, const SkPaint& paint)
1149 void GraphicsContext::drawPath(const SkPath& path, const SkPaint& paint)
1160 void GraphicsContext::drawRect(const SkRect& rect, const SkPaint& paint)
1171 void GraphicsContext::didDrawRect(const SkRect& rect, const SkPaint& paint, const SkBitmap* bitmap)
1177 void GraphicsContext::drawPosText(const void* text, size_t byteLength,
1191 void GraphicsContext::drawPosTextH(const void* text, size_t byteLength,
1205 void GraphicsContext::drawTextOnPath(const void* text, size_t byteLength,
1219 void GraphicsContext::fillPath(const Path& pathToFill)
1238 void GraphicsContext::fillRect(const FloatRect& rect)
1250 void GraphicsContext::fillRect(const FloatRect& rect, const Color& color)
1262 void GraphicsContext::fillRoundedRect(const IntRect& rect, const IntSize& topLeft, const IntSize& topRight,
1295 void GraphicsContext::fillEllipse(const FloatRect& ellipse)
1306 void GraphicsContext::strokePath(const Path& pathToStroke)
1317 void GraphicsContext::strokeRect(const FloatRect& rect, float lineWidth)
1344 void GraphicsContext::strokeEllipse(const FloatRect& ellipse)
1355 void GraphicsContext::clipRoundedRect(const RoundedRect& rect)
1370 void GraphicsContext::clipOut(const Path& pathToClip)
1382 void GraphicsContext::clipPath(const Path& pathToClip, WindRule clipRule)
1398 void GraphicsContext::clipConvexPolygon(size_t numPoints, const FloatPoint* points, bool antialiased)
1411 void GraphicsContext::clipOutRoundedRect(const RoundedRect& rect)
1426 void GraphicsContext::canvasClip(const Path& pathToClip, WindRule clipRule)
1442 bool GraphicsContext::clipRect(const SkRect& rect, AntiAliasingMode aa, SkRegion::Op op)
1452 bool GraphicsContext::clipPath(const SkPath& path, AntiAliasingMode aa, SkRegion::Op op)
1462 bool GraphicsContext::clipRRect(const SkRRect& rect, AntiAliasingMode aa, SkRegion::Op op)
1472 void GraphicsContext::rotate(float angleInRadians)
1482 void GraphicsContext::translate(float w, float h)
1492 void GraphicsContext::scale(const FloatSize& size)
1502 void GraphicsContext::setURLForRect(const KURL& link, const IntRect& destRect)
1511 void GraphicsContext::setURLFragmentForRect(const String& destName, const IntRect& rect)
1520 void GraphicsContext::addURLTargetAtPoint(const String& name, const IntPoint& pos)
1529 AffineTransform GraphicsContext::getCTM(IncludeDeviceScale) const
1543 void GraphicsContext
1554 void GraphicsContext::fillRoundedRect(const RoundedRect& rect, const Color& color)
1562 void GraphicsContext::fillRectWithRoundedHole(const IntRect& rect, const RoundedRect& roundedHoleRect, const Color& color)
1587 void GraphicsContext::clearRect(const FloatRect& rect)
1599 void GraphicsContext::adjustLineToPixelBoundaries(FloatPoint& p1, FloatPoint& p2, float strokeWidth, StrokeStyle penStyle)
1633 PassOwnPtr<ImageBuffer> GraphicsContext::createCompatibleBuffer(const IntSize& size, bool hasAlpha) const
1652 bool GraphicsContext::isCompatibleWithBuffer(ImageBuffer* buffer) const
1654 GraphicsContext* bufferContext = buffer->context();
1659 void GraphicsContext::addCornerArc(SkPath* path, const SkRect& rect, const IntSize& size, int startAngle)
1688 void GraphicsContext::setPathFromConvexPoints(SkPath* path, size_t numPoints, const FloatPoint* points)
1710 void GraphicsContext::setupPaintCommon(SkPaint* paint) const
1724 void GraphicsContext::drawOuterPath(const SkPath& path, SkPaint& paint, int width)
1737 void GraphicsContext::drawInnerPath(const SkPath& path, SkPaint& paint, int width)
1746 void GraphicsContext::setRadii(SkVector* radii, IntSize topLeft, IntSize topRight, IntSize bottomRight, IntSize bottomLeft)
1765 void GraphicsContext::draw2xMarker(SkBitmap* bitmap, int index)
1796 void GraphicsContext::draw1xMarker(SkBitmap* bitmap, int index)
1825 const SkPMColor GraphicsContext::lineColors(int index)
1835 const SkPMColor GraphicsContext::antiColors1(int index)
1845 const SkPMColor GraphicsContext::antiColors2(int index)
1856 void GraphicsContext::setupShader(SkPaint* paint, Gradient* grad, Pattern* pat, SkColor color) const
1874 void GraphicsContext::applyClipFromImage(const SkRect& rect, const SkBitmap& imageBuffer)
1890 void GraphicsContext::didDrawTextInRect(const SkRect& textRect)