FROM : Mark Trombino
DATE : Wed Jan 29 23:58:01 2003
Tim,
geez, that's embarrassing! Well, when I could see the real
coordinates, I realized my matrix is flipped so I was compositing the
image in the wrong position. That's why I didn't see it. Thanks for
pointing that out!
Mark
On Wednesday, January 29, 2003, at 07:35 PM, Timothy Ritchey wrote:
> Just wanted to point out you are using %d in your log - that is for
> integers. coordinates are floats, so if you want to see the right
> numbers, use %f.
>
> - tim
>
> On Wednesday, January 29, 2003, at 10:03 PM, Mark Trombino wrote:
>
>> Hello,
>>
>> I'm trying to subclass NSCell and I've ran into a bit of a problem
>> when trying to draw the cells. Essentially, nothing gets drawn! My
>> cells are used with an NSMatrix subclass. I'm overriding
>> drawInteriorWithFrame:inView: but I get crazy frame values whenever
>> this method gets called. My implementation:
Mark Trombino
<email_removed>
DATE : Wed Jan 29 23:58:01 2003
Tim,
geez, that's embarrassing! Well, when I could see the real
coordinates, I realized my matrix is flipped so I was compositing the
image in the wrong position. That's why I didn't see it. Thanks for
pointing that out!
Mark
On Wednesday, January 29, 2003, at 07:35 PM, Timothy Ritchey wrote:
> Just wanted to point out you are using %d in your log - that is for
> integers. coordinates are floats, so if you want to see the right
> numbers, use %f.
>
> - tim
>
> On Wednesday, January 29, 2003, at 10:03 PM, Mark Trombino wrote:
>
>> Hello,
>>
>> I'm trying to subclass NSCell and I've ran into a bit of a problem
>> when trying to draw the cells. Essentially, nothing gets drawn! My
>> cells are used with an NSMatrix subclass. I'm overriding
>> drawInteriorWithFrame:inView: but I get crazy frame values whenever
>> this method gets called. My implementation:
Mark Trombino
<email_removed>
| Related mails | Author | Date |
|---|---|---|
| Mark Trombino | Jan 29, 19:27 | |
| Timothy Ritchey | Jan 29, 19:51 | |
| Mark Trombino | Jan 29, 23:58 | |
| Timothy Ritchey | Jan 30, 07:43 |






Cocoa mail archive

