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

Side by Side Diff: include/core/SkPaint.h

Issue 15553005: add kBicubicFilterBitmap_Flag to paint, just for testing purposes. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | tests/PaintTest.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 2
3 /* 3 /*
4 * Copyright 2006 The Android Open Source Project 4 * Copyright 2006 The Android Open Source Project
5 * 5 *
6 * Use of this source code is governed by a BSD-style license that can be 6 * Use of this source code is governed by a BSD-style license that can be
7 * found in the LICENSE file. 7 * found in the LICENSE file.
8 */ 8 */
9 9
10 10
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 kStrikeThruText_Flag = 0x10, //!< mask to enable strike-thru text 101 kStrikeThruText_Flag = 0x10, //!< mask to enable strike-thru text
102 kFakeBoldText_Flag = 0x20, //!< mask to enable fake-bold text 102 kFakeBoldText_Flag = 0x20, //!< mask to enable fake-bold text
103 kLinearText_Flag = 0x40, //!< mask to enable linear-text 103 kLinearText_Flag = 0x40, //!< mask to enable linear-text
104 kSubpixelText_Flag = 0x80, //!< mask to enable subpixel text positi oning 104 kSubpixelText_Flag = 0x80, //!< mask to enable subpixel text positi oning
105 kDevKernText_Flag = 0x100, //!< mask to enable device kerning text 105 kDevKernText_Flag = 0x100, //!< mask to enable device kerning text
106 kLCDRenderText_Flag = 0x200, //!< mask to enable subpixel glyph rende rering 106 kLCDRenderText_Flag = 0x200, //!< mask to enable subpixel glyph rende rering
107 kEmbeddedBitmapText_Flag = 0x400, //!< mask to enable embedded bitmap st rikes 107 kEmbeddedBitmapText_Flag = 0x400, //!< mask to enable embedded bitmap st rikes
108 kAutoHinting_Flag = 0x800, //!< mask to force Freetype's autohinter 108 kAutoHinting_Flag = 0x800, //!< mask to force Freetype's autohinter
109 kVerticalText_Flag = 0x1000, 109 kVerticalText_Flag = 0x1000,
110 kGenA8FromLCD_Flag = 0x2000, // hack for GDI -- do not use if you can help it 110 kGenA8FromLCD_Flag = 0x2000, // hack for GDI -- do not use if you can help it
111 kBicubicFilterBitmap_Flag = 0x4000, // temporary flag
111 112
112 // when adding extra flags, note that the fFlags member is specified 113 // when adding extra flags, note that the fFlags member is specified
113 // with a bit-width and you'll have to expand it. 114 // with a bit-width and you'll have to expand it.
114 115
115 kAllFlags = 0x3FFF 116 kAllFlags = 0x7FFF
116 }; 117 };
117 118
118 /** Return the paint's flags. Use the Flag enum to test flag values. 119 /** Return the paint's flags. Use the Flag enum to test flag values.
119 @return the paint's flags (see enums ending in _Flag for bit masks) 120 @return the paint's flags (see enums ending in _Flag for bit masks)
120 */ 121 */
121 uint32_t getFlags() const { return fFlags; } 122 uint32_t getFlags() const { return fFlags; }
122 123
123 /** Set the paint's flags. Use the Flag enum to specific flag values. 124 /** Set the paint's flags. Use the Flag enum to specific flag values.
124 @param flags The new flag bits for the paint (see Flags enum) 125 @param flags The new flag bits for the paint (see Flags enum)
125 */ 126 */
(...skipping 874 matching lines...) Expand 10 before | Expand all | Expand 10 after
1000 #ifdef SK_BUILD_FOR_ANDROID 1001 #ifdef SK_BUILD_FOR_ANDROID
1001 SkPaintOptionsAndroid fPaintOptionsAndroid; 1002 SkPaintOptionsAndroid fPaintOptionsAndroid;
1002 1003
1003 // In order for the == operator to work properly this must be the last field 1004 // In order for the == operator to work properly this must be the last field
1004 // in the struct so that we can do a memcmp to this field's offset. 1005 // in the struct so that we can do a memcmp to this field's offset.
1005 uint32_t fGenerationID; 1006 uint32_t fGenerationID;
1006 #endif 1007 #endif
1007 }; 1008 };
1008 1009
1009 #endif 1010 #endif
OLDNEW
« no previous file with comments | « no previous file | tests/PaintTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698