zoom.c File Reference

#include "frontier.h"
#include "standard.h"
#include "quickdraw.h"
#include "cursor.h"
#include "ops.h"
#include "dialogs.h"
#include "zoom.h"
#include "shell.h"
#include "shellprivate.h"

Include dependency graph for zoom.c:

Go to the source code of this file.

Defines

#define zoomfixer   65536L

Functions

void zoomsetdefaultrect (WindowPtr w, Rect r)
static short zoomblend (short i1, short i2)
void zoomrect (Rect *rfrom, Rect *rto, boolean flzoomup)
void zoomport (Rect rsource, WindowPtr w, boolean flzoomup)
void zoomwindowfrom (Rect rsource, WindowPtr w)
void zoomwindowto (Rect rsource, WindowPtr w)
void zoomcenterrect (Rect *rcenter)
void zoomwindowtocenter (Rect r, WindowPtr w)
void zoomwindowfromcenter (Rect r, WindowPtr w)
void zoomfromorigin (WindowPtr w)
void zoomtoorigin (WindowPtr w)
void zoominit (void)

Variables

static long ctzoomdelayloops = 0
static Rect rdefaultzoomfrom = {0, 0, 0, 0}
static short zoomsteps = 14
static Point zoomratio = {5, 6}
Fixed zoomfract


Define Documentation

#define zoomfixer   65536L
 

Definition at line 45 of file zoom.c.

Referenced by zoomblend(), and zoomrect().


Function Documentation

static short zoomblend short  i1,
short  i2
[static]
 

Definition at line 83 of file zoom.c.

References zoomfixer, and zoomfract.

Referenced by zoomrect().

void zoomcenterrect Rect rcenter  ) 
 

Definition at line 343 of file zoom.c.

References r.

Referenced by zoomwindowfromcenter(), and zoomwindowtocenter().

void zoomfromorigin WindowPtr  w  ) 
 

Definition at line 389 of file zoom.c.

References r, and zoomwindowfrom().

Here is the call graph for this function:

void zoominit void   ) 
 

Definition at line 523 of file zoom.c.

References counttickloops(), ctzoomdelayloops, tyPoint::h, tyPoint::v, zoomratio, and zoomsteps.

Here is the call graph for this function:

void zoomport Rect  rsource,
WindowPtr  w,
boolean  flzoomup
 

Definition at line 226 of file zoom.c.

References insetrect(), localtoglobalrect(), and zoomrect().

Here is the call graph for this function:

void zoomrect Rect rfrom,
Rect rto,
boolean  flzoomup
 

Definition at line 97 of file zoom.c.

References burntickloops(), ctzoomdelayloops, framerect(), tyPoint::h, i, pushdesktopport(), pushpen(), rdefaultzoomfrom, setgraypen(), shellisactive(), tyPoint::v, zoomblend(), zoomfixer, zoomfract, zoomratio, and zoomsteps.

Referenced by zoomport().

Here is the call graph for this function:

void zoomsetdefaultrect WindowPtr  w,
Rect  r
 

Definition at line 56 of file zoom.c.

References localtoglobalrect(), and rdefaultzoomfrom.

Here is the call graph for this function:

void zoomtoorigin WindowPtr  w  ) 
 

Definition at line 399 of file zoom.c.

References r, and zoomwindowto().

Here is the call graph for this function:

void zoomwindowfrom Rect  rsource,
WindowPtr  w
 

Definition at line 285 of file zoom.c.

References popport(), pushport(), and zoomport().

Referenced by zoomfromorigin(), and zoomwindowfromcenter().

Here is the call graph for this function:

void zoomwindowfromcenter Rect  r,
WindowPtr  w
 

Definition at line 375 of file zoom.c.

References zoomcenterrect(), and zoomwindowfrom().

Here is the call graph for this function:

void zoomwindowto Rect  rsource,
WindowPtr  w
 

Definition at line 314 of file zoom.c.

References popport(), pushport(), and zoomport().

Referenced by zoomtoorigin(), and zoomwindowtocenter().

Here is the call graph for this function:

void zoomwindowtocenter Rect  r,
WindowPtr  w
 

Definition at line 361 of file zoom.c.

References zoomcenterrect(), and zoomwindowto().

Here is the call graph for this function:


Variable Documentation

long ctzoomdelayloops = 0 [static]
 

Definition at line 41 of file zoom.c.

Referenced by zoominit(), and zoomrect().

Rect rdefaultzoomfrom = {0, 0, 0, 0} [static]
 

Definition at line 43 of file zoom.c.

Referenced by zoomrect(), and zoomsetdefaultrect().

Fixed zoomfract
 

Definition at line 51 of file zoom.c.

Referenced by zoomblend(), and zoomrect().

Point zoomratio = {5, 6} [static]
 

Definition at line 49 of file zoom.c.

Referenced by zoominit(), and zoomrect().

short zoomsteps = 14 [static]
 

Definition at line 47 of file zoom.c.


Generated on Thu Jun 15 02:29:04 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6