From a913dbbbf10123d42ba2108ea1a5fb5ca7d45f91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=98=D1=80=D0=B8=D0=BD=D0=B0=20=D0=AE=D1=80=D0=BB=D0=B8?= =?UTF-8?q?=D0=BD=D0=B0?= Date: Wed, 30 Oct 2024 14:23:52 +0400 Subject: [PATCH] rgghjj --- 7 зан/7 зан/7 зан.cpp | 40 +++++++++++++++++----------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/7 зан/7 зан/7 зан.cpp b/7 зан/7 зан/7 зан.cpp index 81dfa42..ed41bce 100644 --- a/7 зан/7 зан/7 зан.cpp +++ b/7 зан/7 зан/7 зан.cpp @@ -117,26 +117,26 @@ BOOL InitInstance(HINSTANCE hInstance, int nCmdShow) int num = 0; -void Kyct(HDC hdc) { - //куст 2 - HPEN hPenMushroom1 = CreatePen(PS_SOLID, 3, RGB(34, 177, 76)); - SelectObject(hdc, hPenMushroom1); - int z1 = 0, v1 = 250; - int z2 = 100, v2 = 250; - do { - MoveToEx(hdc, z1, v1, NULL); - LineTo(hdc, z2, v2); - z1 += 25; - v1 -= 50; - } while (z1 <= 100); z1 = 100; - v1 = 50; - do { - MoveToEx(hdc, z1, v1, NULL); - LineTo(hdc, z2, v2); - z1 += 25; - v1 += 50; - } while (z1 <= 200); -} +//void Kyct(HDC hdc) { +// //куст 2 +// HPEN hPenMushroom1 = CreatePen(PS_SOLID, 3, RGB(34, 177, 76)); +// SelectObject(hdc, hPenMushroom1); +// int z1 = 0, v1 = 250; +// int z2 = 100, v2 = 250; +// do { +// MoveToEx(hdc, z1, v1, NULL); +// LineTo(hdc, z2, v2); +// z1 += 25; +// v1 -= 50; +// } while (z1 <= 100); z1 = 100; +// v1 = 50; +// do { +// MoveToEx(hdc, z1, v1, NULL); +// LineTo(hdc, z2, v2); +// z1 += 25; +// v1 += 50; +// } while (z1 <= 200); +//} void Kyct(HDC hdc) { //куст 2