Esempio n. 1
0
 /// <summary>
 /// Creates a rendering parameters object with default settings for the specified monitor. In most cases, this is the preferred way to create a rendering parameters object.
 /// </summary>
 /// <param name="factory">A reference to a DirectWrite factory <see cref="Factory"/></param>
 /// <param name="monitorHandle">A handle for the specified monitor. </param>
 /// <unmanaged>HRESULT IDWriteFactory::CreateMonitorRenderingParams([None] void* monitor,[Out] IDWriteRenderingParams** renderingParams)</unmanaged>
 public RenderingParams(Factory factory, IntPtr monitorHandle)
 {
     factory.CreateMonitorRenderingParams(monitorHandle, this);
 }