From: Robin B. <ro...@re...> - 2017-01-17 11:32:16
|
Hi, hope this is the right place to post concerning paths. I am thinking of using agg to replace libart_lgpl in reportlab's pix map renderer. Libart has even less documentation than agg, but I sort of understand what's going on. I think I can base my renderer on agg, but would like some assistance with various harder issues which don't seem to be addressed in aggdraw etc. 1) I need to draw stroked and filled paths. My particular problem with libart is that it's hard to control the filling. Can agg do the equivalent of even-odd and non-zero filling rules? I noticed these in agg_basics.h enum path_flags_e { path_flags_none = 0, //----path_flags_none path_flags_ccw = 0x10, //----path_flags_ccw path_flags_cw = 0x20, //----path_flags_cw path_flags_close = 0x40, //----path_flags_close path_flags_mask = 0xF0 //----path_flags_mask }; and I see that there are functions related to orientation changing. I assume it must be possible to do fills like svg so what do these flags mean? 2) Can agg compose images say from pix buffers? -- Robin Becker |