C++Builder Programming Forum
C++Builder  |  Delphi  |  FireMonkey  |  C/C++  |  Free Pascal  |  Firebird
볼랜드포럼 BorlandForum
 경고! 게시물 작성자의 사전 허락없는 메일주소 추출행위 절대 금지
C++빌더 포럼
Q & A
FAQ
팁&트릭
강좌/문서
자료실
컴포넌트/라이브러리
메신저 프로젝트
볼랜드포럼 홈
헤드라인 뉴스
IT 뉴스
공지사항
자유게시판
해피 브레이크
공동 프로젝트
구인/구직
회원 장터
건의사항
운영진 게시판
회원 메뉴
북마크
볼랜드포럼 광고 모집

C++빌더 Q&A
C++Builder Programming Q&A
[21108] Re:API함수중에 Ellipse가 어떻게 구현되어 있는지 아시는분 지도편달 바랍니다.
정성훈.해미 [sage5nor] 1069 읽음    2002-08-30 10:03
[Ellipse]
header file is windgi.h

The Ellipse function draws an ellipse. The center of the ellipse is the center of the specified bounding rectangle. The ellipse is outlined by using the current pen and is filled by using the current brush.

BOOL Ellipse(

    HDC hdc,    // handle to device context
    int nLeftRect,    // x-coord. of bounding rectangle's upper-left corner
    int nTopRect,    // y-coord. of bounding rectangle's upper-left corner 
    int nRightRect,    // x-coord. of bounding rectangle's lower-right corner 
    int nBottomRect     // y-coord. bounding rectangle's f lower-right corner 
   );   


Parameters

hdc

Identifies the device context.

nLeftRect

Specifies the x-coordinate of the upper-left corner of the bounding rectangle.

nTopRect

Specifies the y-coordinate of the upper-left corner of the bounding rectangle.

nRightRect

Specifies the x-coordinate of the lower-right corner of the bounding rectangle.

nBottomRect

Specifies the y-coordinate of the lower-right corner of the bounding rectangle.



Return Values

If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError.

Remarks

The current position is neither used nor updated by Ellipse.
Windows 95: The sum of the coordinates of the bounding rectangle cannot exceed 32,767. The sum of nLeftRect and nRightRect or nTopRect and nBottomRect parameters cannot exceed 32,767.

+ -

관련 글 리스트
30444         Re:Ellipse(타원) 계산해서 그리기 김인구.구야 1377 2002/08/30
21108     Re:API함수중에 Ellipse가 어떻게 구현되어 있는지 아시는분 지도편달 바랍니다. 정성훈.해미 1069 2002/08/30
Google
Copyright © 1999-2015, borlandforum.com. All right reserved.