270
270
and device coordinates are stored for the window and the window
271
271
index is incremented. Thus, for a simple page layout with
272
272
non-overlapping viewports and one window per viewport,
280
280
the viewport index (in the order which the viewport/windows
281
281
were created) of the only viewport/window corresponding to
296
296
more complicated layouts with potentially overlapping viewports
297
297
and possibly more than one window (set of world coordinates) per
305
305
and the corresponding output world coordinates
306
306
corresponds to the last window created that fulfils the criterion
307
307
that the relative device coordinates are inside it. Finally, in
308
308
all cases where the input relative device coordinates are not
309
309
inside any viewport/window, then