Home » Category » Java Core GUI APIs

Java Core GUI APIs: Zooming/streching turtle

200| Wed, 30 Apr 2008 10:52:00 GMT| adrian_m_hanslik| Comments (1)
Hello there,

I'm working on the well-known graphic demo 'turtle',
which will be included in a larger project,
where I have to simulate a route of a robot.

As I'd like to insert functions like zooming, streching etc.,
I'd like to know which classes are most suitable for that?

At the moment I'm using the drawLine-method for the path.
But it's hard to insert a zoom function to it,
as I have to save all coordinates an calculate the changes,
which is very time-consuming, it flickers, ...

Are there any better ideas for a solution?

Thank you very much
Adrian

Keywords & Tags: zooming, streching, turtle, java, core, gui, apis

URL: http://java.itags.org/java-core-gui-apis/66608/
 
«« Prev - Next »» 1 helpful answers below.
Adrian M. Hanslik wrote:
> Hello there,
> I'm working on the well-known graphic demo 'turtle',
> which will be included in a larger project,
> where I have to simulate a route of a robot.
> As I'd like to insert functions like zooming, streching etc.,
> I'd like to know which classes are most suitable for that?
> At the moment I'm using the drawLine-method for the path.
> But it's hard to insert a zoom function to it,
> as I have to save all coordinates an calculate the changes,
> which is very time-consuming, it flickers, ...
> Are there any better ideas for a solution?


AffineTransform.

> Thank you very much
> Adrian
>

Remove my extraneous mandibular appendages to reply via email.

jimsculley | Wed, 30 Apr 2008 10:54:00 GMT |

Java Core GUI APIs Hot Answers

Java Core GUI APIs New questions

Java Core GUI APIs Related Categories