PDA

View Full Version : Circles



chrisbees1
February 1st, 2005, 01:54 PM
Hi, I think this will be one of the easiest questions ever asked but here it goes...

im trying to draw a quarter circle 20 x 20 Pixels for a website as a corner. When it comes to drawing straight lines its fine, because there's no curve they dont pixelate but i cant work out how to do a smooth and crisp corner.

The colours i am using is a grey (#999999) for ouside the line, Black as the line and red (#C60000) for inside the line.

Anybody got any tips that can help me?

Thanks, Chris

Stratification
February 1st, 2005, 02:04 PM
I guess the first question would be what program are you using? The method is going to vary according to that.

chrisbees1
February 1st, 2005, 02:06 PM
well i have flash mx, adobe photoshop 7, plus others.

mlk
February 1st, 2005, 02:07 PM
a) draw it pixel by pixel

b) remove the anti-aliasing when creating your circle shape,

gifs don't support transparency, only alpha (maybe vice-versa, ie it's transparent or it's not) so don't expect a perfect corner.. But I find it does the job nice.
If your background is not too patterned you can choose to turn the anti aliasing on and choose a background color close to your background (ie the color the corner blends into), this way it will be smooth and still look good...

anyway, I feel i'm more confusing you thant helping you, so send a screenshot and i'll make myself clear with pictures =)

cheers

mlk