MACHINE.H File Reference

#include "PAIGE.H"
#include <FixMath.h>
#include <ToolUtils.h>

Include dependency graph for MACHINE.H:

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

Go to the source code of this file.

Defines

#define OFFSCREEN_SUCCESSFUL   1
#define OFFSCREEN_UNSUCCESSFUL   -1
#define CTL_CHAR_BITS   (PAR_SEL_BIT | LINE_SEL_BIT | TAB_BIT)
#define NON_CTL_CHAR_BITS   (long) (~CTL_CHAR_BITS)
#define DOUBLE_UNDERLINE   0x0001
#define GRAY_UNDERLINE   0x0002
#define WORD_UNDERLINE   0x0004
#define FAKE_UNDERLINE   0x0008
#define OVERLINE_LINE   0x0010
#define FONT_NAME_SIZE(fname)   (short)fname[0]
#define CLIP_PAGE_CHANGED   0x0001
#define CLIP_VIS_CHANGED   0x0002
#define CLIP_EXCLUDE_CHANGED   0x0004
#define CLIP_DEVICE_CHANGED   0x0008
#define CLIP_SCROLL_CHANGED   0x0010
#define pgReleasePlatformDevice(the_device)
#define pgMultiplyFixed(fix1, fix2)   (pg_fixed)FixMul(fix1,fix2)
#define pgDivideFixed(fix1, fix2)   (pg_fixed)FixDiv(fix1,fix2)
#define pgRoundFixed(fix)   (pg_fixed)(((fix) + 0x00008000) & 0xFFFF0000)
#define pgFixedRatio(n, d)   (pg_fixed)FixRatio(n,d)

Enumerations

enum  { clip_standard_verb, clip_with_none_verb }

Functions

 PG_PASCAL (long) PaigeToQDStyle(const style_info_ptr the_style)
 PG_PASCAL (void) QDStyleToPaige(long qd_styles
 PG_PASCAL (GrafPtr) pgGetPlatformDevice(graf_device_ptr the_device)
 PG_PASCAL (pg_boolean) pgFinishOffscreen(paige_rec_ptr pg
 PG_PASCAL (pg_region) pgScrollRect(paige_rec_ptr pg
 PG_PASCAL (pg_short_t) pgMeasureText(paige_rec_ptr pg

Variables

style_info_ptr the_style
graf_device_ptr device
font_info_ptr font
style_info_ptr style
style_info_ptr font_info_ptr def_font
par_info_ptr def_par
short clip_verb
short shape_ref alternate_vis
rectangle_ptr target_area
rectangle_ptr rectangle_ptr real_bits_target
rectangle_ptr rectangle_ptr
co_ordinate_ptr 
offset_adjust
rectangle_ptr rectangle_ptr
co_ordinate_ptr long 
text_offset
rectangle_ptr rectangle_ptr
co_ordinate_ptr long point_start_ptr 
line_start
rectangle_ptr rectangle_ptr
co_ordinate_ptr long point_start_ptr
short 
draw_mode
long text_offset
long point_start_ptr line_start
long point_start_ptr co_ordinate_ptr new_offset
long point_start_ptr co_ordinate_ptr
rectangle_ptr 
new_target
long point_start_ptr co_ordinate_ptr
rectangle_ptr short 
draw_mode
rectangle_ptr rect
rectangle_ptr long distance_h
rectangle_ptr long long distance_v
rectangle_ptr long long rectangle_ptr affected_area
rectangle_ptr long long rectangle_ptr
short 
draw_mode
rectangle_ptr rect
rectangle_ptr pg_scale_ptr scaling
rectangle_ptr pg_scale_ptr
co_ordinate_ptr 
offset_extra
short measure_verb
short pg_char_ptr data
short pg_char_ptr long length
short pg_char_ptr long long slop
short pg_char_ptr long long
long 
num_spaces
short pg_char_ptr long long
long pg_text_int PG_FAR * 
positions
short pg_char_ptr long long
long pg_text_int PG_FAR style_walk_ptr 
walker
color_value_ptr color
color_value_ptr color2
style_walk_ptr walker
style_walk_ptr pg_char_ptr text
style_walk_ptr pg_char_ptr
long 
length
style_walk_ptr pg_char_ptr
long pg_boolean PG_FAR * 
did_scale
style_walk_ptr walker
style_walk_ptr short draw_bits
style_walk_ptr short pg_char_ptr text
style_walk_ptr short pg_char_ptr
pg_short_t 
offset
style_walk_ptr short pg_char_ptr
pg_short_t pg_short_t 
length
style_walk_ptr short pg_char_ptr
pg_short_t pg_short_t long 
extra
style_walk_ptr short pg_char_ptr
pg_short_t pg_short_t long
draw_points_ptr 
draw_position
pg_char_ptr target_str
pg_char_ptr short max_target_size
font_info_ptr font
font_info_ptr pg_boolean use_alternate
pg_fixed pointsize
pg_fixed screensize
color_value_ptr pg_color
pg_plat_color_value PG_FAR * os_color
long length
long pg_char_ptr target
long pg_char_ptr pg_boolean do_uppercase
graf_device_ptr print_dev
graf_device_ptr long first_position
graf_device_ptr long rectangle_ptr page_rect
graf_device_ptr print_dev


Define Documentation

#define CLIP_DEVICE_CHANGED   0x0008
 

Definition at line 55 of file MACHINE.H.

#define CLIP_EXCLUDE_CHANGED   0x0004
 

Definition at line 54 of file MACHINE.H.

#define CLIP_PAGE_CHANGED   0x0001
 

Definition at line 52 of file MACHINE.H.

#define CLIP_SCROLL_CHANGED   0x0010
 

Definition at line 56 of file MACHINE.H.

#define CLIP_VIS_CHANGED   0x0002
 

Definition at line 53 of file MACHINE.H.

#define CTL_CHAR_BITS   (PAR_SEL_BIT | LINE_SEL_BIT | TAB_BIT)
 

Definition at line 24 of file MACHINE.H.

#define DOUBLE_UNDERLINE   0x0001
 

Definition at line 26 of file MACHINE.H.

#define FAKE_UNDERLINE   0x0008
 

Definition at line 29 of file MACHINE.H.

#define FONT_NAME_SIZE fname   )     (short)fname[0]
 

Definition at line 32 of file MACHINE.H.

#define GRAY_UNDERLINE   0x0002
 

Definition at line 27 of file MACHINE.H.

#define NON_CTL_CHAR_BITS   (long) (~CTL_CHAR_BITS)
 

Definition at line 25 of file MACHINE.H.

#define OFFSCREEN_SUCCESSFUL   1
 

Definition at line 21 of file MACHINE.H.

#define OFFSCREEN_UNSUCCESSFUL   -1
 

Definition at line 22 of file MACHINE.H.

#define OVERLINE_LINE   0x0010
 

Definition at line 30 of file MACHINE.H.

#define pgDivideFixed fix1,
fix2   )     (pg_fixed)FixDiv(fix1,fix2)
 

Definition at line 131 of file MACHINE.H.

#define pgFixedRatio n,
 )     (pg_fixed)FixRatio(n,d)
 

Definition at line 133 of file MACHINE.H.

#define pgMultiplyFixed fix1,
fix2   )     (pg_fixed)FixMul(fix1,fix2)
 

Definition at line 130 of file MACHINE.H.

#define pgReleasePlatformDevice the_device   ) 
 

Definition at line 72 of file MACHINE.H.

#define pgRoundFixed fix   )     (pg_fixed)(((fix) + 0x00008000) & 0xFFFF0000)
 

Definition at line 132 of file MACHINE.H.

#define WORD_UNDERLINE   0x0004
 

Definition at line 28 of file MACHINE.H.


Enumeration Type Documentation

anonymous enum
 

Enumerator:
clip_standard_verb 
clip_with_none_verb 

Definition at line 36 of file MACHINE.H.


Function Documentation

PG_PASCAL pg_short_t   ) 
 

