|
From: Ken R. <res...@sp...> - 2005-11-18 04:30:11
|
Maxim, Many thanks.
Great!
Text-only works together with shapes-with-opacity and to my eays
it looks good too.
Here is how:
In the proc that implements text:
1. replace typedef agg::pixfmt_bgr24_gamma<gamma_type> pixfmt_type;
by typedef agg::pixfmt_bgra32 pixfmt_type ;
2. replace pixfmt_type pf(rbuf, m_gamma_lut);
by pixfmt_type pf(rbuf);
Ken
----- Original Message -----
From: "Maxim Shemanarev" <mc...@an...>
To: <vec...@li...>
Sent: Thursday, November 17, 2005 10:23 PM
Subject: [AGG] Re: Beginner - how to draw text together with shapes with
opacity
> > What if we use text-only instead text-with-gamma?
> > Would that be easier to handle? How?
>
> Of course, you don't have to use gamma correction at all. Gamma about 2.0
> gives much better visual result according to the human vision perception.
>
> > It may not look as good, but would be a lot better than not
> > being able to mix text and shapes-with-opacity at all, or for
> > it to be too slow.
>
> Yes, the result is still quite appropriate.
>
> McSeem
>
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
> Register for a JBoss Training Course. Free Certification Exam
> for All Training Attendees Through End of 2005. For more info visit:
> http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
> _______________________________________________
> Vector-agg-general mailing list
> Vec...@li...
> https://lists.sourceforge.net/lists/listinfo/vector-agg-general
>
|