comparison dw.h @ 49:bf42d08d72d7

Added font text extent querying code, and made it so winmain.c can be used without Dynamic Windows.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Fri, 09 Nov 2001 13:49:44 +0000
parents 88c9c7410c22
children 0804483f6320
comparison
equal deleted inserted replaced
48:16eac0f8b45f 49:bf42d08d72d7
725 void dw_color_background_set(unsigned long value); 725 void dw_color_background_set(unsigned long value);
726 void dw_draw_point(HWND handle, HPIXMAP pixmap, int x, int y); 726 void dw_draw_point(HWND handle, HPIXMAP pixmap, int x, int y);
727 void dw_draw_line(HWND handle, HPIXMAP pixmap, int x1, int y1, int x2, int y2); 727 void dw_draw_line(HWND handle, HPIXMAP pixmap, int x1, int y1, int x2, int y2);
728 void dw_draw_rect(HWND handle, HPIXMAP pixmap, int fill, int x, int y, int width, int height); 728 void dw_draw_rect(HWND handle, HPIXMAP pixmap, int fill, int x, int y, int width, int height);
729 void dw_draw_text(HWND handle, HPIXMAP pixmap, int x, int y, char *text); 729 void dw_draw_text(HWND handle, HPIXMAP pixmap, int x, int y, char *text);
730 void dw_font_text_extents(HWND handle, HPIXMAP pixmap, char *text, int *width, int *height);
730 void dw_flush(void); 731 void dw_flush(void);
731 void dw_pixmap_bitblt(HWND dest, HPIXMAP destp, int xdest, int ydest, int width, int height, HWND src, HPIXMAP srcp, int xsrc, int ysrc); 732 void dw_pixmap_bitblt(HWND dest, HPIXMAP destp, int xdest, int ydest, int width, int height, HWND src, HPIXMAP srcp, int xsrc, int ysrc);
732 HPIXMAP dw_pixmap_new(HWND handle, unsigned long width, unsigned long height, int depth); 733 HPIXMAP dw_pixmap_new(HWND handle, unsigned long width, unsigned long height, int depth);
733 HPIXMAP dw_pixmap_grab(HWND handle, ULONG id); 734 HPIXMAP dw_pixmap_grab(HWND handle, ULONG id);
734 void dw_pixmap_destroy(HPIXMAP pixmap); 735 void dw_pixmap_destroy(HPIXMAP pixmap);