[Pixman] Is circle rendering possible?
ppaalanen at gmail.com
Wed Feb 6 07:24:33 UTC 2019
On Wed, 6 Feb 2019 15:00:58 +1030
Indi Kernick <kerndog73 at 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 a circle myself isn't that complicated but I'd rather use someone
> else's code that does it properly and fast.
sounds like Cairo (with the image backend) might fit better for you. It
uses Pixman under the hood.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 833 bytes
Desc: OpenPGP digital signature
More information about the Pixman