FROM : Nathan Vander Wilt
DATE : Tue Jan 29 03:58:42 2008
>>In my custom view, I set the bounds in my drawRect:
>>method before drawing. This is so that while the
user
>>is resizing the window, the content stretches with
the
>>view.
[...]
>>Somehow this selection rectangle code triggers
random
>>extra redrawing.
> It is unclear why you need to resize your view
inside of -drawRect:.
> This is surely the root cause of your problem.
I am not resizing the view programmatically via
-setFrame:, I am setting the internal coordinate
system via -setBounds. If I understand correctly, all
this should do is set the transformation matrix. Yet
somehow between doing that and invalidating a part of
the view, I end up getting tons of extra redraw
requests.
____________________________________________________________________________________
ˇCapacidad ilimitada de almacenamiento en tu correo!
No te preocupes más por el espacio de tu cuenta con Correo Yahoo!:
http://correo.espanol.yahoo.com/
DATE : Tue Jan 29 03:58:42 2008
>>In my custom view, I set the bounds in my drawRect:
>>method before drawing. This is so that while the
user
>>is resizing the window, the content stretches with
the
>>view.
[...]
>>Somehow this selection rectangle code triggers
random
>>extra redrawing.
> It is unclear why you need to resize your view
inside of -drawRect:.
> This is surely the root cause of your problem.
I am not resizing the view programmatically via
-setFrame:, I am setting the internal coordinate
system via -setBounds. If I understand correctly, all
this should do is set the transformation matrix. Yet
somehow between doing that and invalidating a part of
the view, I end up getting tons of extra redraw
requests.
____________________________________________________________________________________
ˇCapacidad ilimitada de almacenamiento en tu correo!
No te preocupes más por el espacio de tu cuenta con Correo Yahoo!:
http://correo.espanol.yahoo.com/
| Related mails | Author | Date |
|---|---|---|
| Nathan Vander Wilt | Jan 29, 02:43 | |
| Jim Correia | Jan 29, 03:32 | |
| Nathan Vander Wilt | Jan 29, 03:58 |






Cocoa mail archive

