Article View: borland.public.cppbuilder.nativeapi
Article #12275Painting controls with World Transformation
From: Sabetay Toros
Date: Sun, 14 Dec 2003 09:58
Date: Sun, 14 Dec 2003 09:58
13 lines
1380 bytes
1380 bytes
Hi, I've derived a Component from TCustomControl. This component is able to paint some various shapes using World Space Coordinates by using SetWorldCoordinates API function. The component owns some Controls which are derived from TGraphicControl. In controls paint function I'm able to draw shapes using Device coordinates, but can not draw the same shapes by using the owner's World Space Coordinates transformation. Does any body know what is the relation between the window and the owned controls coordinates? Thanks Sabetay
Technical Details
Message-ID:
<3fdc34bc@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,1b45dc91ba2234b3,start X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-12-14 02:22:04 PST From: "Sabetay Toros" <bilsarbiz@ttnet.net.tr> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Painting controls with World Transformation Date: Sun, 14 Dec 2003 11:58:42 +0200 Lines: 15 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 62.29.72.229 Message-ID: <3fdc34bc@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1071396028 62.29.72.229 (14 Dec 2003 02:00:28 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail