Spawnova / ShinsOverlayClass

A direct2d overlay for AutoHotkey
MIT License
68 stars 12 forks source link

DrawRectangle doesnt draw properly #7

Closed KRN-8 closed 10 months ago

KRN-8 commented 1 year ago

when using DrawRectangle with default thickness 1, the TopLeft pixel doesnt get drawn with thickness 5, TR and BL are missing 1 pixel, TL is missing 3 (rounded too) and BottomRight is sharp corner

as a matter of fact, most thicknesses are by 1 pixel in radius:

also negative Width or and Height doesnt affect these directions ;-)

Spawnova commented 1 year ago

negative values are not supported for these functions

I see the problem with the missing pixel though, I will have a fix for it soon

KRN-8 commented 1 year ago

negative values work just fine thou XD

yes one is missing opposite has one too many ;-)

Spawnova commented 1 year ago

Ah I see, my class does not support negative values but the direct2d function must handle it internally, the pixel issue will be fixed soon

KRN-8 commented 1 year ago

not in a hurry, i just let u know ;-)

(also there is another issue but i need to figure out how to reproduce it before posting soo u dont get soo much work on your plate)

also maybe check out the other basic shapes for wierdness, maybe u notice sth i didnt test yet :-)