casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables
Public Member Functions | Public Attributes | Private Member Functions
gprof2dot.Theme Class Reference

List of all members.

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

Detailed Description

Definition at line 1522 of file gprof2dot.py.


Constructor & Destructor Documentation

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.


Member Function Documentation

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 
)
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 
)
def gprof2dot.Theme.fontsize (   self,
  weight 
)

Definition at line 1544 of file gprof2dot.py.

References gprof2dot.Theme.bgcolor, and gprof2dot.Theme.hsl_to_rgb().

Referenced by gprof2dot.Theme.node_fgcolor().

Definition at line 1547 of file gprof2dot.py.

References gprof2dot.Theme.fontname.

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().


Member Data Documentation

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().


The documentation for this class was generated from the following file: