Connecting Tech Pros Worldwide Help | Site Map

Rotate non-rectangular region

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 22nd, 2005, 04:45 PM
Grzesiek
Guest
 
Posts: n/a
Default Rotate non-rectangular region

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

  #2  
Old July 22nd, 2005, 04:45 PM
Christopher Benson-Manica
Guest
 
Posts: n/a
Default 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.
  #3  
Old July 22nd, 2005, 04:45 PM
Gernot Frisch
Guest
 
Posts: n/a
Default 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


 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,662 network members.