How to draw those smooth circles in Photoshop?
Hi!
Im working on a paint program with layers like in photoshop, and im having some problems drawing the really smooth circles that photoshop do.
i've made a function for anti-aliasing if that's nessesary...
when selecting a quite big size on the airbrush in photoshop you get a nice gradient circle...when i made a function like this, it doesnt fill all the pixels it should and it fills some of them twice.
can you please help me with the code....
here's some of the code i use:
VB Code:
For Radius = 0 to TempRadius
For Angle = 0 to Pi2 Step 1 / Radius
X = Cos(Angle) * Radius
Y = Sin(Angle) * Radius
Next
Next
this will not draw gradient thou...but it draws a filled circle...
please help me fix this code.