appletprinting.c File Reference

#include "appletinternal.h"
#include "appletops.h"
#include "appletquickdraw.h"
#include "appletmain.h"

Include dependency graph for appletprinting.c:

Go to the source code of this file.

Functions

static void printcomputewindowinfo (WindowPtr w, hdlappwindow appwindow)
static void disposeprintinfo (void)
static boolean checkprinterror (void)
static void copyprintinfo (void)
boolean initprint (void)
boolean getprintinfo (void)
static boolean pagesetupvisit (hdlappwindow appwindow)
boolean pagesetup (void)
boolean printappwindow (hdlappwindow appwindow, boolean fldialog)

Variables

static boolean flprintinit = false


Function Documentation

static boolean checkprinterror void   )  [static]
 

Definition at line 49 of file appletprinting.c.

References alertdialog(), and noErr.

Referenced by initprint(), pagesetup(), and printappwindow().

Here is the call graph for this function:

static void copyprintinfo void   )  [static]
 

Definition at line 69 of file appletprinting.c.

References app, typrintinfo::paperrect, typrintinfo::printhandle, tyappletrecord::printinfo, r, and typrintinfo::vpagepixels.

Referenced by initprint(), pagesetup(), and printappwindow().

static void disposeprintinfo void   )  [static]
 

Definition at line 36 of file appletprinting.c.

References app, disposehandle(), nil, typrintinfo::printhandle, and tyappletrecord::printinfo.

Referenced by initprint().

Here is the call graph for this function:

boolean getprintinfo void   ) 
 

Definition at line 129 of file appletprinting.c.

References initprint().

Referenced by getpagerectverb().

Here is the call graph for this function:

boolean initprint void   ) 
 

Definition at line 79 of file appletprinting.c.

References app, checkprinterror(), clearbytes(), copyprintinfo(), disposeprintinfo(), error, flprintinit, h, longsizeof, newclearhandle(), typrintinfo::paperrect, typrintinfo::printhandle, and tyappletrecord::printinfo.

Referenced by getprintinfo(), main(), pagesetup(), and printappwindow().

Here is the call graph for this function:

boolean pagesetup void   ) 
 

Definition at line 153 of file appletprinting.c.

References app, checkprinterror(), copyprintinfo(), initprint(), pagesetupvisit(), typrintinfo::printhandle, tyappletrecord::printinfo, and visitappwindows().

Referenced by handlemenu().

Here is the call graph for this function:

static boolean pagesetupvisit hdlappwindow  appwindow  )  [static]
 

Definition at line 143 of file appletprinting.c.

References app, tyappletrecord::pagesetupcallback, and setappwindow().

Referenced by pagesetup().

Here is the call graph for this function:

boolean printappwindow hdlappwindow  appwindow,
boolean  fldialog
 

Definition at line 180 of file appletprinting.c.

References app, appserviceeventqueue(), tyappletrecord::appwindow, checkprinterror(), computewindowinfo(), copyprintinfo(), typrintinfo::ctpages, fl, i, initprint(), nil, noErr, tyappletrecord::openprintcallback, printcomputewindowinfo(), typrintinfo::printhandle, tyappletrecord::printinfo, tyappletrecord::printpagecallback, pushmacport(), setappwindow(), and watchcursor().

Referenced by handlemenu(), printfilespec(), and printwindowverb().

Here is the call graph for this function:

static void printcomputewindowinfo WindowPtr  w,
hdlappwindow  appwindow
[static]
 

Definition at line 16 of file appletprinting.c.

References r, and zerorect().

Referenced by printappwindow().

Here is the call graph for this function:


Variable Documentation

boolean flprintinit = false [static]
 

Definition at line 13 of file appletprinting.c.

Referenced by initprint().


Generated on Wed May 31 21:42:55 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6