git://git.onelab.eu
/
nepi.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
2a09ba211ee8e2626b31f05576ad3cf37833151c
[nepi.git]
/
src
/
nepi
/
util
/
graphical_info.py
1
#!/usr/bin/env python
2
# -*- coding: utf-8 -*-
3
# vim:ts=4:sw=4:et:ai:sts=4
4
5
class GraphicalInfo(object):
6
""" This class allows to describe the position and dimensions of a
7
2D object in a GUI canvas"""
8
def __init__(self):
9
self.x = 0.0
10
self.y = 0.0
11
self.width = 0.0
12
self.height = 0.0
13