Graphics.DrawLine and .DrawPolygon doesn't work properly
I need to draw a cat shape. If I set "zoom" (
k
) to 2, cat is drawn properly (img. 1) but when I set the k
to 4, the cat is not fully shown (img.2)7 Replies
1 sec, I'll send a pastebin link
Pastebin
using System;using System.Collections.Generic;using System.Componen...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
isnt the canvas / image youre drawing on too small?
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
you zoom in the square, not the square itself
it seems that the problem is in the Form1 ctor
because if I add
g = CreateGraphics()
in Form1_KeyDown, all works fineyeah idk what that method does