mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 00:20:49 +00:00
Moved all printing output code to NSGraphicsContext.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25268 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
fe8dd53463
commit
86d97a419f
5 changed files with 479 additions and 326 deletions
|
@ -433,6 +433,37 @@ transform between current user space and image space for this image.</desc>
|
|||
|
||||
@end
|
||||
|
||||
/* ----------------------------------------------------------------------- */
|
||||
/* Printing Ops */
|
||||
/* ----------------------------------------------------------------------- */
|
||||
@interface NSGraphicsContext (Printing)
|
||||
|
||||
- (void) beginPage: (int)ordinalNum
|
||||
label: (NSString*)aString
|
||||
bBox: (NSRect)pageRect
|
||||
fonts: (NSString*)fontNames;
|
||||
- (void) beginPrologueBBox: (NSRect)boundingBox
|
||||
creationDate: (NSString*)dateCreated
|
||||
createdBy: (NSString*)anApplication
|
||||
fonts: (NSString*)fontNames
|
||||
forWhom: (NSString*)user
|
||||
pages: (int)numPages
|
||||
title: (NSString*)aTitle;
|
||||
- (void) beginSetup;
|
||||
- (void) beginTrailer;
|
||||
- (void) endDocumentPages: (int)pages
|
||||
documentFonts: (NSSet*)fontNames;
|
||||
- (void) endHeaderComments;
|
||||
- (void) endPageSetup;
|
||||
- (void) endPrologue;
|
||||
- (void) endSetup;
|
||||
- (void) endSheet;
|
||||
- (void) endTrailer;
|
||||
- (void) printerProlog;
|
||||
- (void) showPage;
|
||||
|
||||
@end
|
||||
|
||||
/* NSGraphicContext constants */
|
||||
APPKIT_EXPORT NSString *NSGraphicsContextDestinationAttributeName;
|
||||
APPKIT_EXPORT NSString *NSGraphicsContextPDFFormat;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue