Re: MeshGradient question
Andrea Canciani <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <CAN_5=BDbFGuqzsx7uQto3NABLSXOeUGaURxw93_BC_r1JyoYUQ@mail.gmail.com> |
On Sat, Apr 21, 2012 at 9:44 AM, Travis Griggs <[email protected]>wrote: > I'm playing with the mesh gradient stuff in 1.12.0. I'm drawing something > like a spider plot, using mesh triangles between each arm. It's pretty cool > that I can do this. One thing that puzzles me, is that the edges of the > patches don't appear to be anti-aliased. Is that to be expected? I'm > drawing to an ImageSurface, and then drawing to the screen. A screen shot > of what one looks like is attached. If one zooms in on it, one can see the > hard jagged lines at the transitions to black. Is this to be expected? > Yes, that is expected. Gradients (linear, radial, mesh) are not supersampled or antialiased in any way, hence they can show jagged transitions in high-contrast areas. You might want to render at a higher resolution and/or downscale the image to hide this issue. Andrea > > -- > Travis Griggs > Objologist > Light travels faster than sound. This is why some people appear bright > until you hear them speak... > > > > -- > cairo mailing list > [email protected] > http://lists.cairographics.org/mailman/listinfo/cairo > -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo