build method

void build(
  1. int hwnd,
  2. int hdc
)

Window build procedure.

Implementation

void build(int hwnd, int hdc) {
  SetMapMode(hdc, HDC_MAP_MODE.MM_ISOTROPIC);
  SetViewportExtEx(hdc, 1, 1, nullptr);
  SetWindowExtEx(hdc, 1, 1, nullptr);
}