삼각함수 이용해서 각을 StartArc, EndArc 좌표계로 변환.
새기 님이 쓰신 글 :
:
: - 헬프의 arc 함수는 아래처럼 파라미터를 좌표값으로 설정하던데요..
:
: BOOL Arc( HDC hdc, // handle to device context
: int nLeftRect, // x-coord of rectangle's upper-left corner
: int nTopRect, // y-coord of rectangle's upper-left corner
: int nRightRect, // x-coord of rectangle's lower-right corner
: int nBottomRect, // y-coord of rectangle's lower-right corner
: int nXStartArc, // x-coord of first radial ending point
: int nYStartArc, // y-coord of first radial ending point
: int nXEndArc, // x-coord of second radial ending point
: int nYEndArc // y-coord of second radial ending point);
: );
:
:
: - "중심좌표, 반지름, 시작각, 종료각, 회전방향" 을 인자로 받아서 arc 그리는 함수는 없나요?
:
:
|