Mercurial > dwindows
comparison dw.h @ 1243:c191a562c14a
Added new dw_pixmap_stretch_bitblt() function on Windows and OS/2.
Added new strech option to the test program to test this functionality.
OS/2 version is untested and I am not sure I got the math right...
GTK and Mac versions to come soon.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Wed, 19 Oct 2011 08:14:05 +0000 |
parents | 5271d5cb27ac |
children | 28c2c7e6671c |
comparison
equal
deleted
inserted
replaced
1242:8e37ebb3fab7 | 1243:c191a562c14a |
---|---|
1651 void API dw_draw_text(HWND handle, HPIXMAP pixmap, int x, int y, char *text); | 1651 void API dw_draw_text(HWND handle, HPIXMAP pixmap, int x, int y, char *text); |
1652 void API dw_font_text_extents_get(HWND handle, HPIXMAP pixmap, char *text, int *width, int *height); | 1652 void API dw_font_text_extents_get(HWND handle, HPIXMAP pixmap, char *text, int *width, int *height); |
1653 void API dw_font_set_default(char *fontname); | 1653 void API dw_font_set_default(char *fontname); |
1654 void API dw_flush(void); | 1654 void API dw_flush(void); |
1655 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); | 1655 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); |
1656 int API dw_pixmap_stretch_bitblt(HWND dest, HPIXMAP destp, int xdest, int ydest, int width, int height, HWND src, HPIXMAP srcp, int xsrc, int ysrc, int srcwidth, int srcheight); | |
1656 HPIXMAP API dw_pixmap_new(HWND handle, unsigned long width, unsigned long height, int depth); | 1657 HPIXMAP API dw_pixmap_new(HWND handle, unsigned long width, unsigned long height, int depth); |
1657 HPIXMAP API dw_pixmap_new_from_file(HWND handle, char *filename); | 1658 HPIXMAP API dw_pixmap_new_from_file(HWND handle, char *filename); |
1658 HPIXMAP API dw_pixmap_new_from_data(HWND handle, char *data, int len); | 1659 HPIXMAP API dw_pixmap_new_from_data(HWND handle, char *data, int len); |
1659 HPIXMAP API dw_pixmap_grab(HWND handle, ULONG id); | 1660 HPIXMAP API dw_pixmap_grab(HWND handle, ULONG id); |
1660 void API dw_pixmap_set_transparent_color( HPIXMAP pixmap, ULONG color ); | 1661 void API dw_pixmap_set_transparent_color( HPIXMAP pixmap, ULONG color ); |