824N/A/*
824N/A * XDPSpwraps.psw
824N/A *
824N/A * (c) Copyright 1990-1994 Adobe Systems Incorporated.
824N/A * All rights reserved.
824N/A *
824N/A * Permission to use, copy, modify, distribute, and sublicense this software
824N/A * and its documentation for any purpose and without fee is hereby granted,
824N/A * provided that the above copyright notices appear in all copies and that
824N/A * both those copyright notices and this permission notice appear in
824N/A * supporting documentation and that the name of Adobe Systems Incorporated
824N/A * not be used in advertising or publicity pertaining to distribution of the
824N/A * software without specific, written prior permission. No trademark license
824N/A * to use the Adobe trademarks is hereby granted. If the Adobe trademark
824N/A * "Display PostScript"(tm) is used to describe this software, its
824N/A * functionality or for any other purpose, such use shall be limited to a
824N/A * statement that this software works in conjunction with the Display
824N/A * PostScript system. Proper trademark attribution to reflect Adobe's
824N/A * ownership of the trademark shall be given whenever any such reference to
824N/A * the Display PostScript system is made.
824N/A *
824N/A * ADOBE MAKES NO REPRESENTATIONS ABOUT THE SUITABILITY OF THE SOFTWARE FOR
824N/A * ANY PURPOSE. IT IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY.
824N/A * ADOBE DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL
824N/A * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
824N/A * NON- INFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL ADOBE BE LIABLE
824N/A * TO YOU OR ANY OTHER PARTY FOR ANY SPECIAL, INDIRECT, OR CONSEQUENTIAL
824N/A * DAMAGES OR ANY DAMAGES WHATSOEVER WHETHER IN AN ACTION OF CONTRACT,
824N/A * NEGLIGENCE, STRICT LIABILITY OR ANY OTHER ACTION ARISING OUT OF OR IN
824N/A * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ADOBE WILL NOT
824N/A * PROVIDE ANY TRAINING OR OTHER SUPPORT FOR THE SOFTWARE.
824N/A *
824N/A * Adobe, PostScript, and Display PostScript are trademarks of Adobe Systems
824N/A * Incorporated which may be registered in certain jurisdictions
824N/A *
824N/A * Author: Adobe Systems Incorporated
824N/A */
824N/A
824N/Adefineps _DPSPSetMatrix(DPSContext ctxt; int xOffset, yOffset;
824N/A double pixelsPerPoint)
824N/A gsave
824N/A initmatrix
824N/A 1 1 idtransform abs exch abs exch scale
824N/A % matrix is identity modulo sign
824N/A pixelsPerPoint dup scale
824N/A xOffset yOffset translate
824N/Aendps
824N/A
824N/Adefineps _DPSPClearArea(DPSContext ctxt; int x, y, width, height)
824N/A 1 setgray
824N/A x y width height rectfill
824N/Aendps
824N/A
824N/Adefineps _DPSPSetMaskTransfer(DPSContext ctxt)
824N/A {pop 0} dup dup dup setcolortransfer
824N/A {pop 0} settransfer
824N/Aendps
824N/A
824N/Adefineps _DPSPDefineExecFunction(DPSContext ctxt)
824N/A $Adobe$DPS$Lib$Dict begin
824N/A /ExecPS {
824N/A $Adobe$DPS$Lib$Dict /doclientsync 3 -1 roll put
824N/A $Adobe$DPS$Lib$Dict /execSuccess false put
824N/A (%stdin) (r) file
824N/A cvx stopped
824N/A pop % always true
824N/A % Flush until you get the magic line
824N/A {
824N/A {currentfile 256 string readline} stopped
824N/A pop % don't care stopped result
824N/A pop % don't care readline bool result
824N/A(Magic end of data line \)\)\)\)\)\)\)\)\)\) 99#2 2#99 <xyz> // 7gsad,32h4ghNmndFgj2)
824N/A eq
824N/A {exit} if
824N/A } loop
824N/A $Adobe$DPS$Lib$Dict /doclientsync get {
824N/A clientsync
824N/A } if
824N/A } def end
824N/Aendps
824N/A
824N/Adefineps _DPSPSaveBeforeExec(DPSContext ctxt; boolean noWait)
824N/A $Adobe$DPS$Lib$Dict /EPSFsave save put
824N/A clear cleardictstack
824N/A /showpage {} def
824N/A 0 setgray 0 setlinecap
824N/A 1 setlinewidth 0 setlinejoin
824N/A 10 setmiterlimit [] 0 setdash newpath
824N/A noWait
824N/A $Adobe$DPS$Lib$Dict /ExecPS get
824N/Aendps
824N/A
824N/Adefineps _DPSPCheckForError(DPSContext ctxt | boolean *err)
824N/A $Adobe$DPS$Lib$Dict /execSuccess get not err
824N/A clear
824N/A cleardictstack
824N/Aendps