Rewrite NSPrintPanel and NSPageLayout, prepare for printing improvements

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11155 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fedor 2001-10-16 02:09:09 +00:00
parent 6082cee42e
commit 6303663d59
21 changed files with 1016 additions and 735 deletions

View file

@ -891,6 +891,14 @@ NSGraphicsContext *GSCurrentContext()
methodTable.DPScurrentwindowdevice__ =
GET_IMP(@selector(DPScurrentwindowdevice::));
/* ----------------------------------------------------------------------- */
/* Client functions */
/* ----------------------------------------------------------------------- */
methodTable.DPSPrintf__ =
GET_IMP(@selector(DPSPrintf::));
methodTable.DPSWriteData__ =
GET_IMP(@selector(DPSWriteData::));
/*
* Rectangle Drawing Functions
*/
@ -2489,6 +2497,19 @@ NSGraphicsContext *GSCurrentContext()
[self subclassResponsibility: _cmd];
}
/* ----------------------------------------------------------------------- */
/* Client functions */
/* ----------------------------------------------------------------------- */
- (void) DPSPrintf: (char *)fmt : (va_list)args
{
[self subclassResponsibility: _cmd];
}
- (void) DPSWriteData: (char *)buf : (unsigned int)count
{
[self subclassResponsibility: _cmd];
}
@end
@implementation NSGraphicsContext (NSGraphics)