Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #11556

Re: Whats the error in my program-creating overlapping GOval objects using GraphicsProgram

From Lew <noone@lewscanon.com>
Newsgroups comp.lang.java.programmer
Subject Re: Whats the error in my program-creating overlapping GOval objects using GraphicsProgram
Date 2012-01-20 22:48 -0800
Organization albasani.net
Message-ID <jfdn3e$367$1@news.albasani.net> (permalink)
References <532275d9-eb03-4db0-a2ef-9b051de444cc@m4g2000pbc.googlegroups.com> <jfd8pu$u2d$1@dont-email.me> <930fb8aa-7429-4338-9baa-d3dc94b6a721@iu7g2000pbc.googlegroups.com>

Show all headers | View raw


On 01/20/2012 10:19 PM, student wrote:
> I read the documentation. How do I create concentric circles? I am not

By drawing them in such a fashion that they have the same center.

> able to understand. I want to create sign like the sign of national
> chain of stores "Target".

Think about how you line them up given the documentation. What conditions 
would have to hold in the constructor arguments for the circles' centers to be 
the same? What algebraic transformation do you have to perform?

To put it another way: What data does the constructor require to position a 
circle in a particular place? What data do you have available at the point of 
the constructor call? What formula transforms the latter to the former?

-- 
Lew
Honi soit qui mal y pense.
http://upload.wikimedia.org/wikipedia/commons/c/cf/Friz.jpg

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Whats the error in my program-creating overlapping GOval objects using GraphicsProgram student <freenow12345@gmail.com> - 2012-01-20 17:05 -0800
  Re: Whats the error in my program-creating overlapping GOval objects using GraphicsProgram Jeff Higgins <jeff@invalid.invalid> - 2012-01-20 21:52 -0500
    Re: Whats the error in my program-creating overlapping GOval objects using GraphicsProgram student <freenow12345@gmail.com> - 2012-01-20 22:19 -0800
      Re: Whats the error in my program-creating overlapping GOval objects using GraphicsProgram Lew <noone@lewscanon.com> - 2012-01-20 22:48 -0800
      Re: Whats the error in my program-creating overlapping GOval objects using GraphicsProgram Jeff Higgins <jeff@invalid.invalid> - 2012-01-21 05:51 -0500
        Re: Whats the error in my program-creating overlapping GOval objects using GraphicsProgram student <freenow12345@gmail.com> - 2012-01-21 18:08 -0800
  Re: Whats the error in my program-creating overlapping GOval objects using GraphicsProgram Rajiv Gupta <rajiv@invalid.com> - 2012-01-21 14:43 +1100

csiph-web