#include "spice.h"
#include "sced.h"
#include "scedmacs.h"
#include "plotext.h"
#include <time.h>
Go to the source code of this file.
Definition at line 36 of file hcopy.c.
static void hcpy_display()
static void hcpy_display |
( |
| ) |
|
|
static |
static void hcpy_display |
( |
GRAPH* |
graph | ) |
|
|
static |
Definition at line 55 of file hcopy.c.
61 long VPmaxX,VPmaxY,MidX,Wid,Hei;
78 init_window((R+L)/2,(T+B)/2,(R-L)+(R-L)/10,((T-B)+(T-B)/10)/2);
109 if (((
double)(T-B))/(R-L) >
110 ((
double)VPmaxY)/VPmaxX) {
112 Ratio = ((double)(T-B))/VPmaxY;
113 Hei = (long)(.5 + (
double)(T-B + Leg*Ratio)/2);
117 Ratio = ((double)(R-L))/VPmaxX;
118 Hei = (VPmaxY+Leg)*Ratio/2;
120 T = (T+B + Ratio*VPmaxY)/2;
static void init_window()
static char buf[MAXPROMPT]
struct ka * kvCoarseWindow
struct graph::@2 absolute
#define COARSEVIEWPORTONLY
static void init_hc_viewport()
#define SwapInts(Dragon, Eagle)
static void init_hc_viewport |
( |
| ) |
|
|
static |
Definition at line 157 of file hcopy.c.
struct ka * kvLargeCoarseViewport
static void init_window |
( |
| ) |
|
|
static |
static void init_window |
( |
long |
X, |
|
|
long |
Y, |
|
|
long |
Width, |
|
|
long |
HalfHeight |
|
) |
| |
|
static |
Definition at line 138 of file hcopy.c.
struct ka * kvCoarseWindow
struct ka * kvCoarseViewport