I'll admit, that I don't do a lot of GDI+ programming and I'm sure this is
an easy answer. I'm trying to draw a couple of shapes in a web site. I can
display them just fine, but on some of the fill colors are pixelated. Is
there a way to render these colors at a better color depth?
Dim bmp As Bitmap
bmp = New Bitmap(200, 200)
Dim g As Graphics
g = Graphics.FromIm age(bmp)
g.Clear(Color.W hite)
g.SmoothingMode = SmoothingMode.A ntiAlias
Dim brsh As SolidBrush
brsh = New SolidBrush(Colo r.DarkGoldenrod )
g.FillPie(brsh, 10, 10, 50, 50, 0, 360)
Thanks
an easy answer. I'm trying to draw a couple of shapes in a web site. I can
display them just fine, but on some of the fill colors are pixelated. Is
there a way to render these colors at a better color depth?
Dim bmp As Bitmap
bmp = New Bitmap(200, 200)
Dim g As Graphics
g = Graphics.FromIm age(bmp)
g.Clear(Color.W hite)
g.SmoothingMode = SmoothingMode.A ntiAlias
Dim brsh As SolidBrush
brsh = New SolidBrush(Colo r.DarkGoldenrod )
g.FillPie(brsh, 10, 10, 50, 50, 0, 360)
Thanks
Comment