How to implement Chord function using GDIplus?
Posted
by leo4ever
on Stack Overflow
See other posts from Stack Overflow
or by leo4ever
Published on 2010-05-05T08:51:30Z
Indexed on
2010/05/14
8:24 UTC
Read the original article
Hit count: 192
Here are the GDI functions Chord() provided by MFC:
BOOL Chord( int x1, int y1, int x2, int y2, int x3, int y3, int x4, int y4 );
BOOL Chord( LPCRECT lpRect, POINT ptStart, POINT ptEnd );
It seems to me that no such method is privided by GDI+ (the Graphics class), so how do I implement my own Chord function (with the exact same prototype) ?
By the way, I just don't understand why does MS just don't provide them.
Thanks.
© Stack Overflow or respective owner