Lines Matching defs:CanvasRenderingContext2D
32 #include "CanvasRenderingContext2D.h"
90 CanvasStrokeStyleApplier(CanvasRenderingContext2D* canvasContext)
104 CanvasRenderingContext2D* m_canvasContext;
107 CanvasRenderingContext2D::CanvasRenderingContext2D(HTMLCanvasElement* canvas, bool usesCSSCompatibilityParseMode, bool usesDashboardCompatibilityMode)
146 CanvasRenderingContext2D::~CanvasRenderingContext2D()
150 bool CanvasRenderingContext2D::isAccelerated() const
162 bool CanvasRenderingContext2D::paintsIntoCanvasBuffer() const
172 void CanvasRenderingContext2D::reset()
197 CanvasRenderingContext2D::State::State()
216 CanvasRenderingContext2D::State::State(const State& other)
244 CanvasRenderingContext2D::State& CanvasRenderingContext2D::State::operator=(const State& other)
279 CanvasRenderingContext2D::State::~State()
285 void CanvasRenderingContext2D::State::fontsNeedUpdate(FontSelector* fontSelector)
293 void CanvasRenderingContext2D::save()
303 void CanvasRenderingContext2D::restore()
317 void CanvasRenderingContext2D::setAllAttributesToDefault()
334 CanvasStyle* CanvasRenderingContext2D::strokeStyle() const
339 void CanvasRenderingContext2D::setStrokeStyle(PassRefPtr<CanvasStyle> style)
363 CanvasStyle* CanvasRenderingContext2D::fillStyle() const
368 void CanvasRenderingContext2D::setFillStyle(PassRefPtr<CanvasStyle> style)
392 float CanvasRenderingContext2D::lineWidth() const
397 void CanvasRenderingContext2D::setLineWidth(float width)
408 String CanvasRenderingContext2D::lineCap() const
413 void CanvasRenderingContext2D::setLineCap(const String& s)
425 String CanvasRenderingContext2D::lineJoin() const
430 void CanvasRenderingContext2D::setLineJoin(const String& s)
442 float CanvasRenderingContext2D::miterLimit() const
447 void CanvasRenderingContext2D::setMiterLimit(float limit)
458 float CanvasRenderingContext2D::shadowOffsetX() const
463 void CanvasRenderingContext2D::setShadowOffsetX(float x)
471 float CanvasRenderingContext2D::shadowOffsetY() const
476 void CanvasRenderingContext2D::setShadowOffsetY(float y)
484 float CanvasRenderingContext2D::shadowBlur() const
489 void CanvasRenderingContext2D::setShadowBlur(float blur)
497 String CanvasRenderingContext2D::shadowColor() const
502 void CanvasRenderingContext2D::setShadowColor(const String& color)
510 float CanvasRenderingContext2D::globalAlpha() const
515 void CanvasRenderingContext2D::setGlobalAlpha(float alpha)
526 String CanvasRenderingContext2D::globalCompositeOperation() const
531 void CanvasRenderingContext2D::setGlobalCompositeOperation(const String& operation)
552 void CanvasRenderingContext2D::scale(float sx, float sy)
575 void CanvasRenderingContext2D::rotate(float angleInRadians)
598 void CanvasRenderingContext2D::translate(float tx, float ty)
621 void CanvasRenderingContext2D::transform(float m11, float m12, float m21, float m22, float dx, float dy)
644 void CanvasRenderingContext2D::setTransform(float m11, float m12, float m21, float m22, float dx, float dy)
665 void CanvasRenderingContext2D::setStrokeColor(const String& color)
673 void CanvasRenderingContext2D::setStrokeColor(float grayLevel)
680 void CanvasRenderingContext2D::setStrokeColor(const String& color, float alpha)
685 void CanvasRenderingContext2D::setStrokeColor(float grayLevel, float alpha)
692 void CanvasRenderingContext2D::setStrokeColor(float r, float g, float b, float a)
699 void CanvasRenderingContext2D::setStrokeColor(float c, float m, float y, float k, float a)
706 void CanvasRenderingContext2D::setFillColor(const String& color)
714 void CanvasRenderingContext2D::setFillColor(float grayLevel)
721 void CanvasRenderingContext2D::setFillColor(const String& color, float alpha)
726 void CanvasRenderingContext2D::setFillColor(float grayLevel, float alpha)
733 void CanvasRenderingContext2D::setFillColor(float r, float g, float b, float a)
740 void CanvasRenderingContext2D::setFillColor(float c, float m, float y, float k, float a)
747 void CanvasRenderingContext2D::beginPath()
752 void CanvasRenderingContext2D::closePath()
762 void CanvasRenderingContext2D::moveTo(float x, float y)
771 void CanvasRenderingContext2D::lineTo(float x, float y)
785 void CanvasRenderingContext2D::quadraticCurveTo(float cpx, float cpy, float x, float y)
799 void CanvasRenderingContext2D::bezierCurveTo(float cp1x, float cp1y, float cp2x, float cp2y, float x, float y)
813 void CanvasRenderingContext2D::arcTo(float x1, float y1, float x2, float y2, float r, ExceptionCode& ec)
838 void CanvasRenderingContext2D::arc(float x, float y, float r, float sa, float ea, bool anticlockwise, ExceptionCode& ec)
878 void CanvasRenderingContext2D::rect(float x, float y, float width, float height)
895 void CanvasRenderingContext2D::clearPathForDashboardBackwardCompatibilityMode()
902 void CanvasRenderingContext2D::fill()
920 void CanvasRenderingContext2D::stroke()
948 void CanvasRenderingContext2D::clip()
961 bool CanvasRenderingContext2D::isPointInPath(const float x, const float y)
977 void CanvasRenderingContext2D::clearRect(float x, float y, float width, float height)
995 void CanvasRenderingContext2D::fillRect(float x, float y, float width, float height)
1019 void CanvasRenderingContext2D::strokeRect(float x, float y, float width, float height)
1026 void CanvasRenderingContext2D::strokeRect(float x, float y, float width, float height, float lineWidth)
1069 void CanvasRenderingContext2D::setShadow(float width, float height, float blur)
1077 void CanvasRenderingContext2D::setShadow(float width, float height, float blur, const String& color)
1087 void CanvasRenderingContext2D::setShadow(float width, float height, float blur, float grayLevel)
1100 void CanvasRenderingContext2D::setShadow(float width, float height, float blur, const String& color, float alpha)
1118 void CanvasRenderingContext2D::setShadow(float width, float height, float blur, float grayLevel, float alpha)
1131 void CanvasRenderingContext2D::setShadow(float width, float height, float blur, float r, float g, float b, float a)
1144 void CanvasRenderingContext2D::setShadow(float width, float height, float blur, float c, float m, float y, float k, float a)
1165 void CanvasRenderingContext2D::clearShadow()
1173 void CanvasRenderingContext2D::applyShadow()
1208 void CanvasRenderingContext2D::drawImage(HTMLImageElement* image, float x, float y, ExceptionCode& ec)
1218 void CanvasRenderingContext2D::drawImage(HTMLImageElement* image,
1229 void CanvasRenderingContext2D::drawImage(HTMLImageElement* image,
1240 void CanvasRenderingContext2D::drawImage(HTMLImageElement* image, const FloatRect& srcRect, const FloatRect& dstRect, ExceptionCode& ec)
1245 void CanvasRenderingContext2D::drawImage(HTMLImageElement* image, const FloatRect& srcRect, const FloatRect& dstRect, const CompositeOperator& op, ExceptionCode& ec)
1291 void CanvasRenderingContext2D::drawImage(HTMLCanvasElement* canvas, float x, float y, ExceptionCode& ec)
1300 void CanvasRenderingContext2D::drawImage(HTMLCanvasElement* canvas,
1310 void CanvasRenderingContext2D::drawImage(HTMLCanvasElement* canvas,
1317 void CanvasRenderingContext2D::drawImage(HTMLCanvasElement* sourceCanvas, const FloatRect& srcRect,
1374 void CanvasRenderingContext2D::drawImage(HTMLVideoElement* video, float x, float y, ExceptionCode& ec)
1384 void CanvasRenderingContext2D::drawImage(HTMLVideoElement* video,
1395 void CanvasRenderingContext2D::drawImage(HTMLVideoElement* video,
1402 void CanvasRenderingContext2D::drawImage(HTMLVideoElement* video, const FloatRect& srcRect, const FloatRect& dstRect,
1446 void CanvasRenderingContext2D::drawImageFromRect(HTMLImageElement* image,
1459 void CanvasRenderingContext2D::setAlpha(float alpha)
1464 void CanvasRenderingContext2D::setCompositeOperation(const String& operation)
1469 void CanvasRenderingContext2D::prepareGradientForDashboard(CanvasGradient* gradient) const
1479 PassRefPtr<CanvasGradient> CanvasRenderingContext2D::createLinearGradient(float x0, float y0, float x1, float y1, ExceptionCode& ec)
1491 PassRefPtr<CanvasGradient> CanvasRenderingContext2D::createRadialGradient(float x0, float y0, float r0, float x1, float y1, float r1, ExceptionCode& ec)
1508 PassRefPtr<CanvasPattern> CanvasRenderingContext2D::createPattern(HTMLImageElement* image,
1532 PassRefPtr<CanvasPattern> CanvasRenderingContext2D::createPattern(HTMLCanvasElement* canvas,
1552 void CanvasRenderingContext2D::didDraw(const FloatRect& r, unsigned options)
1594 GraphicsContext* CanvasRenderingContext2D::drawingContext() const
1606 PassRefPtr<ImageData> CanvasRenderingContext2D::createImageData(PassRefPtr<ImageData> imageData, ExceptionCode& ec) const
1616 PassRefPtr<ImageData> CanvasRenderingContext2D::createImageData(float sw, float sh, ExceptionCode& ec) const
1642 PassRefPtr<ImageData> CanvasRenderingContext2D::getImageData(float sx, float sy, float sw, float sh, ExceptionCode& ec) const
1683 void CanvasRenderingContext2D::putImageData(ImageData* data, float dx, float dy, ExceptionCode& ec)
1692 void CanvasRenderingContext2D::putImageData(ImageData* data, float dx, float dy, float dirtyX, float dirtyY,
1733 String CanvasRenderingContext2D::font() const
1738 void CanvasRenderingContext2D::setFont(const String& newFont)
1769 String CanvasRenderingContext2D::textAlign() const
1774 void CanvasRenderingContext2D::setTextAlign(const String& s)
1782 String CanvasRenderingContext2D::textBaseline() const
1787 void CanvasRenderingContext2D::setTextBaseline(const String& s)
1795 void CanvasRenderingContext2D::fillText(const String& text, float x, float y)
1800 void CanvasRenderingContext2D::fillText(const String& text, float x, float y, float maxWidth)
1805 void CanvasRenderingContext2D::strokeText(const String& text, float x, float y)
1810 void CanvasRenderingContext2D::strokeText(const String& text, float x, float y, float maxWidth)
1815 PassRefPtr<TextMetrics> CanvasRenderingContext2D::measureText(const String& text)
1834 void CanvasRenderingContext2D::drawTextInternal(const String& text, float x, float y, bool fill, float /*maxWidth*/, bool /*useMaxWidth*/)
1962 const Font& CanvasRenderingContext2D::accessFont()
1971 void CanvasRenderingContext2D::paintRenderingResultsToCanvas()
1980 PlatformLayer* CanvasRenderingContext2D::platformLayer() const