PG_PASCAL pg_region   ) 
 

PG_PASCAL pg_boolean   ) 
 

PG_PASCAL GrafPtr   ) 
 

PG_PASCAL void   ) 
 

PG_PASCAL long   )  const
 


Variable Documentation

rectangle_ptr long long rectangle_ptr affected_area
 

Definition at line 89 of file MACHINE.H.

short shape_ref alternate_vis
 

Definition at line 78 of file MACHINE.H.

short clip_verb
 

Definition at line 78 of file MACHINE.H.

color_value_ptr color
 

Definition at line 96 of file MACHINE.H.

Referenced by langassigncolorvalue().

color_value_ptr color2
 

Definition at line 97 of file MACHINE.H.

short pg_char_ptr data
 

Definition at line 93 of file MACHINE.H.

style_info_ptr font_info_ptr def_font
 

Definition at line 68 of file MACHINE.H.

par_info_ptr def_par
 

Definition at line 69 of file MACHINE.H.

graf_device_ptr device
 

Definition at line 66 of file MACHINE.H.

style_walk_ptr pg_char_ptr long pg_boolean PG_FAR* did_scale
 

Definition at line 98 of file MACHINE.H.

rectangle_ptr long distance_h
 

Definition at line 89 of file MACHINE.H.

rectangle_ptr long long distance_v
 

Definition at line 89 of file MACHINE.H.

long pg_char_ptr pg_boolean do_uppercase
 

Definition at line 114 of file MACHINE.H.

style_walk_ptr short draw_bits
 

Definition at line 100 of file MACHINE.H.

rectangle_ptr long long rectangle_ptr short draw_mode
 

Definition at line 89 of file MACHINE.H.

long point_start_ptr co_ordinate_ptr rectangle_ptr short draw_mode
 

Definition at line 85 of file MACHINE.H.

rectangle_ptr rectangle_ptr co_ordinate_ptr long point_start_ptr short draw_mode
 

Definition at line 82 of file MACHINE.H.

style_walk_ptr short pg_char_ptr pg_short_t pg_short_t long draw_points_ptr draw_position
 

Definition at line 100 of file MACHINE.H.

style_walk_ptr short pg_char_ptr pg_short_t pg_short_t long extra
 

Definition at line 100 of file MACHINE.H.

graf_device_ptr long first_position
 

Definition at line 116 of file MACHINE.H.

font_info_ptr font
 

Definition at line 107 of file MACHINE.H.

font_info_ptr font
 

Definition at line 67 of file MACHINE.H.

long length
 

Definition at line 114 of file MACHINE.H.

style_walk_ptr short pg_char_ptr pg_short_t pg_short_t length
 

Definition at line 100 of file MACHINE.H.

style_walk_ptr pg_char_ptr long length
 

Definition at line 98 of file MACHINE.H.

short pg_char_ptr long length
 

Definition at line 93 of file MACHINE.H.

long point_start_ptr line_start
 

Definition at line 85 of file MACHINE.H.

rectangle_ptr rectangle_ptr co_ordinate_ptr long point_start_ptr line_start
 

Definition at line 82 of file MACHINE.H.

pg_char_ptr short max_target_size
 

Definition at line 104 of file MACHINE.H.

short measure_verb
 

Definition at line 93 of file MACHINE.H.

long point_start_ptr co_ordinate_ptr new_offset
 

Definition at line 85 of file MACHINE.H.

long point_start_ptr co_ordinate_ptr rectangle_ptr new_target
 

Definition at line 85 of file MACHINE.H.

short pg_char_ptr long long long num_spaces
 

Definition at line 93 of file MACHINE.H.

style_walk_ptr short pg_char_ptr pg_short_t offset
 

Definition at line 100 of file MACHINE.H.

rectangle_ptr rectangle_ptr co_ordinate_ptr offset_adjust
 

Definition at line 82 of file MACHINE.H.

rectangle_ptr pg_scale_ptr co_ordinate_ptr offset_extra
 

Definition at line 91 of file MACHINE.H.

pg_plat_color_value PG_FAR* os_color
 

Definition at line 112 of file MACHINE.H.

graf_device_ptr long rectangle_ptr page_rect
 

Definition at line 116 of file MACHINE.H.

color_value_ptr pg_color
 

Definition at line 111 of file MACHINE.H.

pg_fixed pointsize
 

Definition at line 109 of file MACHINE.H.

short pg_char_ptr long long long pg_text_int PG_FAR* positions
 

Definition at line 93 of file MACHINE.H.

graf_device_ptr print_dev
 

Definition at line 118 of file MACHINE.H.

graf_device_ptr print_dev
 

Definition at line 116 of file MACHINE.H.

rectangle_ptr rectangle_ptr real_bits_target
 

Definition at line 82 of file MACHINE.H.

rectangle_ptr rect
 

Definition at line 91 of file MACHINE.H.

rectangle_ptr rect
 

Definition at line 89 of file MACHINE.H.

Referenced by IACgetobjectattributes(), IACsetobjectattributes(), and main().

rectangle_ptr pg_scale_ptr scaling
 

Definition at line 91 of file MACHINE.H.

pg_fixed screensize
 

Definition at line 110 of file MACHINE.H.

short pg_char_ptr long long slop
 

Definition at line 93 of file MACHINE.H.

style_info_ptr style
 

Definition at line 68 of file MACHINE.H.

long pg_char_ptr target
 

Definition at line 114 of file MACHINE.H.

Referenced by CoerceTargetIDToType(), IACnewnetworkverb(), landsystem7getsenderinfo(), langgettargetfunc(), osacreateevent(), and osadefaultcreate().

rectangle_ptr target_area
 

Definition at line 82 of file MACHINE.H.

pg_char_ptr target_str
 

Definition at line 104 of file MACHINE.H.

style_walk_ptr short pg_char_ptr text
 

Definition at line 100 of file MACHINE.H.

style_walk_ptr pg_char_ptr text
 

Definition at line 98 of file MACHINE.H.

long text_offset
 

Definition at line 85 of file MACHINE.H.

rectangle_ptr rectangle_ptr co_ordinate_ptr long text_offset
 

Definition at line 82 of file MACHINE.H.

style_info_ptr the_style
 

Definition at line 61 of file MACHINE.H.

font_info_ptr pg_boolean use_alternate
 

Definition at line 107 of file MACHINE.H.

style_walk_ptr walker
 

Definition at line 100 of file MACHINE.H.

style_walk_ptr walker
 

Definition at line 98 of file MACHINE.H.

short pg_char_ptr long long long pg_text_int PG_FAR style_walk_ptr walker
 

Definition at line 93 of file MACHINE.H.


Generated on Tue Jun 6 16:36:40 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6