Exemplo n.º 1
0
// IM-2014-01-27: [[ HiDPI ]] Return whether the application is DPI-aware
bool MCResPlatformSupportsPixelScaling(void)
{
	bool t_aware;
	if (MCWin32IsProcessDPIAware(t_aware))
		return t_aware;

	return false;
}
Exemplo n.º 2
0
// IM-2014-01-27: [[ HiDPI ]] Return whether the application is DPI-aware
bool MCResPlatformSupportsPixelScaling(void)
{
	BOOL t_aware;
	if (!MCWin32IsProcessDPIAware(t_aware) || !t_aware)
		return false;

	// IM-2014-08-08: [[ Bug 12372 ]] Support for pixel scaling depends on
	// whether or not it is enabled for the current environment.
	return MCModeGetPixelScalingEnabled();
}