Display PostScript: Difference between revisions

Content deleted Content added
m See also: add ref sect
Design: While an ordered list (array) may be faster to look up than a hash map, there’s no mention that an array is used
Tags: Mobile edit Mobile web edit
Line 12:
 
* ''Multiple execution contexts'': Unlike a printer environment where a PS interpreter processes one job at a time, DPS would be used in a number of [[Window (computing)|window]]s at the same time, each with their own settings (colors, brush settings, scale, etc.). This required a modification to the system to allow it to keep several "contexts" (sets of state data) active, one for each process (window).
* ''Encoded names'': Many of the procedures and data structures in PostScript are looked up by name, string identifier. In DPS these names could be replaced by integers, which are much faster for a computer to find.{{citation needed}}
* ''Interaction support'': A number of procedures were defined to handle interaction, including [[hit detection]].
* ''Halftone phase'': In order to improve scrolling performance, DPS only drew the small portion of the window that became visible, shifting the rest of the image instead of re-drawing it. However this meant that the [[halftone]]s might not line up, producing visible lines and boxes in the display of graphics. DPS included additional code to properly handle these cases. Modern full-color displays with no halftones have made this idea mostly obsolete.