|
-
August 10th, 2007, 02:17 PM
#1
Create CRgn from a line
Hi,
Does anybody know how i can create a crgn from a line.
Th thing is that i want the CRgn to be 1px bigger than the line.
ex :
0,0
._________________________
| -------------------------------------- |
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯26,3
it have to works with diagonals and the starting point of the line can be any of the 2 points.
I store this information in a struct like
struct {
int x;
int y;
int w;
int h;
}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|