public Win32Platform(ResourceManager resources, CultureInfo culture, int screenWidth, int screenHeight, IWin32PlatformHost host) { _resources = resources; _culture = culture; _host = host; ScreenWidth = screenWidth; ScreenHeight = screenHeight; CenterX = (ScreenWidth - 1) / 2; CenterY = (ScreenHeight - 1) / 2; _screen = new Win32ScreenBitmap(ScreenWidth, ScreenHeight, host); }
public Win32ScreenBitmap(int width, int height, IWin32PlatformHost host) : base(width, height) { _host = host; }