Home » Developing U++ » U++ Developers corner » AGG
AGG [message #9941] |
Sun, 10 June 2007 11:24  |
 |
mirek
Messages: 14261 Registered: November 2005
|
Ultimate Member |
|
|
Quote: |
For me i hope it will be possible to integrate it into Draw instead of GDI.
In the code i don't want to know that for drawing lines is responsible agg or GDI, it schould be transparent.
But in AGG mode the interface should have a bit more options for drawing lines of different widths with any pen etc .
|
Well, this issue was already resolved and while there could be Draw variant, I strongly believe that AGG should be kept as separate engine. The main reason is that it has much more rich capabilities than Draw, OTOH we want to keep Draw interface minimal (so that it can be easily implemented anywhere). I think in your message, you see that too 
What we need is the seamless integration. The real problem there (not that apparent at the first look) is, in nutshell, printing.
That means you should be capable to store AGG painting into Drawing and then put it to the printer, in high resolution (600dpi is U++ standard).
That more or less rules out storing it as raster. There is quite reasonable interface ready in Draw capable of solving this issue - DrawData. In current Draw, it is capable of drawing rescaled images directly from compressed image formats, which was e.g. needed in one of my application, where 300dpi scanned image of full A4 page is printed behind some text produced by application (form-filler style of app). DrawData even tries to "compress" the raster data while sending them to the printer by replacing large uni-color areas with DrawRect and it also performs banding to reduce the memory requirements.
See Draw/DrawData and Draw/DrawRasterData.
|
|
|
 |
|
AGG
By: mirek on Sun, 10 June 2007 11:24
|
 |
|
Re: AGG
By: mirek on Sun, 10 June 2007 12:29
|
 |
|
Re: AGG
By: Novo on Mon, 11 June 2007 04:30
|
 |
|
Re: AGG
By: mirek on Mon, 11 June 2007 10:00
|
 |
|
Re: AGG
By: Novo on Mon, 11 June 2007 15:54
|
 |
|
Re: AGG
By: mirek on Mon, 11 June 2007 17:28
|
 |
 |
Re: AGG
|
 |
|
Re: AGG
|
 |
|
Re: AGG
|
 |
|
Re: AGG
|
 |
|
Re: AGG
|
 |
|
Re: AGG
|
 |
|
Re: AGG
|
 |
|
Re: AGG
|
 |
|
Re: AGG
By: mirek on Sun, 24 June 2007 11:02
|
 |
|
Re: AGG
|
 |
|
Re: AGG
By: mirek on Sun, 24 June 2007 13:59
|
 |
|
Re: AGG
|
 |
|
Re: AGG
|
 |
|
Re: AGG
|
 |
|
Re: AGG
By: mirek on Tue, 10 July 2007 20:40
|
 |
|
Re: AGG
|
 |
|
Re: AGG
By: mirek on Mon, 16 July 2007 23:40
|
Goto Forum:
Current Time: Fri Jun 20 15:54:09 CEST 2025
Total time taken to generate the page: 0.04688 seconds
|