Home » U++ Library support » Archive » AGG and Upp Draw integration...
Re: AGG and Upp Draw integration... [message #3661 is a reply to message #3660] |
Mon, 12 June 2006 07:47   |
 |
mirek
Messages: 14255 Registered: November 2005
|
Ultimate Member |
|
|
I believe that AGG (and other SW renderers) should be supported via DrawData interface.
Something like:
....Draw& w;....
AGGDraw agg(w, x, y, cx, cy);
agg.DrawLine(...
...
There are two alternatives (to investigate):
- AGGDraw simply stores all drawing operations to String and its destructor performs DrawData (which paints the content using registred AGG routine)
- slightly more efficient approach would detect whether target is Drawing and performed storing just in that case; otherwise it would create Image and draw content
I would start with the first one. I believe that costs to record drawing first and replay later are negligible compared to actual drawing operations.
BTW, note that DrawData performs "RLE encoding" of resulting bitmap drawing which I believe should greatly reduce printer bandwidth in most common cases.
Mirek
P.S.: Please consider this as preliminary and do not be angry if I change mind completely. This is too important to accept very first version, we need some experimenting before final decision...
[Updated on: Mon, 12 June 2006 09:18] Report message to a moderator
|
|
|
 |
|
AGG and Upp Draw integration...
By: fudadmin on Thu, 13 April 2006 07:17
|
 |
|
Re: AGG and Upp Draw integration...
By: mirek on Thu, 13 April 2006 14:19
|
 |
|
Re: AGG and Upp Draw integration...
By: mirek on Thu, 13 April 2006 14:21
|
 |
|
Re: AGG and Upp Draw integration...
By: mirek on Mon, 15 May 2006 22:33
|
 |
|
Re: AGG and Upp Draw integration...
|
 |
|
Re: AGG and Upp Draw integration...
By: mirek on Wed, 07 June 2006 13:17
|
 |
|
Re: AGG and Upp Draw integration...
|
 |
|
Re: AGG and Upp Draw integration...
By: forlano on Wed, 07 June 2006 19:28
|
 |
|
Re: AGG and Upp Draw integration...
|
 |
|
Re: AGG and Upp Draw integration...
By: forlano on Sun, 18 June 2006 14:03
|
 |
|
Re: AGG and Upp Draw integration...
By: mirek on Mon, 16 October 2006 17:54
|
 |
|
Re: AGG and Upp Draw integration...
By: Novo on Thu, 04 January 2007 05:33
|
 |
|
Re: AGG and Upp Draw integration...
By: mirek on Thu, 04 January 2007 15:24
|
 |
|
Re: AGG and Upp Draw integration...
By: Novo on Thu, 04 January 2007 16:28
|
 |
|
Re: AGG and Upp Draw integration...
|
 |
|
Re: AGG and Upp Draw integration...
By: mirek on Sun, 11 June 2006 21:26
|
 |
|
Re: AGG and Upp Draw integration...
|
 |
|
Re: AGG and Upp Draw integration...
By: mirek on Mon, 12 June 2006 02:01
|
 |
|
Re: AGG and Upp Draw integration...
|
 |
|
Re: AGG and Upp Draw integration...
|
 |
|
Re: AGG and Upp Draw integration...
|
 |
|
Re: AGG and Upp Draw integration...
By: mirek on Mon, 12 June 2006 07:47
|
 |
|
Re: AGG and Upp Draw integration...
|
 |
|
Re: AGG and Upp Draw integration...
By: mirek on Wed, 14 June 2006 20:52
|
Goto Forum:
Current Time: Tue Apr 29 00:26:42 CEST 2025
Total time taken to generate the page: 0.00696 seconds
|