/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to branchview/graphcell.py

  • Committer: Curtis Hovey
  • Date: 2012-03-20 12:39:08 UTC
  • mfrom: (776.3.23 gpush-do-push)
  • Revision ID: sinzui.is@verizon.net-20120320123908-lclvaiasu0e50odg
Merged faster push.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
from gi.repository import GObject
21
21
from gi.repository import Pango
22
22
from gi.repository import PangoCairo
23
 
from gi.repository import cairo
24
23
 
25
24
 
26
25
# Cairo constants are not exported yet. These are taken from documentation.
33
32
CAIRO_FILL_RULE_EVEN_ODD = 1
34
33
 
35
34
 
 
35
# Macro from  Pango header.
36
36
def PANGO_PIXELS(d):
37
 
    # Macro from  Pango header.
38
37
    return (d + 512) / 1000
39
38
 
40
39