Public Member Functions | |
def | __init__ |
def | graph_bgcolor |
def | graph_fontname |
def | graph_fontsize |
def | node_bgcolor |
def | node_fgcolor |
def | node_fontsize |
def | edge_color |
def | edge_fontsize |
def | edge_penwidth |
def | edge_arrowsize |
def | fontsize |
def | color |
def | hsl_to_rgb |
Public Attributes | |
bgcolor | |
mincolor | |
maxcolor | |
fontname | |
minfontsize | |
maxfontsize | |
minpenwidth | |
maxpenwidth | |
gamma | |
Private Member Functions | |
def | _hue_to_rgb |
Definition at line 1522 of file gprof2dot.py.
def gprof2dot.Theme.__init__ | ( | self, | |
bgcolor = (0.0, 0.0 , |
|||
mincolor = (0.0, 0.0 , |
|||
maxcolor = (0.0, 0.0 , |
|||
fontname = "Arial" , |
|||
minfontsize = 10.0 , |
|||
maxfontsize = 10.0 , |
|||
minpenwidth = 0.5 , |
|||
maxpenwidth = 4.0 , |
|||
gamma = 2.2 |
|||
) |
Definition at line 1533 of file gprof2dot.py.
def gprof2dot.Theme._hue_to_rgb | ( | self, | |
m1, | |||
m2, | |||
h | |||
) | [private] |
Definition at line 1616 of file gprof2dot.py.
Referenced by gprof2dot.Theme.hsl_to_rgb().
def gprof2dot.Theme.color | ( | self, | |
weight | |||
) |
Definition at line 1577 of file gprof2dot.py.
References gprof2dot.Theme.hsl_to_rgb(), irc_cs_task_regression.max, gprof2dot.Theme.maxcolor, and gprof2dot.Theme.mincolor.
Referenced by gprof2dot.Theme.edge_color(), gprof2dot.DotWriter.graph(), and gprof2dot.Theme.node_bgcolor().
def gprof2dot.Theme.edge_arrowsize | ( | self, | |
weight | |||
) |
Definition at line 1571 of file gprof2dot.py.
References gprof2dot.Theme.edge_penwidth().
def gprof2dot.Theme.edge_color | ( | self, | |
weight | |||
) |
Definition at line 1562 of file gprof2dot.py.
References asap.asaplotbase.asaplotbase.color, and gprof2dot.Theme.color().
def gprof2dot.Theme.edge_fontsize | ( | self, | |
weight | |||
) |
Definition at line 1565 of file gprof2dot.py.
References gprof2dot.Theme.fontsize().
def gprof2dot.Theme.edge_penwidth | ( | self, | |
weight | |||
) |
Definition at line 1568 of file gprof2dot.py.
References irc_cs_task_regression.max, gprof2dot.Theme.maxpenwidth, and gprof2dot.Theme.minpenwidth.
Referenced by gprof2dot.Theme.edge_arrowsize().
def gprof2dot.Theme.fontsize | ( | self, | |
weight | |||
) |
Definition at line 1574 of file gprof2dot.py.
References irc_cs_task_regression.max, gprof2dot.Theme.maxfontsize, and gprof2dot.Theme.minfontsize.
Referenced by gprof2dot.Theme.edge_fontsize(), and gprof2dot.Theme.node_fontsize().
def gprof2dot.Theme.graph_bgcolor | ( | self | ) |
Definition at line 1544 of file gprof2dot.py.
References gprof2dot.Theme.bgcolor, and gprof2dot.Theme.hsl_to_rgb().
Referenced by gprof2dot.Theme.node_fgcolor().
def gprof2dot.Theme.graph_fontname | ( | self | ) |
Definition at line 1547 of file gprof2dot.py.
References gprof2dot.Theme.fontname.
def gprof2dot.Theme.graph_fontsize | ( | self | ) |
Definition at line 1550 of file gprof2dot.py.
References gprof2dot.Theme.minfontsize.
def gprof2dot.Theme.hsl_to_rgb | ( | self, | |
h, | |||
s, | |||
l | |||
) |
Convert a color from HSL color-model to RGB. See also: - http://www.w3.org/TR/css3-color/#hsl-color
Definition at line 1589 of file gprof2dot.py.
References gprof2dot.Theme._hue_to_rgb(), gprof2dot.Theme.gamma, and irc_cs_task_regression.max.
Referenced by gprof2dot.Theme.color(), and gprof2dot.Theme.graph_bgcolor().
def gprof2dot.Theme.node_bgcolor | ( | self, | |
weight | |||
) |
Definition at line 1553 of file gprof2dot.py.
References asap.asaplotbase.asaplotbase.color, and gprof2dot.Theme.color().
def gprof2dot.Theme.node_fgcolor | ( | self, | |
weight | |||
) |
Definition at line 1556 of file gprof2dot.py.
References gprof2dot.Theme.graph_bgcolor().
def gprof2dot.Theme.node_fontsize | ( | self, | |
weight | |||
) |
Definition at line 1559 of file gprof2dot.py.
References gprof2dot.Theme.fontsize().
Definition at line 1534 of file gprof2dot.py.
Referenced by gprof2dot.Theme.graph_bgcolor().
Definition at line 1537 of file gprof2dot.py.
Referenced by gprof2dot.Theme.graph_fontname().
Definition at line 1542 of file gprof2dot.py.
Referenced by gprof2dot.Theme.hsl_to_rgb().
Definition at line 1536 of file gprof2dot.py.
Referenced by gprof2dot.Theme.color().
Definition at line 1539 of file gprof2dot.py.
Referenced by gprof2dot.Theme.fontsize().
Definition at line 1541 of file gprof2dot.py.
Referenced by gprof2dot.Theme.edge_penwidth().
Definition at line 1535 of file gprof2dot.py.
Referenced by gprof2dot.Theme.color().
Definition at line 1538 of file gprof2dot.py.
Referenced by gprof2dot.Theme.fontsize(), and gprof2dot.Theme.graph_fontsize().
Definition at line 1540 of file gprof2dot.py.
Referenced by gprof2dot.Theme.edge_penwidth().