This is a read-only mirror of pymolwiki.org
Difference between revisions of "Viewport"
Jump to navigation
Jump to search
m |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
===DESCRIPTION=== | ===DESCRIPTION=== | ||
− | + | '''viewport''' changes the size of the viewing port--the visible openGL window (and thus the size of all png files subsequently output). | |
− | |||
− | |||
===USAGE=== | ===USAGE=== | ||
− | + | viewport width, height | |
− | + | ||
− | |||
===PYMOL API=== | ===PYMOL API=== | ||
− | + | <source lang="python"> | |
− | + | cmd.viewport(int width, int height) | |
− | + | </source> | |
− | [[Category:Commands| | + | [[Category:Commands|Viewport]] |
Revision as of 14:29, 20 June 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)