Implement MoveFileLocal (with creating a snapshot).
[chromium-blink-merge.git] / ui / gfx / win / direct_write.h
blobf16e45c31410c09891f9f7b6e5359f9a8863c7b2
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef UI_GFX_WIN_DIRECT_WRITE_H_
6 #define UI_GFX_WIN_DIRECT_WRITE_H_
8 #include "ui/gfx/gfx_export.h"
10 namespace gfx {
11 namespace win {
13 // Returns whether DirectWrite font rendering should be used.
14 GFX_EXPORT bool ShouldUseDirectWrite();
16 GFX_EXPORT void MaybeInitializeDirectWrite();
18 // Returns true if we are using DirectWrite for font metrics and rendering.
19 GFX_EXPORT bool IsDirectWriteEnabled();
21 } // namespace win
22 } // namespace gfx
24 #endif // UI_GFX_WIN_DIRECT_WRITE_H_