BioInt  1.02.00
BioInt: An integrative biological object-oriented application framework and interpreter
BioPostScript Class Reference

#include <BioPostScript.h>

List of all members.

Public Member Functions

void setBlockBackgroundColor (int r, int g, int b)
void UpdateForBlock (ifstream &, ofstream &)
void UpdateForPage (ifstream &, ofstream &)
void setBorder (int *, float *)
void write (void)
void setText (ofstream &, string, bool)
void setBoldItalic (void)
void showPieGraph (vector< double >, string="PIEGRAPH")
void showPieGraph (vector< double >, vector< string >, string="PIEGRAPH")
void showBarGraph (vector< double >, string="Bargraph", string="xtitle", string="ytitle", bool AS_IT_IS=0, bool=0)
void showBarGraph (vector< double >, vector< string >, string="Bargraph", string="xtitle", string="ytitle", bool AS_IT_IS=0, bool=0)
void showLineGraph (vector< double >, vector< double >, double minx, double miny, double maxy, string="Linegraph", string="xtitle", string="ytitle", bool=0)
 BioPostScript ()
 BioPostScript (string file)
 ~BioPostScript ()
void BioPostScriptClose ()
void setPostScriptFile (string filename)
void setBlockBegin (int x, int y, int width, int height, int r=255, int g=255, int b=255, bool border=0, int r1=0, int g1=0, int b1=0)
void setBlockEnd ()
void setFontColor (float, float, float)
void setFont (string fontname)
void setFontSize (float size)
void setText (string text)
void setAlign (string)
void setStyle (const string font, float size, bool bold=0, bool italic=0, bool underline=0)
void setUnderLine (bool YESorNO=0)
void setPage (int, int, int, int, int=255, int=255, int=255, bool=0, int=0, int=0, int=0, bool=1)
void setPageDefault (void)
void setBreakLine (int n=1)
void setText (string, float, float)
void setBold (bool)
void setItalic (bool)
void setDefaults (void)
void endPage (void)
void setLine (float, float, float, float)
void setPoint (int x1, int y1, float width=1.0)
void setRectangle (int lowerLeftx, int lowerLefty, int width, int height, bool fill=0)
void setCircle (int x1, int y1, int radius, bool fill=0)
void setTriangle (int x1, int y1, int size, bool fill=0)
void setLineWidth (float width=1.0)
void setTics (float x, float y, float barLength, int sequenceLen, int howMany)
void setTics (float x, float y, float barLength, int start, int sequenceLen, int howMany)
void setYTics (float x, float y, int offset)
void setXTics (float x, float y, int offset)
int getHeight (int, float=10.0)
int getWidth (int, float=10.0, string="TIMES")
void showPieGraph (BioData, string="PIEGRAPH")
void showMultiplePieGraphs (vector< BioData >, vector< string >)
void showMultiplePieGraphs (vector< BioData >)
void showBarGraph (BioData, string title="Bargraph", string xtitle="xtitle", string ytitle="ytitle", bool AS_IT_IS=0, bool=0)
void showBarGraph (BioData, int colno, string title="Bargraph", string xtitle="xtitle", string ytitle="ytitle", bool AS_IT_IS=0, bool=0)
void showMultipleBarGraphs (vector< BioData >, vector< string > title, vector< string > xtitle, vector< string > ytitle, bool AS_IT_IS=0, bool=0)
void showMultipleBarGraphs (vector< BioData >, bool AS_IT_IS=0, bool b=0)
void showLineGraph (BioData, string title="Linegraph", string xtitle="xlabel", string ytitle="ylabel", bool s=0)
void showLineGraph (BioData, vector< string > labels, string title="Linegraph", string xtitle="xlabel", string ytitle="ylabel", bool s=0)
void showMultipleLineGraphs (vector< BioData >, vector< string > title, vector< string > xtitle, vector< string > ytitle, bool=0)
void showMultipleLineGraphs (vector< BioData >, bool b=0)
void showData (BioData &bd, float startx, float starty)
void setXRange (double minx, double maxx)
void setYRange (double miny, double maxy)

Public Attributes

int block_ [4]
int page_ [4]
float bgColor_ [3]
float pBgColor_ [3]
float bFontColor_ [3]
float pFontColor_ [3]
string font_
string pFont_
string alignment_
string pAlignment_
float lineGap_
float pLineGap_
float fontSize_
float pFontSize_
float x_
float y_
float px_
float py_
int PAGEX1
int PAGEY1
int PAGEX2
int PAGEY2
bool BOLD
bool pBOLD
bool ITALIC
bool pITALIC
bool UNDERLINE
bool pUNDERLINE
bool INBLOCK
bool pageBorder
float bc [3]

Constructor & Destructor Documentation

BioPostScript::BioPostScript ( string  file)

Member Function Documentation

