From 46b8dd20f3b2fd179b21f60dab9b4627e15c97a4 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:24:13 +0400 Subject: [PATCH] iopopop --- 7 зан/7 зан/7 зан.cpp | 38 +++++++++++++++++----------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/7 зан/7 зан/7 зан.cpp b/7 зан/7 зан/7 зан.cpp index ed41bce..48a4543 100644 --- a/7 зан/7 зан/7 зан.cpp +++ b/7 зан/7 зан/7 зан.cpp @@ -138,25 +138,25 @@ int num = 0; // } 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 +// 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 D2(HDC hdc) {