From 8b1f4e9c15d3c3d5df070fd528f56a4fe9ac4609 Mon Sep 17 00:00:00 2001 From: "v.ignatkin" Date: Sun, 17 Nov 2024 23:08:37 +0400 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20dop?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dop | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 dop diff --git a/dop b/dop new file mode 100644 index 0000000..3c10235 --- /dev/null +++ b/dop @@ -0,0 +1,23 @@ + // основание домика + MoveToEx(hdc, 100, 300, NULL); + LineTo(hdc, 300, 300); + LineTo(hdc, 300, 200); + LineTo(hdc, 100, 200); + LineTo(hdc, 100, 300); + + //крыша домика + MoveToEx(hdc, 100, 200, NULL); + LineTo(hdc, 200, 100); + LineTo(hdc, 300, 200); + + // окно домика + MoveToEx(hdc, 150, 250, NULL); + LineTo(hdc, 200, 250); + LineTo(hdc, 200, 290); + LineTo(hdc, 150, 290); + LineTo(hdc, 150, 250); + + MoveToEx(hdc, 170, 250, NULL); + LineTo(hdc, 170, 290); + MoveToEx(hdc, 150, 270, NULL); + LineTo(hdc, 200, 270);