[cairo] cairo appear white edge antialiasing

丹青(Hishop) hishop at gmail.com
Mon Jun 17 04:27:52 PDT 2013


> How do you know which parts are adjective?

In the SWF format, each line segment contains Fill0 and Fill1 information,
Fill0 graphic on the left is the fill color of the line, but the line is
right Fill1 fill color.
So I can find the adjacent graph fill color.

Also I sent an email to cairo at cairographics.org, reported cairo linear
gradient possible BUG, if you receive, and also look at the help. Thank you!


2013/6/17 Arjen Nienhuis <a.g.nienhuis at gmail.com>

>
> On Jun 17, 2013 5:17 AM, "丹青(Hishop)" <hishop at gmail.com> wrote:
> >
> > This message is also used Google Translate: D
> >
> > Thank you for your reply, I use the second approach in your mail, and
> successfully realized.
>
> Good to hear. Please CC the list.
>
> > I first get the adjacent graph fill color, and according to this color
> do 1px strokes, and then the color fill.
> > This way, when anti-aliasing will be implemented according to the color
> of the stroke. Thus solving the white side of the issue.
>
> How do you know which parts are adjective?
> >
> > Specifically from the message with the picture to see.
>
> It looks very good!
> >
> >
> > 2013/6/16 Arjen Nienhuis <a.g.nienhuis at gmail.com>
> >>
> >>
> >> On Jun 16, 2013 6:41 AM, "丹青(Hishop)" <hishop at gmail.com> wrote:
> >> >
> >> > Hello, my English is not good, so I used the GOOGLE Translator. This
> may cause problems very sorry!
> >> >
> >> > I used to do a cairo 1.12 Convert SWF to bitmap software, but there
> will be a white sideline production. I specifically included in the mail
> Photo Gallery.
> >>
> >> That is because the shapes don't overlap. Cairo doesn't support that
> but SWF does.
> >>
> >> You have two options:
> >>
> >> 1. Render the SWF at a much higher resolution and scale down using a
> different library.
> >>
> >> 2. Add a 1px stroke to all shapes.
> >>
> >> > Hope to get your help, thank you!
> >> >
> >> > --
> >> > cairo mailing list
> >> > cairo at cairographics.org
> >> > http://lists.cairographics.org/mailman/listinfo/cairo
> >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo/attachments/20130617/fade1810/attachment.html>


More information about the cairo mailing list