File: renderer.py

package info (click to toggle)
ocempgui 0.2.8-1.1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 4,464 kB
  • ctags: 1,849
  • sloc: python: 9,304; ansic: 6,849; makefile: 179
file content (11 lines) | stat: -rw-r--r-- 242 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
# Renderer examples.
from ocempgui.widgets import Renderer

# Initialize the drawing window.
re = Renderer ()
screen = re.create_screen (200, 200)
re.title = "Renderer"
re.color = (250, 250, 250)

# Start the main rendering loop.
re.start ()