• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Rects and points...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Rects and points...


  • Subject: Re: Rects and points...
  • From: Riccardo Santato <email@hidden>
  • Date: Wed, 21 Nov 2001 00:07:00 +0100

First of all , THANK YOU ALL !!!! :-))
You've been too kind for the lots of answers. The sad thing is that a
huge number of doubts raised into my head...
I think I had several problems in drawing this stupid thing just because
I really can't understand from the docs the meanings of the classes. If
you consider, my experiment was much greater than the real needs (I
involved convertPoint and many other things), as I was desperately trying
to get a grip on those things :

1) I can't understand the differences, NOW , between Rects, Views, Images
in the Cocoa environment...

2) I was trying to make the coordinates as much as view-relative as
possible. I figured a better way would have been to set them from the
origin of the view in a RELATIVE and not ABSOLUTE way. That's is also the
cause I used the convertPoint routines...

3) In the first example Tom sent me, there was just one function, in the
later one several... but... HOW can Cocoa know which one is to call at a
desired time without using NSTimer things or mouse /keyboard / task events ?!?

4) If a method like drawRect: is already present in the NSView class, why
must I repeat it ?

5) Why didn't Apple supplied GOOD step-by-step tutorials on graphic
handling, event handling, file handling and similar ?!?

Pardon me, I'm a newcomer in Apple programming, as far as under AmigaOS
3.9 was much much more simple !! :-))
Thank you again !

--
Riccardo Santato
www.riccardosantato.com


  • Follow-Ups:
    • Re: Rects and points...
      • From: John Hörnkvist <email@hidden>
References: 
 >Re: Rects and points... (From: Tom Waters <email@hidden>)

  • Prev by Date: Re: <newbie> Can't use NSImage initWithContentsOfURL:
  • Next by Date: Re: Problem with method in NSBezierPath?
  • Previous by thread: Re: Rects and points...
  • Next by thread: Re: Rects and points...
  • Index(es):
    • Date
    • Thread