Viewport: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
===DESCRIPTION=== | ===DESCRIPTION=== | ||
'''viewport''' changes the size of the viewing port (and thus the size of all png files subsequently output) | '''viewport''' changes the size of the viewing port--the visible openGL window (and thus the size of all png files subsequently output). | ||
===USAGE=== | ===USAGE=== |
Revision as of 08:16, 19 January 2009
DESCRIPTION
viewport changes the size of the viewing port--the visible openGL window (and thus the size of all png files subsequently output).
USAGE
viewport width, height
PYMOL API
cmd.viewport(int width, int height)