OLD | NEW |
1 #ifndef SkDeviceProperties_DEFINED | 1 #ifndef SkDeviceProperties_DEFINED |
2 #define SkDeviceProperties_DEFINED | 2 #define SkDeviceProperties_DEFINED |
3 | 3 |
4 //TODO: get everyone to stop using SkFontLCDConfig::SetSubpixel* and remove this
import. | 4 //TODO: get everyone to stop using SkFontLCDConfig::SetSubpixel* and remove this
import. |
5 #include "SkFontLCDConfig.h" | 5 #include "SkFontLCDConfig.h" |
6 | 6 |
7 struct SkDeviceProperties { | 7 struct SkDeviceProperties { |
8 struct Geometry { | 8 struct Geometry { |
9 /** The orientation of the pixel specifies the interpretation of the | 9 /** The orientation of the pixel specifies the interpretation of the |
10 * layout. If the orientation is horizontal, the layout is interpreted a
s | 10 * layout. If the orientation is horizontal, the layout is interpreted a
s |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 | 94 |
95 /** Each pixel of an image will have some number of channels. | 95 /** Each pixel of an image will have some number of channels. |
96 * Can the layout of those channels be exploited? */ | 96 * Can the layout of those channels be exploited? */ |
97 Geometry fGeometry; | 97 Geometry fGeometry; |
98 | 98 |
99 /** Represents the color space of the image. This is a woefully inadequate b
eginning. */ | 99 /** Represents the color space of the image. This is a woefully inadequate b
eginning. */ |
100 SkScalar fGamma; | 100 SkScalar fGamma; |
101 }; | 101 }; |
102 | 102 |
103 #endif | 103 #endif |
OLD | NEW |