Viewport: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 10: Line 10:
</source>
</source>


[[Category:Commands|viewport]]
[[Category:Commands|Viewport]]

Revision as of 09: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)