Skip navigation.
 
mlQ: drawing text within drawPageBorderWithSize:
FROM : Brant Vasilieff
DATE : Mon Jan 14 23:37:11 2002

Is there some trick to drawing text (page labels) within a
drawPageBorderWithSize call?

If I don't call lock focus, I get the proper dimensions, but text
doesn't show up.
If I call lock focus, then the origin is all off, yet the text shows up.

I'm trying to subclass NSTableView so I can print the column headers at
the top of each page, prevent rows from being split between pages, and
print page numbers at the bottom.

Note to Apple:  It's really too bad that this couldn't have been built
into the NSTableView by default.  Same with browsers, etc...

TIA,
Brant


Related mailsAuthorDate
No related mails found.