Home | History | Annotate | Download | only in android

Lines Matching full:graphicscontext

27 #include "GraphicsContext.h"
82 GraphicsContext* mCG; // back-ptr to our parent
166 GraphicsContextPlatformPrivate(GraphicsContext* cg, PlatformGraphicsContext* pgc)
347 GraphicsContext* GraphicsContext::createOffscreenContext(int width, int height)
358 GraphicsContext* ctx = new GraphicsContext(pgc);
365 GraphicsContext::GraphicsContext(PlatformGraphicsContext *gc)
372 GraphicsContext::~GraphicsContext()
378 void GraphicsContext::savePlatformState()
386 void GraphicsContext::restorePlatformState()
394 bool GraphicsContext::willFill() const {
398 bool GraphicsContext::willStroke() const {
402 const SkPath* GraphicsContext::getCurrPath() const {
407 void GraphicsContext::drawRect(const IntRect& rect)
420 /* According to GraphicsContext.h, stroking inside drawRect always means
434 void GraphicsContext::drawLine(const IntPoint& point1, const IntPoint& point2)
510 static void setrect_for_underline(SkRect* r, GraphicsContext* context, const IntPoint& point, int yOffset, int width)
524 void GraphicsContext::drawLineForText(IntPoint const& pt, int width, bool)
539 void GraphicsContext::drawLineForMisspellingOrBadGrammar(const IntPoint& pt, int width, bool grammar)
555 void GraphicsContext::drawEllipse(const IntRect& rect)
585 void GraphicsContext::strokeArc(const IntRect& r, int startAngle, int angleSpan)
611 void GraphicsContext::drawConvexPolygon(size_t numPoints, const FloatPoint* points, bool shouldAntialias)
646 void GraphicsContext::fillRoundedRect(const IntRect& rect, const IntSize& topLeft, const IntSize& topRight,
670 void GraphicsContext::fillRect(const FloatRect& rect)
683 void GraphicsContext::fillRect(const FloatRect& rect, const Color& color, ColorSpace)
708 entry-point in GraphicsContext seems to have been sufficient,
722 void GraphicsContext::clip(const FloatRect& rect)
730 void GraphicsContext::clip(const Path& path)
740 void GraphicsContext::addInnerRoundedRectClip(const IntRect& rect, int thickness)
760 void GraphicsContext::canvasClip(const Path& path)
765 void GraphicsContext::clipOut(const IntRect& r)
773 void GraphicsContext::clipOutEllipseInRect(const IntRect& r)
785 void GraphicsContext::clipPath(WindRule clipRule)
796 void GraphicsContext::clipOut(const Path& p)
804 void GraphicsContext::clipToImageBuffer(const FloatRect&, const ImageBuffer*) {
811 KRenderingDeviceContext* GraphicsContext::createRenderingDeviceContext()
825 void GraphicsContext::beginTransparencyLayer(float opacity)
834 void GraphicsContext::endTransparencyLayer()
844 void GraphicsContext::setupBitmapPaint(SkPaint* paint) {
848 void GraphicsContext::setupFillPaint(SkPaint* paint) {
852 void GraphicsContext::setupStrokePaint(SkPaint* paint) {
856 bool GraphicsContext::setupShadowPaint(SkPaint* paint, SkPoint* offset) {
860 void GraphicsContext::setPlatformStrokeColor(const Color& c, ColorSpace) {
864 void GraphicsContext::setPlatformStrokeThickness(float f) {
868 void GraphicsContext::setPlatformFillColor(const Color& c, ColorSpace) {
872 void GraphicsContext::setPlatformShadow(const IntSize& size, int blur, const Color& color, ColorSpace)
890 void GraphicsContext::clearPlatformShadow()
900 void GraphicsContext::drawFocusRing(const Vector<IntRect>&, int, int, const Color&)
905 void GraphicsContext::drawFocusRing(const Vector<Path>&, int, int, const Color&)
910 PlatformGraphicsContext* GraphicsContext::platformContext() const
916 void GraphicsContext::setMiterLimit(float limit)
921 void GraphicsContext::setAlpha(float alpha)
926 void GraphicsContext::setCompositeOperation(CompositeOperator op)
931 void GraphicsContext::clearRect(const FloatRect& rect)
943 void GraphicsContext::strokeRect(const FloatRect& rect, float lineWidth)
955 void GraphicsContext::setLineCap(LineCap cap)
968 SkDEBUGF(("GraphicsContext::setLineCap: unknown LineCap %d\n", cap));
974 void GraphicsContext::setLineDash(const DashArray& dashes, float dashOffset)
996 void GraphicsContext::setLineJoin(LineJoin join)
1009 SkDEBUGF(("GraphicsContext::setLineJoin: unknown LineJoin %d\n", join));
1014 void GraphicsContext::scale(const FloatSize& size)
1021 void GraphicsContext::rotate(float angleInRadians)
1028 void GraphicsContext::translate(float x, float y)
1035 void GraphicsContext::concatCTM(const AffineTransform& affine)
1054 FloatRect GraphicsContext::roundToDevicePixels(const FloatRect& rect)
1061 void GraphicsContext::setURLForRect(const KURL& link, const IntRect& destRect)
1087 void GraphicsContext::setPlatformShouldAntialias(bool useAA)
1094 AffineTransform GraphicsContext::getCTM() const
1107 void GraphicsContext::beginPath()
1112 void GraphicsContext::addPath(const Path& p)
1117 void GraphicsContext::fillPath()
1142 void GraphicsContext::strokePath()
1158 void GraphicsContext::setImageInterpolationQuality(InterpolationQuality mode)
1180 SkCanvas* android_gc2canvas(WebCore::GraphicsContext* gc)