예제 #1
0
 private D2D1_HWND_RENDER_TARGET_PROPERTIES(HWND hwnd, D2D1_SIZE_U pixelSize, D2D1_PRESENT_OPTIONS presentOptions)
 {
     this.hwnd           = hwnd;
     this.pixelSize      = pixelSize;
     this.presentOptions = presentOptions;
 }
예제 #2
0
 public static D2D1_HWND_RENDER_TARGET_PROPERTIES Create(HWND hwnd, Size pixelSize)
 {
     return(new D2D1_HWND_RENDER_TARGET_PROPERTIES(hwnd, D2D1_SIZE_U.FromSize(pixelSize), D2D1_PRESENT_OPTIONS.D2D1_PRESENT_OPTIONS_NONE));
 }