comparison dw.h @ 1261:61d0c5f84644

Initial attempt at adding dw_draw_arc() support on all platforms. This code doesn't yet work... will probably require a bunch of fixes... but I wanted to get the code committed while doing research on it.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Tue, 25 Oct 2011 10:51:59 +0000
parents 28c2c7e6671c
children 9e477efbacca
comparison
equal deleted inserted replaced
1260:3cbd8de0b50b 1261:61d0c5f84644
1648 char * API dw_font_choose(char *currfont); 1648 char * API dw_font_choose(char *currfont);
1649 void API dw_draw_point(HWND handle, HPIXMAP pixmap, int x, int y); 1649 void API dw_draw_point(HWND handle, HPIXMAP pixmap, int x, int y);
1650 void API dw_draw_line(HWND handle, HPIXMAP pixmap, int x1, int y1, int x2, int y2); 1650 void API dw_draw_line(HWND handle, HPIXMAP pixmap, int x1, int y1, int x2, int y2);
1651 void API dw_draw_rect(HWND handle, HPIXMAP pixmap, int fill, int x, int y, int width, int height); 1651 void API dw_draw_rect(HWND handle, HPIXMAP pixmap, int fill, int x, int y, int width, int height);
1652 void API dw_draw_polygon(HWND handle, HPIXMAP pixmap, int fill, int npoints, int *x, int *y); 1652 void API dw_draw_polygon(HWND handle, HPIXMAP pixmap, int fill, int npoints, int *x, int *y);
1653 void API dw_draw_arc(HWND handle, HPIXMAP pixmap, int flags, int xorigin, int yorigin, int x1, int y1, int x2, int y2);
1653 void API dw_draw_text(HWND handle, HPIXMAP pixmap, int x, int y, char *text); 1654 void API dw_draw_text(HWND handle, HPIXMAP pixmap, int x, int y, char *text);
1654 void API dw_font_text_extents_get(HWND handle, HPIXMAP pixmap, char *text, int *width, int *height); 1655 void API dw_font_text_extents_get(HWND handle, HPIXMAP pixmap, char *text, int *width, int *height);
1655 void API dw_font_set_default(char *fontname); 1656 void API dw_font_set_default(char *fontname);
1656 void API dw_flush(void); 1657 void API dw_flush(void);
1657 void API dw_pixmap_bitblt(HWND dest, HPIXMAP destp, int xdest, int ydest, int width, int height, HWND src, HPIXMAP srcp, int xsrc, int ysrc); 1658 void API dw_pixmap_bitblt(HWND dest, HPIXMAP destp, int xdest, int ydest, int width, int height, HWND src, HPIXMAP srcp, int xsrc, int ysrc);