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
[49732] Re:Graphics32의 TBitmap32에서 CopyRect()와 같은 기능을 하는것은요?
답변이 [] 1439 읽음    2007-06-28 09:23
void __fastcall Draw(int DstX, int DstY, TBitmap32* Src)/* overload */;
    void __fastcall Draw(int DstX, int DstY, const Types::TRect &SrcRect, TBitmap32* Src)/* overload */;
    void __fastcall Draw(const Types::TRect &DstRect, const Types::TRect &SrcRect, TBitmap32* Src)/* overload */;
    void __fastcall Draw(const Types::TRect &DstRect, const Types::TRect &SrcRect, unsigned hSrc)/* overload */;

또는 해당 Bitmap32가 다른Bitmap32에 그려주는

    void __fastcall DrawTo(TBitmap32* Dst)/* overload */;
    void __fastcall DrawTo(TBitmap32* Dst, int DstX, int DstY, const Types::TRect &SrcRect)/* overload */;
    void __fastcall DrawTo(TBitmap32* Dst, int DstX, int DstY)/* overload */;
    void __fastcall DrawTo(TBitmap32* Dst, const Types::TRect &DstRect)/* overload */;
    void __fastcall DrawTo(TBitmap32* Dst, const Types::TRect &DstRect, const Types::TRect &SrcRect)/* overload */;
    void __fastcall DrawTo(unsigned hDst, int DstX, int DstY)/* overload */;
    void __fastcall DrawTo(unsigned hDst, const Types::TRect &DstRect, const Types::TRect &SrcRect)/* overload */;

이정도면 가능하지 않을까 싶어요~

TBitmap32::Draw(...)
TBitmap32::DrawTo(...)


이용태 님이 쓰신 글 :
: 빌더에서 제공하는 Graphics::TBitmap의 Canvas에 CopyRect()함수가 있습니다.
:
: 비트맵을 다른 다른비트맵으로 복사하는 함수인데요..
:
: Graphics32에서.. 이와 같은 기능을 하는 함수는 어떤것인가요?
:
: 도움말을 찾아봐도 없어서요..
:
: TBitmap32의 property에 Canvas 속성이 있긴 하나... 도움말 들어가서 보니.. 가급적 사용하지 말라고 그러더군요.. 속도가 느리다고..
:
: TBitmap32에서 CopyRect()를 대체하는 함수는 무엇인가요?
:
: 답변 부탁드립니다.

+ -

관련 글 리스트
49728 Graphics32의 TBitmap32에서 CopyRect()와 같은 기능을 하는것은요? 이용태 1431 2007/06/27
49732     Re:Graphics32의 TBitmap32에서 CopyRect()와 같은 기능을 하는것은요? 답변이 1439 2007/06/28
Google
Copyright © 1999-2015, borlandforum.com. All right reserved.