U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » Archive » AGG and Upp Draw integration...
Re: AGG and Upp Draw integration... [message #3708 is a reply to message #3702] Wed, 14 June 2006 20:52 Go to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
fudadmin wrote on Tue, 13 June 2006 15:07

luzr wrote on Mon, 12 June 2006 06:47

I believe that AGG (and other SW renderers) should be supported via DrawData interface.

...

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



After that topic: http://www.arilect.com/upp/forum/index.php?t=msg&&th =1098&goto=3689#msg_3689
I agree... Smile

Do I understandand correctly that the line in DrawDataOp:

	Image m = dd->Render(ccy);  //render some lines (rectangle of image)


implies on having not the whole aggImg but only some piece of it generated (or lines rendered) "on demand"?


Yes, it creates the "band" of the target width, but ccy height. DataDrawer should return consequentive (it that the right word? Smile bands, starting with y = 0.

BTW, term "band" is adapted from Windows printing terminology and I believe that the very original meaning comes from those old matrix printers - when printing graphics, you need to send similars strips to the printer, covering the height of ink band.

Mirek

[Updated on: Wed, 14 June 2006 20:55]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Drag & Drop Example?
Next Topic: How to try classes inside TCtrlLib?
Goto Forum:
  


Current Time: Thu Jul 16 09:51:09 GMT+2 2026

Total time taken to generate the page: 0.00761 seconds