Im working on a tru2way application and a nagging question keeps popping up with stack vendors on the usage of the AWTVideoSizeControl interface. I was hoping you could provide a definitive answer (note that Bill Foote is the author of the interface spec).
In short my reading of the javadocs for AWTVideoSizeControl is that all values passed to and received from it are to be expressed in the graphics plane coordinate system. Stack vendors dont always agree.
Periodically, I run into a stack vendor who expects AWTVideoSize (as passed to AWTVideoSizeControl.setSize) to be expressed in video plane coordinates Ive so far been able to convince these folks that the spec requires graphics coordinates. Ive just run into an interesting situation, though, where although the vendor agrees that AWTVideoSize should be in graphics coordinates, theyre feeling that the Dimension returned from AWTVideoSizeControl.getSourceVideoSize() should be based on the video plane coordinate system. Their thinking is that while x and y are coordinates (and therefore are called out as needing to be expressed relative to the graphics screen), height and width arent.
Perhaps Im wrong, but that seems incorrect. I would expect the Dimension height and width to be relative to the graphics screen as well.
Id appreciate it greatly if you could provide a ruling on this that I could take back to them (and others).