void BioPostScript::endPage ( void  )
int BioPostScript::getHeight ( int  ,
float  = 10.0 
)
int BioPostScript::getWidth ( int  ,
float  = 10.0,
string  = "TIMES" 
)
void BioPostScript::setAlign ( string  )
void BioPostScript::setBlockBackgroundColor ( int  r,
int  g,
int  b 
)
void BioPostScript::setBlockBegin ( int  x,
int  y,
int  width,
int  height,
int  r = 255,
int  g = 255,
int  b = 255,
bool  border = 0,
int  r1 = 0,
int  g1 = 0,
int  b1 = 0 
)
void BioPostScript::setBold ( bool  )
void BioPostScript::setBorder ( int *  ,
float *   
)
void BioPostScript::setBreakLine ( int  n = 1)
void BioPostScript::setCircle ( int  x1,
int  y1,
int  radius,
bool  fill = 0 
)
void BioPostScript::setDefaults ( void  )
void BioPostScript::setFont ( string  fontname)
void BioPostScript::setFontColor ( float  ,
float  ,
float   
)
void BioPostScript::setFontSize ( float  size)
void BioPostScript::setItalic ( bool  )
void BioPostScript::setLine ( float  ,
float  ,
float  ,
float   
)
void BioPostScript::setLineWidth ( float  width = 1.0)
void BioPostScript::setPage ( int  ,
int  ,
int  ,
int  ,
int  = 255,
int  = 255,
int  = 255,
bool  = 0,
int  = 0,
int  = 0,
int  = 0,
bool  = 1 
)
void BioPostScript::setPoint ( int  x1,
int  y1,
float  width = 1.0 
)
void BioPostScript::setPostScriptFile ( string  filename)
void BioPostScript::setRectangle ( int  lowerLeftx,
int  lowerLefty,
int  width,
int  height,
bool  fill = 0 
)
void BioPostScript::setStyle ( const string  font,
float  size,
bool  bold = 0,
bool  italic = 0,
bool  underline = 0 
)
void BioPostScript::setText ( ofstream &  ,
string  ,
bool   
)
void BioPostScript::setText ( string  text)
void BioPostScript::setText ( string  ,
float  ,
float   
)
void BioPostScript::setTics ( float  x,
float  y,
float  barLength,
int  sequenceLen,
int  howMany 
)
void BioPostScript::setTics ( float  x,
float  y,
float  barLength,
int  start,
int  sequenceLen,
int  howMany 
)
void BioPostScript::setTriangle ( int  x1,
int  y1,
int  size,
bool  fill = 0 
)
void BioPostScript::setUnderLine ( bool  YESorNO = 0)
void BioPostScript::setXRange ( double  minx,
double  maxx 
)
void BioPostScript::setXTics ( float  x,
float  y,
int  offset 
)
void BioPostScript::setYRange ( double  miny,
double  maxy 
)
void BioPostScript::setYTics ( float  x,
float  y,
int  offset 
)
void BioPostScript::showBarGraph ( vector< double >  ,
string  = "Bargraph",
string  = "xtitle",
string  = "ytitle",
bool  AS_IT_IS = 0,
bool  = 0 
)
void BioPostScript::showBarGraph ( vector< double >  ,
vector< string >  ,
string  = "Bargraph",
string  = "xtitle",
string  = "ytitle",
bool  AS_IT_IS = 0,
bool  = 0 
)
void BioPostScript::showBarGraph ( BioData  ,
string  title = "Bargraph",
string  xtitle = "xtitle",
string  ytitle = "ytitle",
bool  AS_IT_IS = 0,
bool  = 0 
)
void BioPostScript::showBarGraph ( BioData  ,
int  colno,
string  title = "Bargraph",
string  xtitle = "xtitle",
string  ytitle = "ytitle",
bool  AS_IT_IS = 0,
bool  = 0 
)
void BioPostScript::showData ( BioData bd,
float  startx,
float  starty 
)
void BioPostScript::showLineGraph ( vector< double >  ,
vector< double >  ,
double  minx,
double  miny,
double  maxy,
string  = "Linegraph",
string  = "xtitle",
string  = "ytitle",
bool  = 0 
)
void BioPostScript::showLineGraph ( BioData  ,
string  title = "Linegraph",
string  xtitle = "xlabel",
string  ytitle = "ylabel",
bool  s = 0 
)
void BioPostScript::showLineGraph ( BioData  ,
vector< string >  labels,
string  title = "Linegraph",
string  xtitle = "xlabel",
string  ytitle = "ylabel",
bool  s = 0 
)
void BioPostScript::showMultipleBarGraphs ( vector< BioData ,
vector< string >  title,
vector< string >  xtitle,
vector< string >  ytitle,
bool  AS_IT_IS = 0,
bool  = 0 
)
void BioPostScript::showMultipleBarGraphs ( vector< BioData ,
bool  AS_IT_IS = 0,
bool  b = 0 
)
void BioPostScript::showMultipleLineGraphs ( vector< BioData ,
vector< string >  title,
vector< string >  xtitle,
vector< string >  ytitle,
bool  = 0 
)
void BioPostScript::showMultipleLineGraphs ( vector< BioData ,
bool  b = 0 
)
void BioPostScript::showMultiplePieGraphs ( vector< BioData ,
vector< string >   
)
void BioPostScript::showPieGraph ( vector< double >  ,
string  = "PIEGRAPH" 
)
void BioPostScript::showPieGraph ( vector< double >  ,
vector< string >  ,
string  = "PIEGRAPH" 
)
void BioPostScript::showPieGraph ( BioData  ,
string  = "PIEGRAPH" 
)
void BioPostScript::UpdateForBlock ( ifstream &  ,
ofstream &   
)
void BioPostScript::UpdateForPage ( ifstream &  ,
ofstream &   
)
void BioPostScript::write ( void  )

Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines