[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index] 
Re: [XaraXtreme-dev] Cairo Port
- From: Jonas Diemer <diemer@xxxxxx>
 
- Date: Tue, 08 May 2007 22:01:22 +0200
 
- Subject: Re: [XaraXtreme-dev] Cairo Port
 
Alex Bligh schrieb:
GDraw_GetChangedBBox
From memory: gets the changed box (i.e. the area which has been 
changed by drawing primatives)
Ok.
GDraw_SetDIBitmap
From memory: provides GDraw with a pointer to the bitmap into which 
it is meant to be painting (the bitmap is allocated by LX).
I see. It seems like this function is called whenever something needs to 
be redrawn.
Bitmap size is supplied. But how does GDraw figure out how this bitmap 
is related to the coordinates given by the drawing commands (e.g. 
GDraw_FillRectangle)? E.g. is there an "offset" and a "scale"?
Jonas