Old 03-25-2014, 09:21 AM   #1
lossius
Human being with feelings
 
Join Date: Jul 2011
Location: Bergen, Norway
Posts: 85
Default JSFX bug with gfx_arc (FIXED)

Hi,

If I'm drawing an arc with a very small angle, I get some drawing residue that shouldn't be there. Here's a relatively simple plugin demoing the problem. Try reducing the spread angle parameter down towards 0 degrees.

https://gist.github.com/lossius/9765374

Thanks,
Trond
lossius is offline   Reply With Quote
Old 03-25-2014, 11:52 AM   #2
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 10,321
Default

Thanks, fixin'!
Justin is offline   Reply With Quote
Old 03-25-2014, 12:05 PM   #3
James HE
Human being with feelings
 
James HE's Avatar
 
Join Date: Mar 2007
Location: I'm in a barn
Posts: 4,254
Default

just to note... in some of my experimenting, the drawing is off near 0 and also 3.14 radians.
James HE is offline   Reply With Quote
Old 03-25-2014, 12:11 PM   #4
James HE
Human being with feelings
 
James HE's Avatar
 
Join Date: Mar 2007
Location: I'm in a barn
Posts: 4,254
Default

on a similar, but unrelated note, gfx roundrect can sometimes look a bit wierd if the alpha is less than 1. there ends up being doubled pixels where the arc corners meet the straight lines of the rectangle.
James HE is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 06:03 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2017, vBulletin Solutions Inc.