OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2009, 2010, 2011, 2012 Apple Inc. All rights reserv
ed. | 2 * Copyright (C) 2006, 2007, 2009, 2010, 2011, 2012 Apple Inc. All rights reserv
ed. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 | 123 |
124 bool shouldAntialias() const; | 124 bool shouldAntialias() const; |
125 void setShouldAntialias(bool) override; | 125 void setShouldAntialias(bool) override; |
126 | 126 |
127 String globalCompositeOperation() const; | 127 String globalCompositeOperation() const; |
128 void setGlobalCompositeOperation(const String&); | 128 void setGlobalCompositeOperation(const String&); |
129 | 129 |
130 String filter() const; | 130 String filter() const; |
131 void setFilter(const String&); | 131 void setFilter(const String&); |
132 | 132 |
| 133 String backdropFilter() const; |
| 134 void setBackdropFilter(const String&); |
| 135 |
133 void save(); | 136 void save(); |
134 void restore(); | 137 void restore(); |
135 | 138 |
136 PassRefPtrWillBeRawPtr<SVGMatrixTearOff> currentTransform() const; | 139 PassRefPtrWillBeRawPtr<SVGMatrixTearOff> currentTransform() const; |
137 void setCurrentTransform(PassRefPtrWillBeRawPtr<SVGMatrixTearOff>); | 140 void setCurrentTransform(PassRefPtrWillBeRawPtr<SVGMatrixTearOff>); |
138 | 141 |
139 void scale(float sx, float sy); | 142 void scale(float sx, float sy); |
140 void rotate(float angleInRadians); | 143 void rotate(float angleInRadians); |
141 void translate(float tx, float ty); | 144 void translate(float tx, float ty); |
142 void transform(float m11, float m12, float m21, float m22, float dx, float d
y); | 145 void transform(float m11, float m12, float m21, float m22, float dx, float d
y); |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
316 HashMap<String, Font> m_fontsResolvedUsingCurrentStyle; | 319 HashMap<String, Font> m_fontsResolvedUsingCurrentStyle; |
317 bool m_pruneLocalFontCacheScheduled; | 320 bool m_pruneLocalFontCacheScheduled; |
318 ListHashSet<String> m_fontLRUList; | 321 ListHashSet<String> m_fontLRUList; |
319 }; | 322 }; |
320 | 323 |
321 DEFINE_TYPE_CASTS(CanvasRenderingContext2D, CanvasRenderingContext, context, con
text->is2d(), context.is2d()); | 324 DEFINE_TYPE_CASTS(CanvasRenderingContext2D, CanvasRenderingContext, context, con
text->is2d(), context.is2d()); |
322 | 325 |
323 } // namespace blink | 326 } // namespace blink |
324 | 327 |
325 #endif // CanvasRenderingContext2D_h | 328 #endif // CanvasRenderingContext2D_h |
OLD | NEW |