appletquickdraw.h File Reference

#include "appletdefs.h"

Include dependency graph for appletquickdraw.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

boolean pushstyle (short, short, short)
boolean popstyle (void)
short getmenubarheight (void)
void setrect (Rect *, short, short, short, short)
void eraserect (Rect)
void movepento (short, short)
void pendrawline (short, short)
void invalrect (Rect)
void smashrect (Rect)
void insetrect (Rect *, short, short)
boolean equalpoints (Point, Point)
boolean emptyrect (Rect)
boolean rectlessthan (Rect, Rect)
void dropshadowrect (Rect, short, boolean)
void invaldropshadow (Rect, short)
boolean equalcolors (RGBColor *, RGBColor *)
boolean pushforecolor (const RGBColor *)
boolean popforecolor (void)
boolean pushbackcolor (const RGBColor *)
boolean popbackcolor (void)
boolean pushcolors (const RGBColor *, const RGBColor *)
boolean popcolors (void)
boolean pushgridcolor (RGBColor *)
boolean pushhighlightcolor (RGBColor *)
boolean systemhascolor (void)
boolean getcolorpalette (WindowPtr)
boolean openbitmap (Rect, WindowPtr)
void closebitmap (WindowPtr)
boolean plotsmallicon (Rect, short, short, boolean)
boolean colorenabled (void)
boolean constraintodesktop (WindowPtr, Rect *)
void drawicon (Rect, short, Handle)
void localtoglobalrect (WindowPtr, Rect *)
short pointdist (Point, Point)
boolean pushpen (void)
boolean poppen (void)
boolean pushmacport (GrafPtr)
boolean popmacport (void)
boolean pushclip (Rect)
boolean popclip (void)
void centerrect (Rect *, Rect)
void ellipsize (Str255, short)
void centerstring (Rect, bigstring)
void centerwindow (WindowPtr, Rect)
void grayrect (Rect)
boolean pointinrect (Point, Rect)
void validrect (Rect)
boolean pushemptyclip (void)
void globaltolocalpoint (WindowPtr, Point *)
void localtoglobalpoint (WindowPtr, Point *)
void zerorect (Rect *)
boolean equalrects (Rect, Rect)
void scrollrect (Rect, short, short)
boolean oldclutconverter (short, RGBColor *)

Variables

RGBColor blackcolor
RGBColor whitecolor
RGBColor lightbluecolor
RGBColor lightgraycolor
RGBColor graycolor
RGBColor darkgraycolor
RGBColor lightyellowcolor
RGBColor lightgreencolor
RGBColor lightpurplecolor
RGBColor lightredcolor
RGBColor darkredcolor
RGBColor darkbluecolor
RGBColor darkgreencolor
RGBColor mediumgraycolor
RGBColor darkpurplecolor


Function Documentation

void centerrect Rect ,
Rect 
 

Definition at line 1056 of file quickdraw.c.

References r.

void centerstring Rect  ,
bigstring 
 

Definition at line 1387 of file appletquickdraw.c.

References tyFontInfo::ascent, tyFontInfo::descent, ellipsize(), globalfontinfo, h, popclip(), pushclip(), and v.

Here is the call graph for this function:

void centerwindow WindowPtr  ,
Rect 
 

Definition at line 1415 of file appletquickdraw.c.

References doctitlebarheight, getmenubarheight(), h, r, and v.

Here is the call graph for this function:

void closebitmap WindowPtr   ) 
 

Definition at line 346 of file bitmaps.c.

References bitoffscreen, closemono(), closeworld(), flbitmapopen, flbitmapsenabled, and flhas32bitqd.

Here is the call graph for this function:

boolean colorenabled void   ) 
 

Definition at line 2777 of file quickdraw.c.

References bounds, maxdepth, NULL, quickdrawglobal, and systemhascolor().

Here is the call graph for this function:

boolean constraintodesktop WindowPtr  ,
Rect
 

Definition at line 2570 of file quickdraw.c.

References accountfortitlebar(), constraintorect(), and getdesktopbounds().

Here is the call graph for this function:

void drawicon Rect  ,
short  ,
Handle 
 

Definition at line 1272 of file appletquickdraw.c.

void dropshadowrect Rect  ,
short  ,
boolean 
 

Definition at line 1619 of file quickdraw.c.

References fillrect(), h, i, pushpen(), r, and v.

Here is the call graph for this function:

void ellipsize Str255  ,
short 
 

Definition at line 1352 of file appletquickdraw.c.

boolean emptyrect Rect   ) 
 

Definition at line 359 of file appletquickdraw.c.

boolean equalcolors RGBColor ,
RGBColor
 

Definition at line 710 of file appletquickdraw.c.

Referenced by pushgridcolor(), and setcardtextcolor().

