| |
| | UCSC Genome Browser: memgfx.h Source File |
 | | */ 00065 00066 Color mgClosestColor(struct memGfx *mg, unsigned char r, unsigned char g, unsigned char b); 00067 /**< Returns closest color in color map to r,g,b */ 00068 00069 Color mgAddColor(struct memGfx *mg, unsigned char r, unsigned char g, unsigned char b); 00070 /**< Adds color to end of color map if there's room. |
 | | */ 00094 00095 void mgDrawBox(struct memGfx *mg, int x, int y, int width, int height, Color color); 00096 /**< Draw a (horizontal) box */ 00097 00098 00099 void mgDrawLine(struct memGfx *mg, int x1, int y1, int x2, int y2, Color color); 00100 /**< Draw a line from one point to another. |
 | | */ 00186 00187 void mgTriLeft(struct memGfx *mg, int x1, int y1, int y2, int color); 00188 /**< Draw a triangle pointing left with straight edge along x1+((y1-y2)/2) 00189 * from y1 to y2 (point at x1). |
| www.cse.ucsc.edu /~sugnet/kentDoc/memgfx_8h-source.html (785 words) |
|