Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(37)

Side by Side Diff: third_party/WebKit/Source/platform/graphics/GraphicsContextState.h

Issue 2398453002: Rewrap comments to 80 columns in Source/platform/graphics/. (Closed)
Patch Set: Review feedback Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (C) 2013 Google Inc. All rights reserved. 1 // Copyright (C) 2013 Google Inc. All rights reserved.
2 // 2 //
3 // Redistribution and use in source and binary forms, with or without 3 // Redistribution and use in source and binary forms, with or without
4 // modification, are permitted provided that the following conditions are 4 // modification, are permitted provided that the following conditions are
5 // met: 5 // met:
6 // 6 //
7 // * Redistributions of source code must retain the above copyright 7 // * 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 // * Redistributions in binary form must reproduce the above 9 // * Redistributions in binary form must reproduce the above
10 // copyright notice, this list of conditions and the following disclaimer 10 // copyright notice, this list of conditions and the following disclaimer
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 void setInterpolationQuality(InterpolationQuality); 110 void setInterpolationQuality(InterpolationQuality);
111 111
112 bool shouldAntialias() const { return m_shouldAntialias; } 112 bool shouldAntialias() const { return m_shouldAntialias; }
113 void setShouldAntialias(bool); 113 void setShouldAntialias(bool);
114 114
115 private: 115 private:
116 GraphicsContextState(); 116 GraphicsContextState();
117 explicit GraphicsContextState(const GraphicsContextState&); 117 explicit GraphicsContextState(const GraphicsContextState&);
118 GraphicsContextState& operator=(const GraphicsContextState&); 118 GraphicsContextState& operator=(const GraphicsContextState&);
119 119
120 // This is mutable to enable dash path effect updates when the paint is fetche d for use. 120 // This is mutable to enable dash path effect updates when the paint is
121 // fetched for use.
121 mutable SkPaint m_strokePaint; 122 mutable SkPaint m_strokePaint;
122 SkPaint m_fillPaint; 123 SkPaint m_fillPaint;
123 124
124 StrokeData m_strokeData; 125 StrokeData m_strokeData;
125 126
126 TextDrawingModeFlags m_textDrawingMode; 127 TextDrawingModeFlags m_textDrawingMode;
127 128
128 InterpolationQuality m_interpolationQuality; 129 InterpolationQuality m_interpolationQuality;
129 130
130 uint16_t m_saveCount; 131 uint16_t m_saveCount;
131 132
132 bool m_shouldAntialias : 1; 133 bool m_shouldAntialias : 1;
133 }; 134 };
134 135
135 } // namespace blink 136 } // namespace blink
136 137
137 #endif // GraphicsContextState_h 138 #endif // GraphicsContextState_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698