boolean equalpoints Point  ,
Point 
 

Definition at line 902 of file quickdraw.c.

References tyPoint::h, and tyPoint::v.

boolean equalrects Rect  ,
Rect 
 

Definition at line 1422 of file quickdraw.c.

void eraserect Rect   ) 
 

Definition at line 1794 of file quickdraw.c.

References isemptyrect, recttowinrect(), and topbackcolor.

Here is the call graph for this function:

boolean getcolorpalette WindowPtr   ) 
 

Definition at line 783 of file appletquickdraw.c.

References getclut(), and nil.

Referenced by newappwindow().

Here is the call graph for this function:

short getmenubarheight void   ) 
 

Definition at line 250 of file quickdraw.c.

void globaltolocalpoint WindowPtr  ,
Point
 

Definition at line 1511 of file quickdraw.c.

References popmacport(), popport(), pt, pushmacport(), pushport(), and short.

Here is the call graph for this function:

void grayrect Rect   ) 
 

Definition at line 1327 of file quickdraw.c.

References poppen(), pushpen(), and quickdrawglobal.

Here is the call graph for this function:

void insetrect Rect ,
short  ,
short 
 

Definition at line 2203 of file quickdraw.c.

References recttowinrect(), and winrecttorect().

Here is the call graph for this function:

void invaldropshadow Rect  ,
short 
 

Definition at line 473 of file appletquickdraw.c.

void invalrect Rect   ) 
 

Definition at line 1730 of file quickdraw.c.

References getcurrentwindow(), and recttowinrect().

Here is the call graph for this function:

void localtoglobalpoint WindowPtr  ,
Point
 

Definition at line 1548 of file quickdraw.c.

References nil, popmacport(), popport(), pt, pushmacport(), pushport(), quickdrawglobal, and short.

Here is the call graph for this function:

void localtoglobalrect WindowPtr  ,
Rect
 

Definition at line 1460 of file quickdraw.c.

References botRight, offsetrect(), popport(), pushport(), shellframewindow, and topLeft.

Here is the call graph for this function:

void movepento short  ,
short 
 

Definition at line 919 of file quickdraw.c.

References NULL.

boolean oldclutconverter short  ,
RGBColor
 

Definition at line 590 of file appletquickdraw.c.

References getclut().

Here is the call graph for this function:

boolean openbitmap Rect  ,
WindowPtr 
 

Definition at line 287 of file bitmaps.c.

References bitoffscreen, fl, flbitmapopen, flbitmapsenabled, flhas32bitqd, openmono(), openworld(), and systemhas32bitqd().

Here is the call graph for this function:

void pendrawline short  ,
short 
 

Definition at line 937 of file quickdraw.c.

boolean plotsmallicon Rect  ,
short  ,
short  ,
boolean 
 

Definition at line 1233 of file appletquickdraw.c.

References heightsmallicon, nil, and widthsmallicon.

short pointdist Point  ,
Point 
 

Definition at line 913 of file quickdraw.c.

References absint(), tyPoint::h, and tyPoint::v.

Here is the call graph for this function:

boolean pointinrect Point  ,
Rect 
 

Definition at line 2235 of file quickdraw.c.

References pt, and recttowinrect().

Here is the call graph for this function:

boolean popbackcolor void   ) 
 

Definition at line 802 of file quickdraw.c.

References backcolorstack, BIGSTRING, colorenabled(), DebugStr(), and topbackcolor.

Here is the call graph for this function:

boolean popclip void   ) 
 

Definition at line 584 of file quickdraw.c.

References BIGSTRING, clipstack, idclipstackempty, NULL, shellinternalerror, and topclip.

boolean popcolors void   ) 
 

Definition at line 835 of file quickdraw.c.

References popbackcolor(), and popforecolor().

Here is the call graph for this function:

boolean popforecolor void   ) 
 

Definition at line 735 of file quickdraw.c.

References BIGSTRING, colorenabled(), DebugStr(), forecolorstack, poppen(), and topforecolor.

Here is the call graph for this function:

boolean popmacport void   ) 
 

Definition at line 185 of file appletquickdraw.c.

References portstack, and topport.

boolean poppen void   ) 
 

Definition at line 861 of file quickdraw.c.

References BIGSTRING, idpenstackempty, penstack, shellinternalerror, toppen, and toppens.

boolean popstyle void   ) 
 

Definition at line 632 of file quickdraw.c.

References BIGSTRING, fnum, fsize, fstyle, getfontsizestyle(), idstylestackempty, setfontsizestyle(), setglobalfontsizestyle(), shellinternalerror, stylestack, and topstyle.

Here is the call graph for this function:

boolean pushbackcolor const RGBColor  ) 
 

