Home
last modified time | relevance | path

Searched refs:CanvasStyle (Results 1 – 16 of 16) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/html/canvas/
DCanvasStyle.cpp84 CanvasStyle::CanvasStyle(Type type, float overrideAlpha) in CanvasStyle() function in WebCore::CanvasStyle
90 CanvasStyle::CanvasStyle(RGBA32 rgba) in CanvasStyle() function in WebCore::CanvasStyle
96 CanvasStyle::CanvasStyle(float grayLevel, float alpha) in CanvasStyle() function in WebCore::CanvasStyle
102 CanvasStyle::CanvasStyle(float r, float g, float b, float a) in CanvasStyle() function in WebCore::CanvasStyle
108 CanvasStyle::CanvasStyle(float c, float m, float y, float k, float a) in CanvasStyle() function in WebCore::CanvasStyle
115 CanvasStyle::CanvasStyle(PassRefPtr<CanvasGradient> gradient) in CanvasStyle() function in WebCore::CanvasStyle
121 CanvasStyle::CanvasStyle(PassRefPtr<CanvasPattern> pattern) in CanvasStyle() function in WebCore::CanvasStyle
127 PassRefPtr<CanvasStyle> CanvasStyle::createFromString(const String& color) in createFromString()
134 return adoptRef(new CanvasStyle(rgba)); in createFromString()
136 return adoptRef(new CanvasStyle(CurrentColor)); in createFromString()
[all …]
DCanvasStyle.h42 class CanvasStyle : public RefCounted<CanvasStyle> {
44 …static PassRefPtr<CanvasStyle> createFromRGBA(RGBA32 rgba) { return adoptRef(new CanvasStyle(rgba)… in createFromRGBA()
45 static PassRefPtr<CanvasStyle> createFromString(const String& color);
46 …static PassRefPtr<CanvasStyle> createFromStringWithOverrideAlpha(const String& color, float alpha);
47 …static PassRefPtr<CanvasStyle> createFromGrayLevelWithAlpha(float grayLevel, float alpha) { return… in createFromGrayLevelWithAlpha()
48 …static PassRefPtr<CanvasStyle> createFromRGBAChannels(float r, float g, float b, float a) { return… in createFromRGBAChannels()
49 …static PassRefPtr<CanvasStyle> createFromCMYKAChannels(float c, float m, float y, float k, float a… in createFromCMYKAChannels()
50 static PassRefPtr<CanvasStyle> createFromGradient(PassRefPtr<CanvasGradient>);
51 static PassRefPtr<CanvasStyle> createFromPattern(PassRefPtr<CanvasPattern>);
64 bool isEquivalentColor(const CanvasStyle&) const;
[all …]
DCanvasRenderingContext2D.h53 class CanvasStyle; variable
76 CanvasStyle* strokeStyle() const;
77 void setStrokeStyle(PassRefPtr<CanvasStyle>);
79 CanvasStyle* fillStyle() const;
80 void setFillStyle(PassRefPtr<CanvasStyle>);
253 RefPtr<CanvasStyle> m_strokeStyle;
254 RefPtr<CanvasStyle> m_fillStyle;
DCanvasRenderingContext2D.cpp242 , m_strokeStyle(CanvasStyle::createFromRGBA(Color::black)) in State()
243 , m_fillStyle(CanvasStyle::createFromRGBA(Color::black)) in State()
391 CanvasStyle* CanvasRenderingContext2D::strokeStyle() const in strokeStyle()
396 void CanvasRenderingContext2D::setStrokeStyle(PassRefPtr<CanvasStyle> prpStyle) in setStrokeStyle()
398 RefPtr<CanvasStyle> style = prpStyle; in setStrokeStyle()
408 …style = CanvasStyle::createFromRGBA(colorWithOverrideAlpha(currentColor(canvas()), style->override… in setStrokeStyle()
410 style = CanvasStyle::createFromRGBA(currentColor(canvas())); in setStrokeStyle()
424 CanvasStyle* CanvasRenderingContext2D::fillStyle() const in fillStyle()
429 void CanvasRenderingContext2D::setFillStyle(PassRefPtr<CanvasStyle> prpStyle) in setFillStyle()
431 RefPtr<CanvasStyle> style = prpStyle; in setFillStyle()
[all …]
/external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/
DV8CanvasRenderingContext2DCustom.cpp49 static v8::Handle<v8::Value> toV8Object(CanvasStyle* style, v8::Handle<v8::Object> creationContext,… in toV8Object()
60 static PassRefPtr<CanvasStyle> toCanvasStyle(v8::Handle<v8::Value> value, v8::Isolate* isolate) in toCanvasStyle()
62 …RefPtr<CanvasStyle> canvasStyle = CanvasStyle::createFromGradient(V8CanvasGradient::toNativeWithTy… in toCanvasStyle()
65 return CanvasStyle::createFromPattern(V8CanvasPattern::toNativeWithTypeCheck(isolate, value)); in toCanvasStyle()
77 if (RefPtr<CanvasStyle> canvasStyle = toCanvasStyle(value, info.GetIsolate())) { in strokeStyleAttributeSetterCustom()
94 if (RefPtr<CanvasStyle> canvasStyle = toCanvasStyle(value, info.GetIsolate())) { in fillStyleAttributeSetterCustom()
/external/chromium_org/third_party/WebKit/Source/core/
Dwebcore_html.target.linux-x86.mk153 third_party/WebKit/Source/core/html/canvas/CanvasStyle.cpp \
Dwebcore_html.target.linux-arm64.mk153 third_party/WebKit/Source/core/html/canvas/CanvasStyle.cpp \
Dwebcore_html.target.darwin-x86.mk153 third_party/WebKit/Source/core/html/canvas/CanvasStyle.cpp \
Dwebcore_html.target.darwin-arm64.mk153 third_party/WebKit/Source/core/html/canvas/CanvasStyle.cpp \
Dwebcore_html.target.darwin-x86_64.mk153 third_party/WebKit/Source/core/html/canvas/CanvasStyle.cpp \
Dwebcore_html.target.linux-mips.mk153 third_party/WebKit/Source/core/html/canvas/CanvasStyle.cpp \
Dwebcore_html.target.linux-x86_64.mk153 third_party/WebKit/Source/core/html/canvas/CanvasStyle.cpp \
Dwebcore_html.target.darwin-mips.mk153 third_party/WebKit/Source/core/html/canvas/CanvasStyle.cpp \
Dwebcore_html.target.linux-arm.mk153 third_party/WebKit/Source/core/html/canvas/CanvasStyle.cpp \
Dwebcore_html.target.darwin-arm.mk153 third_party/WebKit/Source/core/html/canvas/CanvasStyle.cpp \
Dcore.gypi2537 'html/canvas/CanvasStyle.cpp',
2538 'html/canvas/CanvasStyle.h',