OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "config.h" | 5 #include "config.h" |
6 | 6 |
7 #include "core/html/canvas/CanvasRenderingContext2DState.h" | 7 #include "core/html/canvas/CanvasRenderingContext2DState.h" |
8 | 8 |
9 #include "core/css/CSSFontSelector.h" | 9 #include "core/css/CSSFontSelector.h" |
10 #include "core/css/resolver/FilterOperationResolver.h" | 10 #include "core/css/resolver/FilterOperationResolver.h" |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 , m_shadowOffset(other.m_shadowOffset) | 73 , m_shadowOffset(other.m_shadowOffset) |
74 , m_shadowBlur(other.m_shadowBlur) | 74 , m_shadowBlur(other.m_shadowBlur) |
75 , m_shadowColor(other.m_shadowColor) | 75 , m_shadowColor(other.m_shadowColor) |
76 , m_emptyDrawLooper(other.m_emptyDrawLooper) | 76 , m_emptyDrawLooper(other.m_emptyDrawLooper) |
77 , m_shadowOnlyDrawLooper(other.m_shadowOnlyDrawLooper) | 77 , m_shadowOnlyDrawLooper(other.m_shadowOnlyDrawLooper) |
78 , m_shadowAndForegroundDrawLooper(other.m_shadowAndForegroundDrawLooper) | 78 , m_shadowAndForegroundDrawLooper(other.m_shadowAndForegroundDrawLooper) |
79 , m_shadowOnlyImageFilter(other.m_shadowOnlyImageFilter) | 79 , m_shadowOnlyImageFilter(other.m_shadowOnlyImageFilter) |
80 , m_shadowAndForegroundImageFilter(other.m_shadowAndForegroundImageFilter) | 80 , m_shadowAndForegroundImageFilter(other.m_shadowAndForegroundImageFilter) |
81 , m_globalAlpha(other.m_globalAlpha) | 81 , m_globalAlpha(other.m_globalAlpha) |
82 , m_transform(other.m_transform) | 82 , m_transform(other.m_transform) |
| 83 , m_lineDash(other.m_lineDash) |
83 , m_lineDashOffset(other.m_lineDashOffset) | 84 , m_lineDashOffset(other.m_lineDashOffset) |
84 , m_unparsedFont(other.m_unparsedFont) | 85 , m_unparsedFont(other.m_unparsedFont) |
85 , m_font(other.m_font) | 86 , m_font(other.m_font) |
86 , m_unparsedFilter(other.m_unparsedFilter) | 87 , m_unparsedFilter(other.m_unparsedFilter) |
87 , m_filterValue(other.m_filterValue) | 88 , m_filterValue(other.m_filterValue) |
88 , m_resolvedFilter(other.m_resolvedFilter) | 89 , m_resolvedFilter(other.m_resolvedFilter) |
89 , m_textAlign(other.m_textAlign) | 90 , m_textAlign(other.m_textAlign) |
90 , m_textBaseline(other.m_textBaseline) | 91 , m_textBaseline(other.m_textBaseline) |
91 , m_direction(other.m_direction) | 92 , m_direction(other.m_direction) |
92 , m_realizedFont(other.m_realizedFont) | 93 , m_realizedFont(other.m_realizedFont) |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 m_shadowOffset = other.m_shadowOffset; | 126 m_shadowOffset = other.m_shadowOffset; |
126 m_shadowBlur = other.m_shadowBlur; | 127 m_shadowBlur = other.m_shadowBlur; |
127 m_shadowColor = other.m_shadowColor; | 128 m_shadowColor = other.m_shadowColor; |
128 m_emptyDrawLooper = other.m_emptyDrawLooper; | 129 m_emptyDrawLooper = other.m_emptyDrawLooper; |
129 m_shadowOnlyDrawLooper = other.m_shadowOnlyDrawLooper; | 130 m_shadowOnlyDrawLooper = other.m_shadowOnlyDrawLooper; |
130 m_shadowAndForegroundDrawLooper = other.m_shadowAndForegroundDrawLooper; | 131 m_shadowAndForegroundDrawLooper = other.m_shadowAndForegroundDrawLooper; |
131 m_shadowOnlyImageFilter = other.m_shadowOnlyImageFilter; | 132 m_shadowOnlyImageFilter = other.m_shadowOnlyImageFilter; |
132 m_shadowAndForegroundImageFilter = other.m_shadowAndForegroundImageFilter; | 133 m_shadowAndForegroundImageFilter = other.m_shadowAndForegroundImageFilter; |
133 m_globalAlpha = other.m_globalAlpha; | 134 m_globalAlpha = other.m_globalAlpha; |
134 m_transform = other.m_transform; | 135 m_transform = other.m_transform; |
| 136 m_lineDash = other.m_lineDash; |
135 m_lineDashOffset = other.m_lineDashOffset; | 137 m_lineDashOffset = other.m_lineDashOffset; |
136 m_unparsedFont = other.m_unparsedFont; | 138 m_unparsedFont = other.m_unparsedFont; |
137 m_font = other.m_font; | 139 m_font = other.m_font; |
138 m_textAlign = other.m_textAlign; | 140 m_textAlign = other.m_textAlign; |
139 m_textBaseline = other.m_textBaseline; | 141 m_textBaseline = other.m_textBaseline; |
140 m_direction = other.m_direction; | 142 m_direction = other.m_direction; |
141 m_realizedFont = other.m_realizedFont; | 143 m_realizedFont = other.m_realizedFont; |
142 m_isTransformInvertible = other.m_isTransformInvertible; | 144 m_isTransformInvertible = other.m_isTransformInvertible; |
143 m_hasClip = other.m_hasClip; | 145 m_hasClip = other.m_hasClip; |
144 m_hasComplexClip = other.m_hasComplexClip; | 146 m_hasComplexClip = other.m_hasComplexClip; |
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
521 paint->setLooper(0); | 523 paint->setLooper(0); |
522 paint->setImageFilter(shadowAndForegroundImageFilter()); | 524 paint->setImageFilter(shadowAndForegroundImageFilter()); |
523 return paint; | 525 return paint; |
524 } | 526 } |
525 paint->setLooper(shadowAndForegroundDrawLooper()); | 527 paint->setLooper(shadowAndForegroundDrawLooper()); |
526 paint->setImageFilter(0); | 528 paint->setImageFilter(0); |
527 return paint; | 529 return paint; |
528 } | 530 } |
529 | 531 |
530 } // blink | 532 } // blink |
OLD | NEW |