Connecting Tech Pros Worldwide Help | Site Map

Rotate non-rectangular region

Grzesiek
Guest
 
Posts: n/a
#1: Jul 22 '05
Hello

Is it possible to rotate a non-rectangular region ? Rectangular regions,
created by CreateRectRgn can be rotated using ExtCreateRegion, but how
do the same thing with regions created by CreateEllipticRgn or
CombineRgn? I use Borland C++ Builder

best regards,

Greg
Christopher Benson-Manica
Guest
 
Posts: n/a
#2: Jul 22 '05

re: Rotate non-rectangular region


Grzesiek <a@b.co> spoke thus:
[color=blue]
> Is it possible to rotate a non-rectangular region?[/color]

Dunno:

http://www.slack.net/~shiva/welcome.txt
http://www.parashift.com/c++-faq-lite/
[color=blue]
> I use Borland C++ Builder[/color]

You have my condolences. newsgroups.borland.com.

--
Christopher Benson-Manica | I *should* know what I'm talking about - if I
ataru(at)cyberspace.org | don't, I need to know. Flames welcome.
Gernot Frisch
Guest
 
Posts: n/a
#3: Jul 22 '05

re: Rotate non-rectangular region



"Grzesiek" <a@b.co> schrieb im Newsbeitrag
news:cdoh48$6n2$1@inews.gazeta.pl...[color=blue]
> Hello
>
> Is it possible to rotate a non-rectangular region ? Rectangular[/color]
regions,[color=blue]
> created by CreateRectRgn can be rotated using ExtCreateRegion, but[/color]
how[color=blue]
> do the same thing with regions created by CreateEllipticRgn or
> CombineRgn? I use Borland C++ Builder[/color]

First, this is OT. Try comp.os.ms-windows.programmer.win32. Then, the
answer will be "yes, but you will have to do it on your own." Means:
Try to get the region destrition, interprete it, rotate it and set
this as a new region.
It's way easier to clip your own code than the region.
-Gernot


Closed Thread


Similar C / C++ bytes