Lines Matching defs:GraphicsContext

27 #include "GraphicsContext.h"
79 GraphicsContext::GraphicsContext(PlatformGraphicsContext* platformGraphicsContext)
85 GraphicsContext::~GraphicsContext()
90 void GraphicsContext::save()
100 void GraphicsContext::restore()
106 LOG_ERROR("ERROR void GraphicsContext::restore() stack is empty");
115 void GraphicsContext::setStrokeThickness(float thickness)
121 void GraphicsContext::setStrokeStyle(StrokeStyle style)
127 void GraphicsContext::setStrokeColor(const Color& color, ColorSpace colorSpace)
136 void GraphicsContext::setShadow(const FloatSize& offset, float blur, const Color& color, ColorSpace colorSpace)
145 void GraphicsContext::setLegacyShadow(const FloatSize& offset, float blur, const Color& color, ColorSpace colorSpace)
157 void GraphicsContext::clearShadow()
166 bool GraphicsContext::hasShadow() const
172 bool GraphicsContext::getShadow(FloatSize& offset, float& blur, Color& color, ColorSpace& colorSpace) const
182 float GraphicsContext::strokeThickness() const
187 StrokeStyle GraphicsContext::strokeStyle() const
192 Color GraphicsContext::strokeColor() const
197 ColorSpace GraphicsContext::strokeColorSpace() const
202 WindRule GraphicsContext::fillRule() const
207 void GraphicsContext::setFillRule(WindRule fillRule)
212 void GraphicsContext::setFillColor(const Color& color, ColorSpace colorSpace)
221 Color GraphicsContext::fillColor() const
226 ColorSpace GraphicsContext::fillColorSpace() const
231 void GraphicsContext::setShouldAntialias(bool b)
237 bool GraphicsContext::shouldAntialias() const
242 void GraphicsContext::setShouldSmoothFonts(bool b)
248 bool GraphicsContext::shouldSmoothFonts() const
253 const GraphicsContextState& GraphicsContext::state() const
258 void GraphicsContext::setStrokePattern(PassRefPtr<Pattern> pattern)
270 void GraphicsContext::setFillPattern(PassRefPtr<Pattern> pattern)
282 void GraphicsContext::setStrokeGradient(PassRefPtr<Gradient> gradient)
294 void GraphicsContext::setFillGradient(PassRefPtr<Gradient> gradient)
306 Gradient* GraphicsContext::fillGradient() const
311 Gradient* GraphicsContext::strokeGradient() const
316 Pattern* GraphicsContext::fillPattern() const
321 Pattern* GraphicsContext::strokePattern() const
326 void GraphicsContext::setShadowsIgnoreTransforms(bool ignoreTransforms)
331 bool GraphicsContext::shadowsIgnoreTransforms() const
336 bool GraphicsContext::updatingControlTints() const
341 void GraphicsContext::setUpdatingControlTints(bool b)
347 void GraphicsContext::setPaintingDisabled(bool f)
352 bool GraphicsContext::paintingDisabled() const
357 void GraphicsContext::drawImage(Image* image, ColorSpace styleColorSpace, const IntPoint& p, CompositeOperator op)
362 void GraphicsContext::drawImage(Image* image, ColorSpace styleColorSpace, const IntRect& r, CompositeOperator op, bool useLowQualityScale)
367 void GraphicsContext::drawImage(Image* image, ColorSpace styleColorSpace, const IntPoint& dest, const IntRect& srcRect, CompositeOperator op)
372 void GraphicsContext::drawImage(Image* image, ColorSpace styleColorSpace, const IntRect& dest, const IntRect& srcRect, CompositeOperator op, bool useLowQualityScale)
378 void GraphicsContext::drawText(const Font& font, const TextRun& run, const FloatPoint& point, int from, int to)
387 void GraphicsContext::drawEmphasisMarks(const Font& font, const TextRun& run, const AtomicString& mark, const FloatPoint& point, int from, int to)
395 void GraphicsContext::drawBidiText(const Font& font, const TextRun& run, const FloatPoint& point)
436 void GraphicsContext::drawHighlightForText(const Font& font, const TextRun& run, const FloatPoint& point, int h, const Color& backgroundColor, ColorSpace colorSpace, int from, int to)
445 void GraphicsContext::drawImage(Image* image, ColorSpace styleColorSpace, const FloatRect& dest, const FloatRect& src, CompositeOperator op, bool useLowQualityScale)
475 void GraphicsContext::drawTiledImage(Image* image, ColorSpace styleColorSpace, const IntRect& rect, const IntPoint& srcPoint, const IntSize& tileSize, CompositeOperator op, bool useLowQualityScale)
489 void GraphicsContext::drawTiledImage(Image* image, ColorSpace styleColorSpace, const IntRect& dest, const IntRect& srcRect, Image::TileRule hRule, Image::TileRule vRule, CompositeOperator op, bool useLowQualityScale)
509 void GraphicsContext::drawImageBuffer(ImageBuffer* image, ColorSpace styleColorSpace, const IntPoint& p, CompositeOperator op)
514 void GraphicsContext::drawImageBuffer(ImageBuffer* image, ColorSpace styleColorSpace, const IntRect& r, CompositeOperator op, bool useLowQualityScale)
519 void GraphicsContext::drawImageBuffer(ImageBuffer* image, ColorSpace styleColorSpace, const IntPoint& dest, const IntRect& srcRect, CompositeOperator op)
524 void GraphicsContext::drawImageBuffer(ImageBuffer* image, ColorSpace styleColorSpace, const IntRect& dest, const IntRect& srcRect, CompositeOperator op, bool useLowQualityScale)
529 void GraphicsContext::drawImageBuffer(ImageBuffer* image, ColorSpace styleColorSpace, const FloatRect& dest, const FloatRect& src, CompositeOperator op, bool useLowQualityScale)
560 void GraphicsContext::clip(const IntRect& rect)
566 void GraphicsContext::addRoundedRectClip(const RoundedIntRect& rect)
576 void GraphicsContext::clipOutRoundedRect(const RoundedIntRect& rect)
586 void GraphicsContext::clipToImageBuffer(ImageBuffer* buffer, const FloatRect& rect)
594 IntRect GraphicsContext::clipBounds() const
601 TextDrawingModeFlags GraphicsContext::textDrawingMode() const
606 void GraphicsContext::setTextDrawingMode(TextDrawingModeFlags mode)
614 void GraphicsContext::fillRect(const FloatRect& rect, Generator& generator)
621 void GraphicsContext::fillRoundedRect(const RoundedIntRect& rect, const Color& color, ColorSpace colorSpace)
627 void GraphicsContext::fillRectWithRoundedHole(const IntRect& rect, const RoundedIntRect& roundedHoleRect, const Color& color, ColorSpace colorSpace)
654 void GraphicsContext::setCompositeOperation(CompositeOperator compositeOperation)
660 CompositeOperator GraphicsContext::compositeOperation() const
666 void GraphicsContext::setPlatformFillGradient(Gradient*)
670 void GraphicsContext::setPlatformFillPattern(Pattern*)
674 void GraphicsContext::setPlatformStrokeGradient(Gradient*)
678 void GraphicsContext::setPlatformStrokePattern(Pattern*)
686 void GraphicsContext::setPlatformTextDrawingMode(TextDrawingModeFlags mode)
692 void GraphicsContext::setPlatformStrokeStyle(StrokeStyle)
698 void GraphicsContext::setPlatformShouldSmoothFonts(bool)
704 void GraphicsContext::setSharedGraphicsContext3D(SharedGraphicsContext3D*, DrawingBuffer*, const IntSize&)
708 void GraphicsContext::syncSoftwareCanvas()
712 void GraphicsContext::markDirtyRect(const IntRect&)
718 void GraphicsContext::adjustLineToPixelBoundaries(FloatPoint& p1, FloatPoint& p2, float strokeWidth, StrokeStyle penStyle)