| 231 | } |
| 232 | |
| 233 | fg_err fg_draw_chart(const fg_window pWindow, const fg_chart pChart) |
| 234 | { |
| 235 | try { |
| 236 | ARG_ASSERT(0, (pWindow!=0)); |
| 237 | ARG_ASSERT(1, (pChart!=0)); |
| 238 | |
| 239 | getWindow(pWindow)->draw(getChart(pChart)); |
| 240 | } |
| 241 | CATCHALL |
| 242 | return FG_ERR_NONE; |
| 243 | } |
| 244 | |
| 245 | fg_err fg_draw_image_to_cell(const fg_window pWindow, const int pRows, const int pCols, const int pIndex, |
| 246 | const fg_image pImage, const char* pTitle, const bool pKeepAspectRatio) |