blob: 2b850753f98435607f36be79ab395ec1729497ec [file] [log] [blame]
[email protected]71c6ea92012-09-17 19:33:131// 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
3// found in the LICENSE file.
4
5#ifndef UI_GFX_PATH_WIN_H_
6#define UI_GFX_PATH_WIN_H_
7
8#include <windows.h>
9
[email protected]d34e4072013-09-05 20:28:3010#include "ui/gfx/gfx_export.h"
[email protected]71c6ea92012-09-17 19:33:1311
12class SkPath;
[email protected]21ed140d2013-11-08 06:08:3513class SkRegion;
[email protected]71c6ea92012-09-17 19:33:1314
15namespace gfx {
16
[email protected]21ed140d2013-11-08 06:08:3517// Creates a new HRGN given |region|. The caller is responsible for destroying
18// the returned region.
19GFX_EXPORT HRGN CreateHRGNFromSkRegion(const SkRegion& path);
20
[email protected]71c6ea92012-09-17 19:33:1321// Creates a new HRGN given |path|. The caller is responsible for destroying
alex-ac2cb37ad82014-11-13 18:03:2922// the returned region. Returns empty region (not NULL) for empty path.
[email protected]4ffa7892013-09-27 16:56:0623GFX_EXPORT HRGN CreateHRGNFromSkPath(const SkPath& path);
[email protected]71c6ea92012-09-17 19:33:1324
25} // namespace gfx
26
27#endif // UI_GFX_PATH_WIN_H_