Searched refs:CanvasPattern (Results 1 - 10 of 10) sorted by relevance

/macosx-10.9.5/WebCore-7537.78.1/html/canvas/
H A DCanvasPattern.idl27 ] interface CanvasPattern {
H A DCanvasPattern.cpp27 #include "CanvasPattern.h"
36 PassRefPtr<CanvasPattern> CanvasPattern::create(PassRefPtr<Image> image, bool repeatX, bool repeatY, bool originClean)
38 return adoptRef(new CanvasPattern(image, repeatX, repeatY, originClean));
41 CanvasPattern::CanvasPattern(PassRefPtr<Image> image, bool repeatX, bool repeatY, bool originClean) function in class:WebCore::CanvasPattern
47 CanvasPattern::~CanvasPattern()
51 void CanvasPattern::parseRepetitionType(const String& type, bool& repeatX, bool& repeatY, ExceptionCode& ec)
H A DCanvasPattern.h41 class CanvasPattern : public RefCounted<CanvasPattern> { class in namespace:WebCore
43 static PassRefPtr<CanvasPattern> create(PassRefPtr<Image>, bool repeatX, bool repeatY, bool originClean);
44 ~CanvasPattern();
53 CanvasPattern(PassRefPtr<Image>, bool repeatX, bool repeatY, bool originClean);
H A DCanvasRenderingContext.h38 class CanvasPattern;
66 bool wouldTaintOrigin(const CanvasPattern*);
H A DCanvasStyle.h38 class CanvasPattern;
51 explicit CanvasStyle(PassRefPtr<CanvasPattern>);
64 CanvasPattern* canvasPattern() const;
108 CanvasPattern* m_pattern;
129 inline CanvasPattern* CanvasStyle::canvasPattern() const
H A DCanvasRenderingContext.cpp30 #include "CanvasPattern.h"
45 bool CanvasRenderingContext::wouldTaintOrigin(const CanvasPattern* pattern)
H A DCanvasRenderingContext2D.h51 class CanvasPattern;
193 PassRefPtr<CanvasPattern> createPattern(HTMLImageElement*, const String& repetitionType, ExceptionCode&);
194 PassRefPtr<CanvasPattern> createPattern(HTMLCanvasElement*, const String& repetitionType, ExceptionCode&);
H A DCanvasRenderingContext2D.idl151 [RaisesException] CanvasPattern createPattern(HTMLCanvasElement? canvas, [TreatNullAs=NullString] DOMString repetitionType);
152 [RaisesException] CanvasPattern createPattern(HTMLImageElement? image, [TreatNullAs=NullString] DOMString repetitionType);
H A DCanvasStyle.cpp35 #include "CanvasPattern.h"
127 CanvasStyle::CanvasStyle(PassRefPtr<CanvasPattern> pattern)
H A DCanvasRenderingContext2D.cpp42 #include "CanvasPattern.h"
1688 PassRefPtr<CanvasPattern> CanvasRenderingContext2D::createPattern(HTMLImageElement* image,
1697 CanvasPattern::parseRepetitionType(repetitionType, repeatX, repeatY, ec);
1706 return CanvasPattern::create(Image::nullImage(), repeatX, repeatY, true);
1709 return CanvasPattern::create(cachedImage->imageForRenderer(image->renderer()), repeatX, repeatY, originClean);
1712 PassRefPtr<CanvasPattern> CanvasRenderingContext2D::createPattern(HTMLCanvasElement* canvas,
1726 CanvasPattern::parseRepetitionType(repetitionType, repeatX, repeatY, ec);
1729 return CanvasPattern::create(canvas->copiedImage(), repeatX, repeatY, canvas->originClean());

Completed in 240 milliseconds