[cairo] (no subject)

Jost Boekemeier jost2345 at yahoo.de
Mon Sep 6 04:03:03 PDT 2004


------w1--------------------------
|            -------w2-----------
|           |       |expose-area
---------------------------------
0           10000   65537

> The backing pixmap is created 100x100 pixels 
> instead of 10,000x10,000 pixels for obvious 
> performance reasons. 

Yes.   But your expose-area is restricted by at
current viewport size, at least.  Why don't you simply
allocate a transient surface instead of a transient
pixmap and set that as the current target surface to
the cairo_t you pass to the user's expose cb?

To handle expose events your users must only implement
the expose() callback to re-draw the szene located at
(event.x=55537, event.y, event.width, event.height)
onto a cairo_surface located at (0, 0, event.width,
event.height).

Why is that a problem?


Jost


	

	
		
___________________________________________________________
Gesendet von Yahoo! Mail - Jetzt mit 100MB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de



More information about the cairo mailing list