Hi Jim,
thanks for explanation, I missed it :)
- Petr
2009/5/12 Jim Barry <
jim@...>:
> Petr Kobalícek wrote:
>> I'm trying to write my own rasterizer and I have problem with
>> antigrain classes, this code:
>>
>> typedef agg::scanline_p8 AggScanlineP8;
>> AggScanlineP8 slP8;
>> slP8.reset_spans();
>>
>> will fail on segmentation fault (memory access exception) at position
>> 0x0000000 (NULL) + something.
>
> Yes, because m_covers and m_spans are initially empty, so the expressions &m_covers[0] and &m_spans[0] are invalid. You must call reset before using the scanline object. The protocol for scanline containers is described at the top of agg_scanline_u.h.
>
> - Jim
>
> ------------------------------------------------------------------------------
> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
> production scanning environment may not be a perfect world - but thanks to
> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
> Series Scanner you'll get full speed at 300 dpi even with all image
> processing features enabled.
http://p.sf.net/sfu/kodak-com> _______________________________________________
> Vector-agg-general mailing list
>
Vector-agg-general@...
>
https://lists.sourceforge.net/lists/listinfo/vector-agg-general>
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled.
http://p.sf.net/sfu/kodak-com_______________________________________________
Vector-agg-general mailing list
Vector-agg-general@...
https://lists.sourceforge.net/lists/listinfo/vector-agg-general