On Wed, 6 Feb 2019 15:00:58 +1030 Indi Kernick <kerndo...@gmail.com> wrote:
> Is it possible to render a filled circle onto an image? How about rendering > the outline of a circle? Could I do this with or without antialiasing? How > about lines with or without antialiasing? > > I might be able to hack something together with radial gradients but I'm > hoping there's a better way. I'm not actually using pixman yet. I'm just > trying to determine whether this is the library I need. > > If pixman cannot do these things, could someone recommend a library that > does? I need something that can do compositing (with options to set the > compositing operation), transformations, masking, indexed (palette) images, > kernel convolution filters, gradients, basic line, circle and rectangle > rendering. > > Rendering a circle myself isn't that complicated but I'd rather use someone > else's code that does it properly and fast. Hi, sounds like Cairo (with the image backend) might fit better for you. It uses Pixman under the hood. https://cairographics.org/ Thanks, pq
pgpNdUUjriGsH.pgp
Description: OpenPGP digital signature
_______________________________________________ Pixman mailing list Pixman@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/pixman