OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef UI_GFX_FONT_RENDER_PARAMS_LINUX_H_ | 5 #ifndef UI_GFX_FONT_RENDER_PARAMS_LINUX_H_ |
6 #define UI_GFX_FONT_RENDER_PARAMS_LINUX_H_ | 6 #define UI_GFX_FONT_RENDER_PARAMS_LINUX_H_ |
7 | 7 |
8 #include "ui/base/ui_export.h" | 8 #include "ui/gfx/gfx_export.h" |
9 | 9 |
10 namespace gfx { | 10 namespace gfx { |
11 | 11 |
12 // A collection of parameters describing how text should be rendered on Linux. | 12 // A collection of parameters describing how text should be rendered on Linux. |
13 struct UI_EXPORT FontRenderParams { | 13 struct UI_EXPORT FontRenderParams { |
14 // No constructor to avoid static initialization. | 14 // No constructor to avoid static initialization. |
15 | 15 |
16 // Level of hinting to be applied. | 16 // Level of hinting to be applied. |
17 enum Hinting { | 17 enum Hinting { |
18 HINTING_NONE = 0, | 18 HINTING_NONE = 0, |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 | 61 |
62 // Returns the system's default parameters for WebKit subpixel positioning. | 62 // Returns the system's default parameters for WebKit subpixel positioning. |
63 // Subpixel positioning is special since neither GTK nor FontConfig currently | 63 // Subpixel positioning is special since neither GTK nor FontConfig currently |
64 // track it as a preference. | 64 // track it as a preference. |
65 // See https://bugs.freedesktop.org/show_bug.cgi?id=50736 | 65 // See https://bugs.freedesktop.org/show_bug.cgi?id=50736 |
66 UI_EXPORT bool GetDefaultWebkitSubpixelPositioning(); | 66 UI_EXPORT bool GetDefaultWebkitSubpixelPositioning(); |
67 | 67 |
68 } // namespace gfx | 68 } // namespace gfx |
69 | 69 |
70 #endif // UI_GFX_FONT_RENDER_PARAMS_LINUX_H_ | 70 #endif // UI_GFX_FONT_RENDER_PARAMS_LINUX_H_ |
OLD | NEW |