This is a read-only mirror of pymolwiki.org

Viewport

From PyMOL Wiki
Revision as of 14:29, 20 June 2009 by Vinnyrose (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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)