/[escript]/trunk/pyvisi/py_src/constant.py
ViewVC logotype

Diff of /trunk/pyvisi/py_src/constant.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 946 by jongui, Mon Jan 29 07:22:43 2007 UTC revision 947 by jongui, Wed Jan 31 07:17:43 2007 UTC
# Line 1  Line 1 
1  class Color:  class Color:
2      """      """
3      Constants that define the colors using RGB values.      Constants that define colors using RGB values.
4    
5      @cvar RED: Constant representing red color      @cvar RED: Constant representing red color
6      @cvar GREEN: Constant representing green color      @cvar GREEN: Constant representing green color
# Line 29  class Color: Line 29  class Color:
29    
30  class Viewport:  class Viewport:
31      """      """
32      Constants that define the four viewports in the scene.      Constants that define the four viewports in a window.
33    
34      @cvar SOUTH_WEST: Constant representing the bottom left viewport of the      @cvar SOUTH_WEST: Constant representing the bottom left viewport of a
35              window              window
36      @cvar NORTH_WEST: Constant representing the upper left viewport of the      @cvar NORTH_WEST: Constant representing the upper left viewport of a
37              window              window
38      @cvar NORTH_EAST: Constatnt representing the upper right viewport of the      @cvar NORTH_EAST: Constatnt representing the upper right viewport of a
39              window              window
40      @cvar SOUTH_EAST: Constant representing the bottom right viewport of the                window      @cvar SOUTH_EAST: Constant representing the bottom right viewport of a              window
41      """      """
42    
43      SOUTH_WEST = 0      SOUTH_WEST = 0
# Line 47  class Viewport: Line 47  class Viewport:
47    
48  class Source:  class Source:
49      """      """
50      Constants that define the source data type.      Constant that define the source data type.
51    
52      @cvar XML: Constant representing xml as the source type      @cvar XML: Constant representing the xml source data type
53      """      """
54            
55      XML = "xml"      XML = "xml"
# Line 88  class Arrow: Line 88  class Arrow:
88    
89  class ColorMode:  class ColorMode:
90      """      """
91      Constants that define the color mode used to color the vector data.      Constants that define the color mode used to color the data.
92    
93      @cvar VECTOR: Constant representing the vector color mode      @cvar VECTOR: Constant representing the vector color mode
94      @cvar SCALAR: Constant representing the scalar color mode      @cvar SCALAR: Constant representing the scalar color mode
# Line 112  class ImageFormat: Line 112  class ImageFormat:
112      """      """
113      Constants that define the image formats.      Constants that define the image formats.
114    
115      @cvar JPG: Constant representing the JPG image      @cvar JPG: Constant representing the JPG image format
116      @cvar BMP: Constant representing the BMP image      @cvar BMP: Constant representing the BMP image format
117      @cvar PNM: Constant representing the PNM image      @cvar PNM: Constant representing the PNM image format
118      @cvar PNG: Constant representing the PNG image      @cvar PNG: Constant representing the PNG image format
119      @cvar TIF: Constant representing the TIF iamge      @cvar TIF: Constant representing the TIF iamge format
120      """      """
121    
122      JPG = "jpg"      JPG = "jpg"

Legend:
Removed from v.946  
changed lines
  Added in v.947

  ViewVC Help
Powered by ViewVC 1.1.26