[Dps-devel] Re: DPS and window gravity
Status: Inactive
Brought to you by:
jch
From: Juliusz C. <Jul...@en...> - 2000-01-17 19:27:37
|
> 5. When a window is resised, the device space origin is not adjusted > to be at a constant position with respect to the window gravity; > instead, it remains at a constant position with respect to the > north-west corner. MY> ...I think it is worth to check dgs's gs/zmatrix.c and do grep '#ifdef MY> DISPLAYGHOSTSCIRPT'. I am not quite sure that I understand this code. In particular, the window offset doesn't seem to change at the time at which the window is resized, but only at the next CTM change. What is more, only the toplevel gstate is considered (nothing happens to the gstates that are lower on the gstate stack). Am I missing something? I don't know how to solve this problem, but at any rate I think that there are more urgent problems to solve. Getting scheduling and rendering to work correctly is of the highest priority. As to this problem, the only solution I can see right now is allocating a devPrivate on every window that holds the list of DPS devices associated with it, and wrapping the window resizing functions. When we get around to implementing this, we'll have to ask Keith Packard if he sees a better solution. Sincerely, Juliusz Chroboczek |