C
C#3y ago
PepeGak

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
PepeGak
PepeGakOP3y ago
1 sec, I'll send a pastebin link
PepeGak
PepeGakOP3y ago
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.
Jester
Jester3y ago
isnt the canvas / image youre drawing on too small?
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Jester
Jester3y ago
you zoom in the square, not the square itself
PepeGak
PepeGakOP3y ago
it seems that the problem is in the Form1 ctor because if I add g = CreateGraphics() in Form1_KeyDown, all works fine
Jester
Jester3y ago
yeah idk what that method does
Want results from more Discord servers?
Add your server