Re: Windowing with Performer

New Message Reply Date view Thread view Subject view Author view

Allan Schaffer (allan++at++southpark.engr.sgi.com)
Wed, 4 Nov 1998 12:15:39 -0800 (PST)


On Nov 4, 1:10pm, Steve Woolsey wrote:
> _________________________________
> | | |
> | | 640x480 |
> | | Left |
> | | |
> | 1280x1024 |-----------|
> | | 640x480 |
> | | Right |
> | | |
> | |-----------|
> ---------------------X
>
> Shared->pw->setMode(PFWIN_NOBORDER, 1);
> Shared->pw->setOriginSize(1280, 0, 640, 960);
>
> The problem I have is when the window opens the origin is shifted down
> about 100 pixels from the top of the Left channel. What do I need to do
> to get this to write to the proper location?

Remember: (0,0) is the bottom left corner, not the top left corner.
The location (1280,0) is where I put the X, above.

Allan

-- 
Allan Schaffer                                                allan++at++sgi.com
Silicon Graphics                               http://reality.sgi.com/allan

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Wed Nov 04 1998 - 12:15:42 PST

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.