summaryrefslogtreecommitdiff
path: root/appl/lib/print/scaler.m
diff options
context:
space:
mode:
authorCharles.Forsyth <devnull@localhost>2006-12-22 17:07:39 +0000
committerCharles.Forsyth <devnull@localhost>2006-12-22 17:07:39 +0000
commit37da2899f40661e3e9631e497da8dc59b971cbd0 (patch)
treecbc6d4680e347d906f5fa7fca73214418741df72 /appl/lib/print/scaler.m
parent54bc8ff236ac10b3eaa928fd6bcfc0cdb2ba46ae (diff)
20060303a
Diffstat (limited to 'appl/lib/print/scaler.m')
-rw-r--r--appl/lib/print/scaler.m30
1 files changed, 30 insertions, 0 deletions
diff --git a/appl/lib/print/scaler.m b/appl/lib/print/scaler.m
new file mode 100644
index 00000000..e73dfdb4
--- /dev/null
+++ b/appl/lib/print/scaler.m
@@ -0,0 +1,30 @@
+Scaler: module
+{
+ PATH: con "/dis/lib/print/scaler.dis";
+
+ init: fn(debug: int, WidthInPixels, ScaleFactorMultiplier, ScaleFactorDivisor: int): ref RESSYNSTRUCT;
+ rasterin: fn(rs: ref RESSYNSTRUCT, inraster: array of int);
+ rasterout: fn(rs: ref RESSYNSTRUCT ): array of int;
+
+ RESSYNSTRUCT: adt {
+ Width: int;
+ ScaleFactorMultiplier: int;
+ ScaleFactorDivisor: int;
+ ScaleFactor: real;
+ iOutputWidth: int;
+ scaling: int;
+ ReplicateOnly: int;
+ Repeat: int;
+ RastersinBuffer: int;
+ Remainder: int;
+ Buffer: array of array of int;
+ oBuffer: array of array of int;
+ nready: int;
+ ndelivered: int;
+ };
+
+
+};
+
+
+NUMBER_RASTERS: con 3; # no of rasters to buffer