/[escript]/trunk/doc/examples/pyvisi/logo.py
ViewVC logotype

Diff of /trunk/doc/examples/pyvisi/logo.py

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

revision 1209 by jongui, Thu Jun 21 23:17:16 2007 UTC revision 1210 by jongui, Tue Jul 3 05:47:34 2007 UTC
# Line 26  ir = ImageReader(ImageFormat.JPG) Line 26  ir = ImageReader(ImageFormat.JPG)
26  ir.setImageName(image_name =  os.path.join(PYVISI_EXAMPLE_MESHES_PATH, \  ir.setImageName(image_name =  os.path.join(PYVISI_EXAMPLE_MESHES_PATH, \
27          LOAD_LOGO_NAME))          LOAD_LOGO_NAME))
28    
29  # Create an Image.  # Create an Logo.
30  l = Logo(scene = s, image_reader = ir, viewport = Viewport.SOUTH_WEST)  l = Logo(scene = s, image_reader = ir, viewport = Viewport.SOUTH_WEST)
31  l.setPosition(position = LocalPosition(10,10))  l.setPosition(position = LocalPosition(10,10))
32  l.setSize(size = 0.7)  l.setSize(size = 0.7)

Legend:
Removed from v.1209  
changed lines
  Added in v.1210

  ViewVC Help
Powered by ViewVC 1.1.26