In the case of a circle arc, it's easy: simply add or substract the rotation angle from the 'start' and 'end' params of the GrCircleArc function. Josu
-----Mensaje original----- De: Hartmut Schirmer [SMTP:hartmut.schirmer@arcormail.de] Enviado el: miƩrcoles 25 de abril de 2001 16:51 Para: tvt@usmtu.edu.ua CC: grx@gnu.de Asunto: Re: How to draw rotated shape?
How to draw a graphic shape (e.g. an ellipse or an arc) rotated by some
angle?
no direct way. Use GrGenerateEllipse() or GrGenerateEllipseArc() to create a polygon. Then rotate the polygon point by point and finally draw it.
Hartmut