Computer Science Canada Draw.FillStar Rotation |
Author: | molly22 [ Tue Jun 13, 2006 4:57 pm ] |
Post subject: | Draw.FillStar Rotation |
Hi, Is there a way to make a Draw.FillStar rotate? Thanks in advance, Molly P.S. I'm a beginner at Turing. |
Author: | HellblazerX [ Tue Jun 13, 2006 5:02 pm ] |
Post subject: | |
Well, the only way to do this I guess is to draw a star using Draw.FillStar, take a picture of that using Pic.New, and then using Pic.Rotate to rotate it. I don't see how you could trig in this, because Turing draws stars like rectangles. Also, if you try using Pic.Rotate, don't forget to use Pic.Free to free up memory. |
Author: | TheOneTrueGod [ Tue Jun 13, 2006 5:35 pm ] |
Post subject: | |
Well, one way is to make your own DrawFillStar procedure. Have it accept some parameters, and you could even customize it to have different amount of points (Like a 6 pointed star, as opposed to a 5 pointed one). Another is to use Draw.FillPolygon. However, as hellblazer said, there is no built-into-turing method of rotating it. |
Author: | zylum [ Tue Jun 13, 2006 10:47 pm ] | ||
Post subject: | |||
with your own procedure you could do stuff like this:
|