🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #14112

Re: more complex shapes...how ?

#14112
From: Rodolfo Frino
Date: Wed, 27 Aug 2003 13:08
36 lines
1747 bytes
By using the set of Region API's, specially the CombineRgn function

CombineRgn
CreateEllipticRgn
CreateEllipticRgnIndirect
CreatePolygonRgn
CreatePolyPolygonRgn
CreateRectRgn
CreateRectRgnIndirect
CreateRoundRectRgn
EqualRgn
ExtCreateRegion
FillRgn
FrameRgn
GetPolyFillMode
GetRegionData
GetRgnBox
InvertRgn
OffsetRgn
PaintRgn
PtInRegion
RectInRegion
SetPolyFillMode

Rodolfo


"Mattias" <mattias.carleson@commentor.se> wrote in message
news:3f4cab8e@newsgroups.borland.com...
> > If you want your window to be rectangular but with round corners then
> > the right API is CreateRoundRectRgn
>
> How can more complex shapes be created?
> /Mattias
>
>
Technical Details
Message-ID: <3f4cad32@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3f4bdb81@newsgroups.borland.com> <3f4bdeb4@newsgroups.borland.com> <3f4cab8e@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,2670519446072b18
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-08-27 06:09:44 PST
From: "Rodolfo Frino" <rodolfofrino@yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3f4bdb81@newsgroups.borland.com> <3f4bdeb4@newsgroups.borland.com> <3f4cab8e@newsgroups.borland.com>
Subject: Re: more complex shapes...how ? 
Date: Wed, 27 Aug 2003 23:08:33 +1000
Lines: 38
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 203.206.17.254
Message-ID: <3f4cad32@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1061989682 203.206.17.254 (27 Aug 2003 06:08:02 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail