Hi,
Could you tell me the meaning of area.wanted and area.granted? And should I automatically round x coordinate to even or just return an error when it's odd?

Regards
James Su

Denis Oliver Kropp wrote:

Quoting James Su ([EMAIL PROTECTED]):

Then, must I remeber whether the sub surface begins at odd pixel? Or is there some way to get this information from current data structure?

data->area.current.(x/y) contains the offset the sub surface relative
to the beginning of the whole surface. I think restricting sub surfaces
to even x coordinates is ok. The problems related to DFB_BYTES_PER_PIXEL
should be eliminated using DFB_BYTES_PER_LINE with the x offset.






--
Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe directfb-dev" as subject.

Reply via email to