Rotate non-rectangular region

G

Grzesiek

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
 
G

Gernot Frisch

Grzesiek said:
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

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,570
Members
45,045
Latest member
DRCM

Latest Threads

Top