This is a read-only mirror of pymolwiki.org

Difference between revisions of "Viewport"

From PyMOL Wiki
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).
  "viewport" changes the size of the viewing port (and thus the size
 
  of all png files subsequently output)
 
 
   
 
   
 
===USAGE===
 
===USAGE===
   
+
  viewport width, height
  viewport width, height
+
 
 
 
===PYMOL API===
 
===PYMOL API===
<source lang="python">
+
<source lang="python">
  cmd.viewport(int width, int height)  
+
cmd.viewport(int width, int height)
</source>
+
</source>
  
[[Category:Commands|viewport]]
+
[[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)