Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
display.h
Go to the documentation of this file.
1// Copyright (c) 2011 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 BASE_WIN_DISPLAY_H_
6#define BASE_WIN_DISPLAY_H_
7
8#include <windows.h>
9
10#include <shellscalingapi.h>
11
12#include "base/base_export.h"
13
14namespace base {
15namespace win {
16
17float GetScaleFactorForHWND(HWND hwnd);
18float ScaleFactorToFloat(DEVICE_SCALE_FACTOR scale_factor);
19
20} // namespace win
21} // namespace base
22
23#endif // BASE_WIN_DISPLAY_H_
float GetScaleFactorForHWND(HWND hwnd)
Definition display.cc:74
float ScaleFactorToFloat(DEVICE_SCALE_FACTOR scale_factor)
Definition display.cc:83