Definition at line 761 of file quickdraw.c.

References BIGSTRING, colorenabled(), ctbackcolors, DebugStr(), and topbackcolor.

Here is the call graph for this function:

boolean pushclip Rect   ) 
 

Definition at line 451 of file quickdraw.c.

References clipstack, ctclip, DisposeRgn, NewRgn, pushcliprgn(), rgn, and topclip.

Here is the call graph for this function:

boolean pushcolors const RGBColor ,
const RGBColor
 

Definition at line 827 of file quickdraw.c.

References pushbackcolor(), and pushforecolor().

Here is the call graph for this function:

boolean pushemptyclip void   ) 
 

Definition at line 560 of file quickdraw.c.

References pushclip(), pushcliprgn(), r, rgn, and zerorect().

Here is the call graph for this function:

boolean pushforecolor const RGBColor  ) 
 

Definition at line 695 of file quickdraw.c.

References BIGSTRING, colorenabled(), ctforecolors, DebugStr(), penstack, topforecolor, and toppen.

Here is the call graph for this function:

boolean pushgridcolor RGBColor  ) 
 

Definition at line 721 of file appletquickdraw.c.

References equalcolors(), lightbluecolor, pushforecolor(), tyRGBColor::red, and whitecolor.

Referenced by drawgrid().

Here is the call graph for this function:

boolean pushhighlightcolor RGBColor  ) 
 

Definition at line 756 of file appletquickdraw.c.

References blackcolor, tyRGBColor::blue, tyRGBColor::green, pushforecolor(), tyRGBColor::red, and whitecolor.

Here is the call graph for this function:

boolean pushmacport GrafPtr   ) 
 

Definition at line 167 of file appletquickdraw.c.

References ctports, DebugStr(), nil, portstack, quickdrawglobal, and topport.

Here is the call graph for this function:

boolean pushpen void   ) 
 

Definition at line 842 of file quickdraw.c.

References checkdepth, ctpens, penstack, toppen, and toppens.

boolean pushstyle short  ,
short  ,
short 
 

Definition at line 606 of file quickdraw.c.

References BIGSTRING, checkdepth, ctstyle, getfontsizestyle(), idstylestackfull, setglobalfontsizestyle(), shellinternalerror, stylestack, and topstyle.

Here is the call graph for this function:

boolean rectlessthan Rect  ,
Rect 
 

Definition at line 369 of file appletquickdraw.c.

void scrollrect Rect  ,
short  ,
short 
 

Definition at line 2253 of file quickdraw.c.

References DisposeRgn, NewRgn, noErr, recttowinrect(), and rgn.

Here is the call graph for this function:

void setrect Rect ,
short  ,
short  ,
short  ,
short 
 

Definition at line 2189 of file quickdraw.c.

References r.

void smashrect Rect   ) 
 

Definition at line 1702 of file quickdraw.c.

References eraserect(), getcurrentwindow(), invalrect(), and recttowinrect().

Here is the call graph for this function:

boolean systemhascolor void   ) 
 

Definition at line 2890 of file quickdraw.c.

References gestalt(), and getgestaltattr().

Here is the call graph for this function:

void validrect Rect   ) 
 

Definition at line 1777 of file quickdraw.c.

References getcurrentwindow(), recttowinrect(), and shellwindow.

Here is the call graph for this function:

void zerorect Rect  ) 
 

Definition at line 1414 of file quickdraw.c.

References r.


Variable Documentation

RGBColor blackcolor
 

Definition at line 74 of file quickdraw.c.

RGBColor darkbluecolor
 

Definition at line 80 of file quickdraw.c.

RGBColor darkgraycolor
 

Definition at line 82 of file quickdraw.c.

RGBColor darkgreencolor
 

Definition at line 102 of file quickdraw.c.

RGBColor darkpurplecolor
 

Definition at line 96 of file quickdraw.c.

RGBColor darkredcolor
 

Definition at line 100 of file quickdraw.c.

RGBColor graycolor
 

Definition at line 84 of file quickdraw.c.

RGBColor lightbluecolor
 

Definition at line 78 of file quickdraw.c.

RGBColor lightgraycolor
 

Definition at line 88 of file quickdraw.c.

RGBColor lightgreencolor
 

Definition at line 92 of file quickdraw.c.

RGBColor lightpurplecolor
 

Definition at line 94 of file quickdraw.c.

RGBColor lightredcolor
 

Definition at line 98 of file quickdraw.c.

RGBColor lightyellowcolor
 

Definition at line 90 of file quickdraw.c.

RGBColor mediumgraycolor
 

Definition at line 86 of file quickdraw.c.

RGBColor whitecolor
 

Definition at line 72 of file quickdraw.c.


Generated on Wed May 31 21:43:34 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6