|
Public Member Functions |
| SeqAAstructure (SequenceCanvas *ncan=NULL, SeqAA *_aa=NULL) |
virtual wxString | whatsthis () |
| Returns the linetype.
|
virtual | ~SeqAAstructure () |
| Destructor.
|
virtual int | arrange (int n) |
| Arrange "chars" as line n.
|
virtual void | show (wxDC &dc) |
| Show.
|
Public Attributes |
SeqAA * | aa |
Private Member Functions |
void | draw_amino_acid (wxDC &dc, char as, int x, int y, int w, int h) |
void | add_atom (vector< wxPoint > &atom_pos, wxString &atom_type, char atom, int x, int y) |
void | add_bond (vector< wxPoint > &bond, int from, int to, bool double_bond=false) |
Private Attributes |
wxBrush * | brush_C |
wxBrush * | brush_N |
wxBrush * | brush_S |
wxBrush * | brush_O |
wxPen * | pen_C |
wxPen * | pen_N |
wxPen * | pen_S |
wxPen * | pen_O |