Mercurial > dwindows
comparison template/dw.c @ 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 | 70dca53cb071 |
children | 0b34e2cf0706 |
comparison
equal
deleted
inserted
replaced
1260:3cbd8de0b50b | 1261:61d0c5f84644 |
---|---|
1527 */ | 1527 */ |
1528 void API dw_draw_rect(HWND handle, HPIXMAP pixmap, int fill, int x, int y, int width, int height) | 1528 void API dw_draw_rect(HWND handle, HPIXMAP pixmap, int fill, int x, int y, int width, int height) |
1529 { | 1529 { |
1530 } | 1530 } |
1531 | 1531 |
1532 /* Draw an arc on a window (preferably a render window). | |
1533 * Parameters: | |
1534 * handle: Handle to the window. | |
1535 * pixmap: Handle to the pixmap. (choose only one of these) | |
1536 * flags: For future use. | |
1537 * xorigin: X coordinate of center of arc. | |
1538 * yorigin: Y coordinate of center of arc. | |
1539 * x1: X coordinate of first segment of arc. | |
1540 * y1: Y coordinate of first segment of arc. | |
1541 * x2: X coordinate of second segment of arc. | |
1542 * y2: Y coordinate of second segment of arc. | |
1543 */ | |
1544 void API dw_draw_arc(HWND handle, HPIXMAP pixmap, int flags, int xorigin, int yorigin, int x1, int y1, int x2, int y2) | |
1545 { | |
1546 } | |
1547 | |
1532 /* | 1548 /* |
1533 * Create a tree object to be packed. | 1549 * Create a tree object to be packed. |
1534 * Parameters: | 1550 * Parameters: |
1535 * id: An ID to be used for getting the resource from the | 1551 * id: An ID to be used for getting the resource from the |
1536 * resource file. | 1552 * resource file. |