We create SVG base on database using C++. Polygon may be filled with patterns. There are over 40 predefined patterns. All the patterns only have one color but that color can be different from polygon to polygon (e.g. Polgon1 may have pattern1 in red but polygon2 may have the same pattern in green). Some of the patterns are complex. All are 8x8. A patterns may look like this:
1 0 1 0 1 0 1 0 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 0 1 0 1 0 0 0 1 1 0 1 0 1 0 1 0 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 0 0 0 1 0 1 0 1 Where 1s show where the color should show. I can create the pattern using one rectangle around each 1 or combine rectangles when possible, My question is if there is better was to do? Thanks. ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ---- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

