A METHOD OF GENERATING LINE PARTS

Abstract: A method of generating a line part of thickness D on a homoge­ nenous raster, the raster points of which are arranged in a number of parallel lines, and in which the bit representation of the line part (250) is stored in a word-oriented bit-map memory in the form of a large number of image points or pixels, by - determination of the envelope of the line part and the imaging of said envelope on the raster points, - determination of the length of the section through the line part for the successive raster lines, and - placing of the bit representation of said lengths in the bit-map memory at corresponding locations, the direction of the determined lengths corresponding to the word direction of the bit-map memory.

Description: This invention relates to a method of generating line parts in accordance with the preamble of claim 1. A method of this kind can be used in an electronic print system in which data concerning the line part to be formed can be input, for example by means of a connected work station, and be fed to a raster output scanner via a front-end system comprising a word-oriented bit-map memory. Raster ouput scanners of this kind are adapted to print a complete page linewise by means of serially presented data. A typical representative of this type of raster output scanners is a laser printer in which a light beam is modulated imagewise and in which said modulated light beam is deflected line-wise by means of a polygonal mirror over a light-sensitive surface such as a zinc-oxide binder layer which is applied to a flexible belt. In a known manner a latent image can be written thereon by means of the modulated light beam. This latent image can be developed in a known manner and transferred to a receiving material such as a sheet of paper. Text also requiring to be printed on a page can a so be input by means of the work station. In the front end such as described in the non pre-published European Patent application 0 217 449, this (coded) input text is expanded with font data stored in a memory, and the expanded text is also stored in the bit-map memory. In addition, graphical data, for example of an original, obtained by means of a scanner can be fed to the work station and bit-map memory. The work station is provided with a display by means of which the page to be printed can be composed. The layout of the page can be varied as required via the work station. Special commands input via the work station enable the front end to generate all kinds of curves e.g. straight lines parts, circles or arcs etc. and locate them in the bit-map memory. The increasing resolution of raster output scanners makes them increasingly suitable for printing graphical information. The graphical information (line parts or the like) must be imaged on the raster of the raster output scanner. The imaging process comprises determining the collection of raster points to be activated. The activated raster points are thus written in a word-oriented bit-map memory. In view of the large number of raster points to be generated, rapid processing thereof is essential. In "Graphics Capabilities on a laser printer", Hewlett Packard Journal, November 1983, pp 17-22, a method for converting vectors into a raster image is described. The generation of a line defends on its direction or angle with the X-axis. When a line is primarily horizontal for each value of x, y is calculated and the dots in a y-direction at width/2 are plotted above and below this value. When a line is primarily vertical for each value of y, x is calculated and the points in a x-direction at width/2 to the left and right of this value are plotted. In a word-oriented bit map memory, wherein the word direction lies in the direction of the raster lines (p.e. the y-direction) the method as described would give a number of dots to the left and the right side of a centre point, whereby each dot has to be stored in a different word of the word oriented bit map memory. This would be very time consuming, since for every x only one bit in an 8- or 16 bit word has to be stored without affecting the other bits in the word. The object of the invention, accordingly, is to provide a method of generating line parts which corresponds to the high printing speed with high printer resolution. According to the invention this object is achieved in a method according to the preamble by the characterising part of claim 1. Consequently, line part generations with simple and hence rapid algorithms can be obtained and the number of required memory access cycles is minimal. These and other advantages will be made clear by reference to the description which follows below and by means of Figures, in which: Fig. 1 is a diagrammatic representation of the front-end system, Fig. 2 represents the processes which can be performed by the raster image processor, Fig. 3 is a diagrammatic representation of a raster image processor, Fig. 4 is a diagrammatic representation of a VME-bus interface, Fig. 5 is a diagrammatic representation of a laser scan module interface, Fig. 6 is a diagrammatic representation of a 16-bits processor system of the raster image processor, Fig. 7 is a diagrammatic representation of a raster image bus interface, Fig. 8 is a diagrammatic representation of a VME-master interface of the VME-bus interface, Fig. 9 represents the placing of a character in the bit-map memory, Fig. 10 represents the results of a number of possible operations in the bit-map memory, Fig. 11 is a diagrammatic representation of a raster image memory. Fig. 12 represents a line part with round ends, Fig. 13 represents a line through the points P1 and P2, Fig. 14 is a detail to illustrate the determination of the point of intersection of the line and a circle around the point of origin of said line, Fig. 15 is a flow diagram of a method for determining the point of intersection S*, Fig. 16 represents a line part imaged on raster points, Fig. 17 a, b, and c represent a flow diagram of a method of generating a line part with round ends, and Fig. 18 represents a line part with straight ends. Fig. 1 is a diagrammatic representation of a front-end system. Here a front-end controller 10 (FEC) is connected to an operating console 19 and also to the control system of a printer 20. Printer 20 is a raster output scanner in which a light beam is modulated imagewise and is deflected line-wise over the surface of a light-sensitive element. The light-sensitive element is driven perpendicular to the direction of deflection of the light beam in order for it to be possible to write a complete image in raster form. An example of a raster output scanner is a laser printer in which a modulated laser beam is driven by means of a rotating multiface mirror over the surface of a charged photoconductor. The photoconductor is exposed imagewise in this process, and the charged image obtained can be developed in a known manner with toner, then transferred to a receiving sheet and fixed by means of heat. The front-end controller 10 contains a 16-bit microprocessor system embodying a Motorola 68000 microprocessor and functions in combination with local ROM and a part of a randomacces memory 12 (RAM) as the control system for the front end. In a font read memory 13 are stored the bit patterns of a number of print types. The front end may be connected via an I/O processor 11, which also contains a 16-bit microprocessor system embodying a Motorola 68000 microprocessor, to a disc memory, work station, computer and/or cluster controller. The FEC 10, I/O processor 11, RAM 12 and font memory 13 are connected to each other via a standard VME bus 14. The font memory 13 can also be constructed as a RAM or form part of RAM 12. The bit patterns of the fonts are then loaded into said RAM from a disc memory or floppy-disc memory. A raster image processor 15 (RIP) is also connected to the VME bus 14. In addition, the raster image processor 15 is connected via a raster image bus 17 (RI bus) to a page-size bit-map memory 16, also termed raster image memory (RIM). The RIP 15 serves to fill the bit-map memory 16 (RIM) imagewise with type characters which are called up from the font memory 13 and deposited in the correct location in the bit-map memory 16. In addition, the RIP 15 can call up graphical information from memory 12 and also set it aside at the desired locations in the bit-map memory 16. If the bit-map memory 16 has been filled, it can be read out again via the RIP 15, the data read out being fed as a serial pixel-bit stream via line 18 to the modulator of the laser printer. The image which is written on the photoconductor is made up of 0.05 × 0.05 mm pixels so that to print an A4-format black/white image approximately 4,000 × 6,000 pixels are necessary. As a consequence of this bit-map memory 16 has a size of approximately 24 megabit or 3 megabyte. During the reading out of the bit-map memory 16 the pixel bit rate to the modulator of the laser printer via line 18 is approximately 25 megapixels/sec., with the result that an A4-format page can be printed in approximately 1 sec. All data relating to a page to be printed are stored in the RAM 12 via the I/O processor 11 from, for example, a work station and under the control of the FEC 10. For this purpose various options are available. Starting from, for example, an A4-page, which has to be printed in the "portrait mode", approximately 4,000 subtables are made corresponding to the approximately 4,000 scan lines which are necessary to write a page. In each subtable type codes of the type characters or graphical characters are stored which have their starting point on a certain scan line. Each type code contains, in addition, data relating to the X position which the character assumes on the scan line, data relating to the font type and also data relating to the height and width of a certain character. The type code also contains data relating to a base address in the font memory 13, where the bit representation of said character is stored in 16-bit words. The set of lists thus formed is termed the list of primitives. Once the data relating to a page to be printed have thus been stored in the RAM 12, the filling of the bit-map memory 16 can be started. For this purpose the letter codes are called up from the RAM 12 one by one by the RIP 15, and together with the associated bit representation from the font memory 13, expanded and deposited at the correct X and Y locations in the bit-map memory 16. In a corresponding manner all the characters are completed one by one until the bit-map memory 16 is completely filled with the pixel representation of the page to be printed. It is not necessary to form these sublists. The data relating to a page to be printed can also be stored in the RAM 12 in a random sequence. During the filling of the bit-map memory 16 the RAM 12, in which the primitives are placed in a random sequence, is successively read out, expanded, and placed at the respective locations in the bit-map memory 16. According to yet another option all the characters occuring on a page are only stored once and provided with data relating to the various positions which each character assumes on the page. In this manner the data relating to a frequently occuring character such as, for example, the letter e, are only stored once in the RAM 12 and all the positions which this letter assumes on the page are inserted in a separate table. Usually the graphical characters which are stored in the RAM 12 or the font memory 13 are first placed in the bit-map memory 16 and only thereafter the type characters. The raster image processor In Fig. 2 the processes are represented which can be carried out by the RIP 15. After starting up the system (Step 24) the RIP 15 is initiated (Step 25) (INIT command) by a system reset or an INIT command from the front-end controller 10, after which the "self test" process (Step 26) is started. This "self test" comprises the testing of various RIP functions and bit-map memory (RIM) functions. The RIP 15 must not have access to the VME bus 14 during the self-test procedure as the FEC 10 requires the VME bus 14 for the testing of the RAM 12 and font memory 13. If the RIP 15 has succesfully carried out the "self-test" program, an interrupt signal is transmitted to the FEC 10, and the RIP 15 goes into the wait mode (Step 27). If the self-test program has detected a fault, the RIP 15 also goes into the wait mode (Step 27), but no interrupt signal is generated for the FEC 10. In this manner the front-end controller 10 knows that a fault has been diagnosed in the RIP 15 "self test". A fault is also indicated to the operator by a LED lighting up. On an "RIP diagnosis" command from the FEC 10 to the RIP 15 the RIP diagnosis process 30 starts. The RIP 15 performs a number of internal tests and also a number of tests on the RIM 16. The results of these tests are stored in the RAM 12 and can be transmitted to, and made visible on, operating console 19. The RIP diagnosis process also tests the VME interfaces. The RIP diagnosis process has a more extensive character while the self-test process performs a more functional hardware test. After the termination of the RIP diagnosis process, the RIP 15 stores status information in the RAM 12, generates an interrupt signal for the FEC 10 and unblocks the VME bus 14. After the RIP 15 has received a "fill bit map" command from the FEC 10, the RIP 15 checks the data transfer on the VME bus 14. The RIP 15 thus acquires access to the RAM 12, which contains the primitives of the page which has to be printed. The RIP 15 expands the list of primitives by means of the pixel representations of the fonts and deposits these in the bit-map memory 16 (RIM). The RIP 15 has access to the RIM 16 via the RI bus 17. The RIM 16 contains, in addition, modification logics which supports the RIP 15 in performing various arithmetical operations on data for the bit-map memory 16 such as, for example, AND, OR and INVERT operations. After the bit map has been filled (Step 28), the RIP 15 stores status information in the RAM 12, generates an interrupt signal for the FEC 10 and unblocks the VME bus 14. The FEC 10 then generates a "read bit map" command and the RIP 15 will wait for a page synchronisation signal which originates from the laser printer via a control interface. After this page synchronisation the RIP 15 starts by reading out the RIM 16 (Step 29) and generates a serial pixel bit stream which is fed to the modulator of the laser printer via a video interface. After the termination of the bit-map reading process (Step 29), the RIP 15 again stores status data in the RAM 12, generates an interrupt signal for the FEC 10 and then unblocks the VME bus 14. The RIP 15 (Fig. 3) is built up around an internal bus system, the raster image processor bus 46 (RIP bus) which is a synchronous bus and is designed to transfer exclusively 16-bit words. The RIP bus 46 contains data lines 47, address and control lines 48 and condition lines 49. The RIP bus is connected via a VME bus interface 41 to the VME bus 14 and via an RI bus interface 45 to the RI bus 17. This RI bus 17 contains inter alia data and address lines 58, a busy line 57, an RI bus address available line 56, a clock line 54 and modification lines. In addition, the RIP bus 46 is connected to a laser scan module interface 44 (LSM interface) and the central processing unit 43 (CPU) proper of the RIP 15. The laser scan module LSM interface 44 is connected to lines originating from the printer such as a "start-of-scan" line 52 (SOS), via which a synchronisation signal is supplied to indicate the beginning of a line to be printed, a burst line 53, via which a signal is supplied which corresponds to the desired pixel frequency and a video line 18, via which the serial pixel bit stream is fed to the modulator from the laser printer on reading out the bit-map memory 16. The address and control lines 48 and the condition lines 49 are also further connected to a page synchronisation interface 42. Via line 50 a "page-available" signal (PAV) is fed to the control device of the printer, which signal indicates that a page is fully formatted in the bit-map memory 16 and that the RIP 15 can start reading out the bit-map memory 16 on receiving a "start-of-page" signal (SOP) via line 51 which is derived from the control device of the printer. VME-bus interface In Fig. 4 the VME-bus interface 41 is diagrammatically represented in more detail. A master interface 100, a slave interface 101 and an interruptor 102 are connected to the VME bus 14. The data lines 47 from the RIP bus 46 are connected to the master interface 100. The address and control lines 48 are connected, as are the condition lines 49 from the RIP bus 46, to the master interface 100, the slave interface 101 and the interruptor 102. The task of the VME-bus interface 41 is to shield the RIP 15 from the asynchronous VME bus 14. The VME master interface 100 (VME-MI) contains an internal control system by means of which the buffers and registers present are controlled and via this interface access cycles can be performed on the VME bus 14. In the control system programmable logic is used. For the controlling the slave interface 101 and the interruptor 102 are also equipped with programmable logic. The VME-MI 100 (Fig. 8) also comprises data transfer functions such as data base-master (DTB-master) and data base-requestor (DTB-requestor). To achieve the desired speed in the data transfer some additional functions have been added in said VME-MI 100. The first function is an address up/down counter formed by an address high counter 132 and an address low counter 133. During the loading of the RIM 16 with the bit representations of the various type characters or graphical characters which are each stored separately with consecutive addresses in the font memory 13 or the RAM 12, the counters 132 and 133 are preset for each character with the base address of said character in, for example, the RAM 12. Via buffer 134 and the VME address bus 141 of VME bus 14 said base address is supplied to the RAM 12, and the first 16-bit word at the respective memory location is supplied via the VME data bus 142 of the VME bus 14 to a bidirectional buffer 135 and then placed at the correct location in the RIM 16. The subsequent address for the RAM 12 is generated by increasing the counter 133 by 1 and the second 16-bit word is supplied via the VME-MI 100 to the RIM 16. In a corresponding manner all the addresses associated with a given character are generated until such time as the character has completely been written into the RIM 16. In this manner the result is achieved that the CPU 43 needs to generate a base address only once per character so that during the loading other functions can be performed, for example pixel processing operations, RIM address determination, etc. After a character has been finished, a new base address for a subsequent character is fed to the counters 132 and 133 and the cycle described above is repeated. The second function, the mirror function, is performed with a mirror circuit 136 which is constructed with programmable logic such as FPLAs or PALs and which can be used if characters have to be set rotated through 180° in the RIM 16. The mirror circuit 136 interchanges bit 0 of a 16 bit word with bit 15, bit 1 with bit 14, bit 2 with bit 13, etc. The CPU 43 does not now generate the base address, but calculates, from data relating to the length and width and base address of a character, the highest occuring address for said given character in the RAM 12. This highest address is loaded into the counters 132 and 133 while the counters are also switched over to down-counters by the VME-MI controller 130. After each memory access of RAM 12 the content of the counter 133 is reduced by 1 and the 16-bit words from RAM 12 are mirrored in the mirror cicuit 136 and placed in the RIM 16 via the data-in register 137. These cycles are continued until the original base address of the character is reached. In the VME-MI 100 a data-out register 138 is also connected via data lines 47 to the RIP bus 46 in order to feed data in this manner to, for example, the FEC 10 or to RAM 12. The VME-MI controller 130 is connected via control lines 48 and condition lines 49 to the RIP bus 46 and, in addition, via a buffer 131 to address, data and control lines 139 and bus arbitration lines 140 of the VME bus 14. The CPU 43 can call up various modes in the VME-MI 100 such as "release bus", "multiple access", "single access" and "change". Before the VME-MI 100 can switch to the single- or multiple-access mode, the following data must first also be specified: read or write, normal or mirrored, the desired address and the data to be processed. These specifications can only be altered during the "release bus" mode and during "change" mode. The data to be processed may, however, always be changed. This is also indicated by a "CHANGE ACKOWLEDGE" line. The register which contains the read data from the VME bus 14 can always be read out if a "REGISTER FULL" line is active. After calling up a "release bus" mode, the VME-MI 100 will unblock the VME bus 14. This means that the VME-bus drivers are disabled and a BUSY signal from the VME bus is rendered inactive. The unblocking of the VME bus 14 can only take place if the last access cycle is completely finished. A "CHANGE ACKNOWLEDGE" signal indicates that the "release bus" mode is established. In this mode of the interface no acccess to the VME bus 14 can take place. After a "change" request the VME-MI 100 is instructed to seize VME bus 14 if this was not yet the case. This is achieved with the bus arbitration lines 140. The assumption of the "change"mode is indicated via the "CHANGE ACKNOWLEDGE" line. Access to the VME bus 14 can then take place. The contents of the address and data registers can also be changed in the "change" mode. The "change" mode provides a possibility to stop accesses to the VME bus temporarily without the VME bus being unblocked. A single access to the VME bus can be initiated by calling up a "singel cycle" mode. If the preceding mode was a "release bus" mode the VME bus is only seized via a corresponding active signal from the arbitration logic. Thereafter only a word access to the VME bus can be performed. A read/write indicator decides whether a read or write cycle has to be performed. A read cycle means that data from the VME bus 14 is clocked into the data-in register 137 via the mirror circuit 136, which last can be activated by means of a normal/mirrored indicator. When data is being clocked into the data-in register 137, a REGISTER-FULL flag is set to indicate to CPU 43 that the transfer of data is complete and that the data have entered the said register. The REGISTER-FULL flag is set at the instant at which the data is read into data-in register 137 and after this access the content of the address counter is incresed by 1. If a mirror function has been enabled, the content of the address counter is decreased by 1. If the REGISTER-FULL flag is still activated and data is being read from the VME-bus, the normal VME cycle is prolonged until the data-in register 137 has been completely read out and new data have been read into the data-in register 137. A write cycle is in principle the same as a read cycle. The only difference is the direction of the data stream. In a write cycle the data which are in the data-out register 138 are transferred to the VME bus 14. The mirror circuit 136 does not alter anything in the written data. The data-in register 137 must already have been read for it to be possible to clear the REGISTER-FULL flag. The "multiple-access" mode exhibits many similarities to the "single-acces" mode. A "single-access" mode is intended for the reading and writing of commands from, and status information to, the FEC. A "multiple-access" mode is primarily intended for reading graphical and font data, a subsequent access being automatically initiated by the VME-MI 100. The new address is generated by the address counter. The only action which has to be performed in this case is the reading of the data-in register 137. The various modes described above are selected with the VME-MODE lines which are connected to some of the signal lines of the CPU 43. The read/write selector and the normal/mirrored selector are also connected to such signal lines. The CHANGE-ACKNOWLEDGE and VME register-full signals originate from the WAIT lines of the CPU 43. The VME address is stored in 24-bit counters 132 and 133, the input and output data in two 16-bit registers 137 en 138. "Address-high" and "address-low" counters 132 and 133 and the data-out register 138 are loaded by means of register clock lines. The data-in register 137 can be read by means of a register enable line originating from the CPU 43. The LSM interface In Fig. 5 the LSM interface 44 is represented diagrammatically in more detail. On reading out the RIM 16 the RIP 15 fetches a 16-bit word from said memory and transmits it via datalines 47 of the RIP bus 46 to register 111. The control block 110 sends a "load" signal via line 115 to shift register 112 and the content of register 111 is loaded in parallel into the shift register 112. The laser printer emits burst pulses with a frequency of approximately 24 MHz which are supplied via line 53 and via I/O buffer 113 to the shift register 112 and the control block 110. The content of the shift register 112 is serially shifted out by means of said pulses and is supplied via I/O buffer 113 via line 18 to the modulator of the ROS. The burst pulses are supplied to a 16 counter in the control block 110 and once 15 pulses have been counted or during the 16th counting pulse, a word which has now been freshly set in register 111 is transmitted in parallel to shift register 112 and shifted out. Before the shifting-out operation of said 16-bit word is started, the register 111 is loaded with a new 16-bit word. An "EMPTY" flag is set once data have been set in the shift register 112 and new data can be written into the register 111. The "EMPTY" flag is connected to a "wait line" of the CPU 43 of the RIP 15. In this manner a whole scan line is transmitted in sequence to the ROS. The control block 110 emits condition signals to the CPU 43 via condition lines 49 of the RIP bus 46. After a scan line has been completed and before a SOS signal is supplied via line 52 from the ROS to the control block 110, the fetching of data from the RIM 16 is briefly suspended by the RIP 15 (wait condition). During this time the register 111 is cleared via line 114. In response to the SOS signal the cycle of filling register 111, transmission to shift register 112, shifting out etc., described earlier is repeated again for a subsequent scan line. After the loading of a word into register 111 the "full" status is likewise transmitted via condition lines 49 to the CPU 43, the latter delaying the fetching up of a new word until the content of the register 111 has again been loaded into the shift register 112. After a PAV signal the number of SOS pulses is counted by means of a counter in the CPU 43, and by this means it is possible to ascertain when a page has been transmitted completely to the ROS. The Central Processing Unit In Fig. 6 the CPU 43 of the RIP 15 is represented diagrammatically in more detail. Said CPU is built up around a microprogrammable microprocessor, processor 74, type Am29116, and an associated address sequencer 70, type 2910A, both manufactured by Advanced Micro Devices. In response to each clock cycle the microinstruction which has to be performed is set in the microinstruction register 72. Said microinstruction originates from the micro-PROM 71 and the latter is again addressed by means of the address sequencer 70. In the processor 74 every function is controlled by some of the microinstruction bits. Said microinstructions can be divided into bits for the address sequencer 70, the processor 74, the branch-address control unit 79, the condition selector 75, the wait selector 77 and the enable block 78. The sequence in which the microinstructions which are stored in the micro-PROM 71 are performed is likewise controlled by the address sequencer 70. In addition to the possibility of consecutive access to the addresses, conditional branch instructions to every microinstruction in the 4096-size microword area of the micro-PROM 71 can be carried out. A LIFO stack provides return-coupling and loop-in possibilities in a microsubroutine. The stack is nine steps deep. For each microinstruction the address sequencer 70 provides a 12-bit address which is initiated from one of the four following sources: The microprogram address register (PC), which usually indicates an address by an address increase of 1 with respect to the address being handled. However, if a "wait" mode is generated by wait selector 77, the PC is not increased. An external input connected to lines 92 which obtains its data from the branch address control unit 79. A nine-step deep LIFO stack which is loaded with the content of the microprogram address register (PC) during a preceding microinstruction. A register/counter which retains the data which have been loaded from an external input during a preceding microinstruction. The processor 74 is a microprogrammable 16-bit microprocessor, type Am 29116, with an instruction set which is optimised for graphical applications. The instruction set for the processor 74 comprises, in particular, single and double operand, rotate n bits and rotate and merge. The processor 74 receives its instructions for performing an operation from the microinstruction register 72 via bus 83 and an instruction-modification circuit 73. The instruction input is also used as data-input for "immediate" instructions. If the "instruction-enable" (IEN) input of the processor 74 is activated via line 94, the results of the instruction performed are retained in the accumulator and the status register in the processor 74. If an "output enable" (OE) is activated via line 95, the data lines of the CPU 43 are switched as outputs and they contain the content of the ALU of processor 74. Conversely, if the "output enable" is rendered inactive via line 95, the databus of the CPU 43 functions as a 16-bit input, and data which are present on the RIP bus can be supplied via data lines 47 to the processor 74. Said data can then be retained in an internal register. The data bus of the processor 74 is connected directly to the data lines 47 of the RIP bus. The status of the ALU (for example, carry, negative, zero, overflow) is available on the "status bus" 87 of the processor 74 during each cycle. The instruction-modification circuit 73 makes is possible to adapt the instructions recorded in the micro-PROM 71 to indicate in the case of instructions such as, for example "rotate n bits", the number of bits with which rotation has to be performed. This number of bits is then specified via a number of lines (91) from the processor data lines 47. If an IEN signal on the line 94 renders the instruction input of the processor 74 inactive, the same processor instruction bits which are supplied to the processor 74 on bus 83 can be supplied via bus 84 also to the branch address control unit 79 and be used to cause the address sequencer 70 to branch to a randomly different address. Normally the unit 79 receives its branch address from the content of a register which is filled with data from data lines 47 via bus 90. The condition selector 75 incorporates a one-out-of eight multiplexer, and the output thereof is connected via line 89 to the address sequencer 70. One of the eight possible conditions which are applied from the condition lines 49 of the RIP bus or from the processor status lines 87 via status buffer 76 and lines 88 to the input of the condition selector 75 can be selected. The selected condition is used by the address sequencer 70 to perform the desired conditional instruction. Any new conditions can be loaded into the status buffer 76 by supplying a selection-enable signal (SLE) via lines 85 to the status buffer 76. The "wait selector" 77 likewise incorporates a one-out-of-eight multiplexer which in the active mode connects one of the eigh "wait" lines 97 via line 93 to the address sequencer 70. A zero level on a wait line stops the program counter of the program address register. The wait lines are connected to the condition lines of the RIP bus. The enable block 78 has various functions and generates, in addition, all the signals which are necessary for the control lines on the RIP bus. It performs three different funtions: a. The generation of "enable signals". The enable signals determine which of the data registers which are connected by their outputs to the RIP bus have to be activated. For each register there is one enable line. b. The generation of register clocks. The clock lines determine which data registers which are connected by their inputs to the RIP bus have to clock in data. There is one clock line present for each register. c. The generation of other signals. The signals on the signal lines are used as flags and function selectors in the interface modules which are connected to the RIP bus. Raster image bus interface The connection between the RIP bus 46 and the RI bus 17 is formed by the RI bus interface 45 (Fig. 7). Said interface buffers the bidirectional data, the addresses to be called up and the modification code. The buffering is performed by means of registers. The "data-out" register 120, "address-low" register 122, "address-high" register 123 and the modification register 124 can be loaded from the RIP bus 46. The loading takes place under the control of address and control lines 48 of the enable block 78 of the CPU 43. The "data-in" register 121 can be read out under the guidance of control by means of an enable line of the enable block 78. The "address-high" register 123 contains the most significant bits of the address. The "address-low" register 122 contains the least significant bits. After the loading of the "address-high" register 123 the RI-bus read/write cycle is automatically started. This means that the following processes are carried out by the controller 125: Cycle 1 - sets an address on the RI bus and activates RAV (RI-bus address valid), Cycle 2 - sets data-out on the RI bus and inactivates RAV, Cycle 3 - reads the data on the RI bus into the "data-in" register 121. Before the starting of an RI-bus cycle, the CPU 43 has to test whether the RI-bus busy line 57 is inactive. Said busy line 57 is connected to one of the wait lines of the CPU 43. The raster image bus (RI bus) The RI bus 17 connects the RIP 15 to the bit-map memory 16 (RIM) and is made up of 64 lines. It comprises a 32-bit wide multiplexed address/data bus. The RIP 15 acts on the RI bus 17 as a master. The RIM 16, which comprises one or more RIM boards, does not itself take any initiative on the bus. In addition, there may further be connected to the RI bus 17 RI-bus DMA devices which can submit a request to the RIP 15 to obtain control over the bus. The RI bus 17 is a synchronous bus. A clock signal (BCLK) is presented to the RI bus by the RIP 15. All the actions on the bus are performed at the edges of the biphase clock. Thus, all the actions of the RIP take place on the rising edge, and all the actions of the RIM on the falling edge of the clock signal (BCLK). The other modes on the RI bus 17 can be described by means of three signal levels, high, low and high-impedance (tristate). All the alterations in signal levels take place after they have been initiated by an active edge of the biphase clock. There are thus three groups of signals: the clock signals, the address/data signals and the remaining signals. The signals which occur on the bus are defined below: BCLK: this is a symmetrical clock pulse which is presented to the RI bus by the RIP. RAD 00 .. RAD 31 (RIP address/data lines): this is a multiplexed address/data way which is driven by all the bus devices with tristate drivers. All the lines are active when "high". RMC 0 .. RMC 3 (RIM modify code): on these lines a code is presented to the RIM board by the RIP or a DMA device. This code specifies the "modify" function which takes place during the logic operation which is performed on the RIM board on the content of the addressed memory word. These signals are also of the tristate type. RROFF (RI-bus refresh-off): this signal indicates that the RIM boards can switch off the refresh to achieve a minimum cycle time. To prevent loss of data, a special addressing sequence is maintained between the RIM boards and the RIP. RBR 0, RBR 1 (RI-bus bus request): with these open-collector signals two DMA devices can request the bus arbiter for access to the bus. The devices are of a different priority. RBG (RI-bus bus grant): with this line the bus arbiter indicates that the bus is available to the requesting device with the highest priority. RBUSY (RI-bus bus busy): with this open-collector signal an addressed RIM board can indicate that the board is unable to process an new bus cycle for a certain time. RAV (RI-bus address valid): this tristate signal which is active when low indicates that there is a valid address on the RI bus. The RI bus is constructed with a 32-bit wide data and address way which is multiplexed for RAD 00 .. RAD 31. The allocation of these lines is as follows: A 24 - D 16: in this situation the address lines RA00 .. RA23 are used. The lines RAD 24 .. RAD 31 are then in the "don't care" mode. For the data lines RAD00 .. RAD15 are used. The lines RAD16 .. RAD31 are at that instant in the "don't care" mode. Data transfer thus takes place on the basis of 16-bit words and the addresses are 24 bits wide. Another option for using the 32 data and address lines is: A24 - D16 - D16: This situation is the same as the A24 - D16 situation as regards the address lines. By adding a second board in the same address space, in which the data flows through the bus via the lines RAD16 .. RAD31, it is possible for a 32-bit wide databus to be created with two boards which are internally 16 bits wide. On a RIM board it is possible for the section of the address/databus over which the data is transferred to be selected. By means of the RBR0, RBR1 and RBG signals access to the RI bus is regulated between the RIP and optional DMA devices. This arbitration takes place completely outside the RIM 16. Each cycle on the bus consists of a WRITE/READ cycle. If the bus is free (RBUSY not active), the RIP is able to set an address (ADR[n]) on the bus on lines (RAD00 .. RAD23). This takes place together with the presentation of a RAV-signal and a RI-bus modify code (RM code) via lines RMC00 .. RMC03. After the address the RIP presents its data (DATA0[n]) to the bus on lines (RAD00 .. RAD15). The RIM board addressed by ADR[n] renders the RBUSY signal active. The RIP then leaves the RI bus in order to give the RIM board addressed by the ADR[n-1] the opportunity to set DATAI[n-1] on the bus so that the RIP is able to read these data in. Two consecutive WRITE/READ cycles are, as it were, pushed into each other as a result of this. This is still further optimised by making the time which the RIP requires to decide whether RBUSY has become inactive coincide with the last processing phase of the RIM board addressed by ADR[n] in the current cycle. This is achieved by the RIM board making RBUSY already inactive before the RIM board is already completely ready but when it is already quite certain that it will be ready when the RIP has been able to confirm this. The first cycle thus contains invalid data and an additional cycle is also necessary to fetch up the final data from the RIM. In the manner described above a minimum cycle time is achieved on the bus. By "minimum cycle time" is meant the timing sequence of bus modes in which a maximum transfer rate is achieved on the bus. As a result of the refresh of the RIM it may happen that a RIM board is unable to achieve the minimum cycle time. The RIM boards indicate this by means of the RBUSY signal. By extending this RBUSY signal by a certain number of clock cycles (BCLK), the RIP postpones its subsequent access to the memory by an integral number of clock cycles. A same situation may occur if the RIP has not yet finished a certain task. The RIP indicates this to the bus by postponing the RAV signal by an integral number of clock cycles. Raster image memory The RIM 16 (Fig. 11) comprises a 24 Mbit dynamic memory 220 organised in 16-bit words and is used as page-size bit-map memory. Each memory location in the memory 220 corresponds to one precise position on the final printed page. The RIM 16 is connected via the RI bus 17 to the RIP 15 and is filled by the RIP 15 with expanded font data and graphical data. An important process which takes place in the RIM 16 is the modify process which is performed on an addressed word. The modify process comprises 16 different logic operations which can be applied to the incoming data and the data already present at a certain address. One particular modify function is selected by presenting a RIM modify code to the lines RMC0 .. RMC3 221 of the RI bus 17. Said modify code is set in the RMC register 222 and supplied to the logic processing unit 223 (ALU) which is made up of programmable logic. The new data (ND) is supplied via the DATA0 register 227 over data lines 225 to the ALU 223 while the old data (OD) already present in the memory 220 is supplied via data output lines 226 to the ALU 223. The result of the processing (MD) in the ALU 223 is written into the memory 220 via lines 224. In the table below some of the modify functions are represented along with the RM codes associated therewith and the corresponding logic functions. Because the RI bus 17 is a multiplexed bus, the separate addresses and the data have to be clocked into the registers. For this purpose the RI bus 17 is connected to an address/data bus buffer 228 and when an address is presented to the RI bus 17 it is supplied to the address register 229 via buffer 228. When the data is presented (one clock cycle later), said data are stored in the DATO register 227 via buffers 228. The data-in register 230 ("in" for the RIP but "out" for the RIM) has been added in order to be able to set the data originating from the memory 220, which belong to the previously presented address, on the RI bus 17. The control of the RIM 16 is provided by the memory control circuit 231. The memory control circuit 231 contains a bus state sequencer for starting a number of actions in response to a RAV signal, which actions consist of the clocking in of an address, the clocking in of data associated therewith, the clocking in of the modify code and the setting of data belonging to the preceding address on the RI bus 17. In addition the memory control circuit 231 incorporates a memory state sequencer which is synchronised with the bus state sequencer. The memory state sequencer can be initiated by a refresh request or by a bus cycle for a memory access. If a refresh cycle is performed, the next bus cycle has to be suspended. The circuit 231 employs programmable logic. The memory 220 is built up from 256 K dynamic memory chips and is organised in six "banks" of 256 K words of 16 bits. Bank selection takes place through decoding the address lines A18, A19 and A20 in the address multiplexer 232. The addressing of a memory location in one bank takes place by means of address lines A0 - A7 and A16 and the generation of a row address strobe (RAS) from the control circuit 231, and address lines A8, A15 and A17 are then supplied to the memory address lines via the address multiplexer 232, and a column address strobe (CAS) is also generated by the control circuit 231. Because dynamic memories are used all the memory locations of the memory 220 have to undergo a refresh at least once every 4 msec. This is done by periodically adding a "RAS-only" cycle. During this cycle a row address is presented to all the banks. The refresh address in a row is derived by means of a 9-bit counter which is increased by 1 after each refresh cycle. By activating the RROFF line of the RI bus 17 the normal refresh cycle is interrupted and the RIP 15 ensures that the minimum cycle time of the next cycle is met. Non-addressed banks of the memory then use the address on the RI bus 17 to perform a refresh. On the addressed bank refresh takes place by an access to the selected address. If only one copy of a page has to be made the "CLEAR" modify code will be set on the RI bus 17 during the reading out of the RIM 16 because after reading out the RIM 16 must be completely filled with zeros. If the page has to be kept in order to be printed yet once more, the "NOP" modify code will be set on the RI bus 17. Graphical instructions The bit-map filler 28 (Fig. 2) is designed to perform various textual and graphical instructions such as CHAR, MCHAR, LINE and CIRCLE. All these instructions, which are stored in the micro-PROM 71 (Fig. 6), are performed as microinstructions for the CPU 43. The algorithms for these instructions are implemented in a manner such that a bit-map filling speed which is as large possible is obtained. CHAR: is an instruction for the placing of a character at the correct location in the bit-map memory 16. Since the word boundaries of a character generally do not correspond to the word boundaries of the bit-map memory, a displacement is necessary (see Fig. 9). In the font memory 13 the bit-map representation 200 of a character 201 is stored in 16-bit words. A character usually comprises a number of 16-bit words, some of which are indicated by 203, 204 and 205. The corner point 202 of the character 201 is taken here as the reference point as an example, and the first 16-bit word 203 contains 16 bits of which the first bit is denoted by "0" and the last bit by "F". The bit representation of the first word is thus: 0000 0000 0001 1111. When this character 201 is placed at the desired y location in the bit-map memory 16, the word boundary 207 of the bit-map memory will on the whole only rarely coincide with the word boundary 0′ of the character 201. The operation to be carried out will thus correspond to the displacement of the bit-map representation of the character 201 over a number of (n) bits denoted by Δ y in the Figure. At the microinstruction level the following steps have to be carried out for this purpose: Rotate: from bit 0 to bit F over Δ y (n: =Δ y) Merge: mask = 1 rotate mask = 0 non-rotate MCHAR: is an instruction for placing a character in the bit-map memory 16 in mirrored form. The reading out of the bit-map representation of the character by the VME-bus interface takes place in reverse sequence. The displacement of the word boundaries of the character in the bit-map memory 16 takes place in an identical manner to that described for CHAR. The circuit for the mirroring is also accommodated in the VME-bus interface. For writing characters, lines, circles and so on into the bit-map memory 16 the front end has a number of overlay options (Fig. 10). These options are represented diagrammatically in Fig. 10 by reference to a letter V (210). A hatching 211 means that the content of the RIM 16 is unaltered. It is assumed that a "0" in the RIM produces "white" and a "1" in the RIM produces "black". WRITE: the existing content of the RIM 16 is made "0" and the bit-map representation of a character is written with ones (212). INVERT: the existing content of the RIM is made "1" and the bit-map representation of a character is written with zeros (216). PAINT: the content of the RIM is not deleted and the ones of the character undergo an "0R" function with the content of the RIM (213). MASK: the content of the RIM is made "0" at the locations where the character contains zeros, and where the character contains ones the content of the RIM is maintained (214). ERASE: the content of the RIM is made "0" at the locations where the character contains ones, and where the character contains zeros the content of the RIM is maintained (215). INVERTING PAINT: the content of the RIM is maintained where the character contains a "0" and where the character contains a "1" the content of the RIM is inverted. To produce lines, circles and arcs of circles use is made of the measuring and regulating methods based on the Bresenham algorithm. In this case the starting point is the theoretical shape of the lines and for each scan line that point is chosen which most closely approaches said desired line. The known algorithm is, for example, described in ACM Transaction on Graphics, Vol. 1, No. 4, October 1972, pages 259-279 by Robert F. Sproull under the title "Using program transformations to derive line-drawing algorithms". For the generation of circles with a line thickness of one pixel, an algorithm is used as described, for example, by J. Bresenham in Communications of the ACM, February 1977, volume 20, No. 2, pages 100-106, "A liniar Algorithm for incremental digital display of circular arcs". In this way circles can be drawn on a raster shaped display using only simple and hence fast instructions, such as testing a character, adding and subtracting. A method of generating straight line parts of a thickness of 3 or more pixels, the said line part being stored in a word-oriented bit-map memory, is described hereinafter. The line part has a specific thickness (D) and round ends. The starting point and end point coincide with a raster point and the thickness is an odd multiple of the raster spacing. It is assumed that the raster is a bit map situated in a word-oriented memory. In the description of the algorithm use is made of a clockwise-rotating cartesian coordinate system consisting of an x-axis and an y-axis. The memory organization is such that the words in the memory lie parallel to the y-axis. A line part 250 (Fig.12) is given by the coordinates of the starting point 251 (Xbeg, Ybeg), the coordinates of the end point 252 (Xe, Ye) and the thickness D measured in the raster spacing. The boundary of the line part 250 is given by a closed curve situated in the area (Xl < = X < = Xr, Ybot < = Y < = Ytop). Associated with each value of X (Xl < = X < = Xr) are two points, 253, (X, Yb) and 254 (X, Yt) situated on the boundary of the line part. The area that the vertical line parts (thickness zero) from (X, Yb) to (X, Yt) where (Xl< = X< = Xr) together cover is equal to the area occupied by the line part of thickness D. The imaging of the line part can thus be reduced to imaging the vertical line parts for successive values of X between the points Yb and Yt. The vertical line parts lie in the word direction of the memory. For imaging of the line part of thickness D the starting points and end points of these vertical line parts must be determined. These points are generated by determining the image of the boundary of the line part of thickness D. The line part 250 of thickness D can be considered as being bounded by a line through P1 and P2, a line through P3 and P4, an arc of a circle through P3 and P2 and an arc of a circle through P4 and P1. As already stated, line parts can be imaged by Bresenham's algorithm. For this it is necessary for the starting point and end point of the line part to coincide with a raster point. In most cases, however, the points P1, P2, P3 and P4 will not coincide with a raster point but are each surrounded by four raster points: Pi1, Pi2, Pi3 and Pi4 (i = 1 ...4). Fig. 13 shows an image of a line through the points P1 and P2. Of the raster points P1j (j = 1...4), the point having the smallest distance from the line must be selected as the starting point of the line part to be imaged, in this case therefore, point P12. The end point, point (P24), of the line part to be imaged is chosen similarly. Bresenham's algorithm is also used for imaging circles. The starting point (Xbeg, Ybeg) and the end point (Xe, Ye) of the line part of thickness D to be imaged now coincide with the raster point. This therefore satisfies the requirement of Bresenham's algorithm to the effect that the centre point of the circle must coincide with the raster point. Not all the raster points of the circle image have to be generated, but only the points which belong to the image of the arcs of the circle which with the imaged line parts form the image of the boundary of a line part of thickness D. The coordinates of the raster points of intersection P1*, P2*, P3* and P4* can now be determined by means of data concerning the starting point and the end point and the thickness of the line part. Given a circle 261 (Fig. 14) with centre 251 (Xc, Yc) and radius R, and a line part 262 having the starting point (Xbeg, Ybeg). The starting point of the line part and the centre of the circle coincide with point 251. The radius R of the circle 261 is equal to (D-1)/2. The circle 261 and the line part 262 intersect at the point of intersection S. Of the four raster points S1, S2, S3 and S4 which surround S, the one having the smallest distance from the tangent 263 to the circle 261 through S must be selected. This raster point S* with the coordinates (X*, Y* provides the information for determining the coordinates of the raster points of intersection P1*, P2*, P3* and P4*, i.e. the starting points and the end points of the two line parts of the boundary. In these conditions the perpendicular distances from the point S* to the centre 251 (Xc, Yc) of the circle 261 are determined, where Hx = X* - Xc , and Hy = Y* - Yx . The following follows from this for the coordinates of the raster points of intersection: P1*: ( [Xbeg - Hy] , [Ybeg + Hx] ), P2*: ( [Xe - Hy] , [Ye + Hx] ), P3*: ( [Xe + Hy] , [Ye - Hx] ), and P4*: ( [Xbeg + Hy] , [Ybeg - Hx] ). The points P1* to P4* now coincide exactly with the raster points. The images of the line part 262 and the circle 261 on the raster are determined with Bresenham's algorithms. In the generation of a line part it is assumed that the centre of the circle coincides with the origin of the system of axes and that a line part is situated in the first octant. This assumption does not detract from the generality, since the other cases can be transformed to this case by a simple translation. The Bresenham algorithm for the line part is started at the origin of the system of axes and the Bresenham algorithm for the circle is started at the point (R, O), where R is the radius of the circle. These algorithms are carried out quasi-parallel at the front-end. The raster points which are generated are synchronized on an equal y-value. With the next algorithm the coordinates (X*, Y*) of the point of intersection S* are determined. The algorithm converges to the area around the point of intersection S. In this area a selection is made for S* with the coordinates (X*, Y*). Fig. 15 represents the determination of the point of intersection S* in a flow diagram. After the start (300) of the algorithm, the various variables of the line and the circle are first initiated (301): XL = 0, YL = 0, XC = R and YC = 0. If the condition Xl < XC (302) is satisfied, the value of XL is increased by one (303). The value for YL of the line is then calculated with Bresenham's algorithm (304). If the condition YL > YC (305) is not satisfied, the program returns to block 302. IF XL < XC still applies, the program loop consisting of blocks 303 and 304 is again run through and the value XL is again compared with YC in block 305. If the condition YL > YC is satisfied, YC is increased by one (306) and XC is calculated for the circle by means of Bresenham's algorithm (307), after which the program returns to 302. In this way the two program loops consisting of block 302 to 305 and blocks 302 to 307 are run through until XL is no longer less than XC (302). The program then jumps to block 308. If XL = XC now applies, X* is made equal to XL and Y* to YL (309). IF XL > XC (308), then the following applies for the values of X* and Y* (310): X* = XC + 1 and Y* = YC - 1 . The line parts 250 (Fig. 16) is given by the coordinates of the starting point (Xbeg, Ybeg), the coordinates of the end point (Xe, Ye) and the thickness D measured in the raster spacing. It is assumed that Xe > = Xbeg and Ye > = Ybeg. In other words, the line part makes an angle between 0° and 90° with the positive x-axis. If Xe < Xbeg, then the assumption Xe > = Xbeg can be satisfied by exchanging the starting point and the end point. If Ye < Ybeg, the assumption Ye > = Ybeg can be satisfied by mirror imaging a line part about the horizontal line y = Ybeg (Ye° = 2 × Ybeg - Ye) . The starting points and end points of the vertical line parts must, however, then first be mirror imaged about the line y = Ybeg before the raster points belonging to the image of these vertical line parts are activated (in the bit map). After the determination of S*, the coordinates of P1* (X1*, Y1*), P2* (X2*,Y2*), P3* (X3*, Y3*) and P4* (X4*,Y4*) are determined by means of Hx and Hy in the manner described hereinbefore. The data are now available for performing quasi-parallel four algorithms, two line and two circle algorithms. In Fig. 16, circle 1 runs from point 255 to P1* and from P2* to point 256, circle 2 runs from point 255 to P4* and from P3* to point 256. Line 1 runs from P1* to P2* and line 2 runs from P4* to P3*. The circle algorithms 1 and 2 generate a semi-circle which on reaching P1* and P4* respectively replace the centre 251 (Xbeg, Ybeg) by the centre 252 (Xe, Ye). The line generation successively traverses the areas 270 to 274. The algorithm used is represented in a flow diagram in Fig. 17a, b and c. The program starts (320) with the initiation of a number of variables (321) such as R = (D - 1)/2, Xl = Xbeg - R, XR = Xe + R, Xc1= Xbeg, Yc1 = Ybeg, Xc2 = Xbeg, Yc2 = Ybeg, X = Xl, Yt = Ybeg and Yb = Ybeg. The first vertical line is also drawn (321) for X = Xl. The code (Drln (X, Yb, Yt)) is used to indicate the instruction: draw a vertical line at this X, between the points Yb and Yt and place this line on the corresponding position in the bit-map meory. The calculation and generation of the vertical lines in the area 270 is then started (Fig. 16). X < X1* is tested (324). If this applies, X is first increased by one (322) and the point Yt on circle 1 and the point Yb on circle 2 are determined for this value of X by means of Bresenham's algorithm (323). The vertical line is also drawn between Yb and Yt (323) (Drln (X, Yb, Yt)) and the program returns to 324. As long as X < X1* applies, the loop 322, 323 and 324 is always run through. When X = X1*, the program goes to block 325. In this a comparison is made to see whether X4* < X2*. If the answer is no, then as will be explained hereinafter the program is run through from block 350 to block 364. This applies, for example, for steep lines and for lines which are short with respect to their thickness. When X4* < X2* (325) applies and X < X4* (328) applies, X is increased by one (326) and by means of Bresenham's algorithm the point Yt on line 1 and the point Yb on circle 2 are determined for this value of X (327). Also for this value of X the vertical line is drawn between Yb and Yt (323) (Drln (X, Yb, Yt)) and stored in the memory. As long as X < X4* (328) applies, i.e. for the area 271 (Fig. 16), the program loop 326, 327 and 328 is run through. On reaching X = X4*, a test is carried out whether X < X2* (331) and if this is the case the program continues by increasing the value of X by one (329), calculating Yt on line 1 and Yb on line 2 by means of Bresenham's algorithm and again Drln (X,Yb,Yt) (329). As long as X < X2* (331) applies, i.e. for the area 272 (Fig. 16) the program loop 329, 330 and 331 is run through. On reaching X = X2*, first the original variables Xc1 and Yc2 are changed in value in block 332 by now filling in the coordinates of the end point of line part. Hence Xc1 = Xe and Yc1 = Ye. Generation of the area 273 (Fig. 16) then takes place. A test is made whether X < X3* (335) and if so the value of X is increased by one (333) and the value for Yt on circle 1 and the value for Yb on line 2 are determined by means of Bresenham's algorithm (334). The associated vertical line is placed in the bit-map memory with Drln (X, Yb, Yt) (334). As long as X < X3* (335) applies, the program loop 333, 334 and 335 is run through. When X reaches the value for X3* the original variables Xc2 and Yc2 are adjusted (336) in accordance with: Xc2 = Xe and Yc2 = Ye. Generation now takes place for the last area 274 of the line part. If X < XR (339) applies, X is again increased by one (337) and Bresenham's algorithm is used to determine Yt on circle 1 and Yb on circle 2 (338) and the vertical line is placed in the bit-map memory with Drln (X, Yb, Yt). As long as X < Xr (339) applies, program loop 337, 338 and 339 is run through. When X reaches the value XR, generation of the line part is completed and the program stops in block 364. For steep lines (X4* > X2*) the program jumps from block 325 to 352. When X < X2* (352) applies the value of X is increased by one (350) and Bresenham's algorithm is used to determine Yt on line 1 and Yb on circle 2 (351) and this vertical line is written into the bit-map meory (351) with Drln (X, Yb, Yt). As long as X < X2* (352) applies, the program loop 350, 351 and 352 is run through. Just as in block 332 the variables for Xc1 and Yc1 are also changed for X = X2* to Xc1 = Xe and Yc1 = Ye (335). When X < X4* (356) applies, X is increased by one (354) and Bresenham's algorithm is used to determine Yt on circle 1 and Yb on circle 2 (355) and the line between Yb and Yt is placed at the corresponding location in the bit-map memory (355). As long as X < X4* (356) applies, the program loop 354, 355 and 356 is run through. At X = X4* a test is made whether X < X3* (359) and if so X is increased by one (357) and Bresenham's algorithm is used to determine Yt on circle 1 and Yb on line 2 and this line is stored in the memory with Drln (X, Yb, Yt) (358). At X < X3* (359) the program loop 357, 358 and 359 is continually run through. When X = X3* the variables are changed (360): Xc2 = Xe and Yc2 = Ye. As long as X < XR (363) applies, X is increased by one (361) and Bresenham's algorithm is used to determine Yt on circle 1 and Yb on circle 2 (362) and a memory storage takes place with Drln (X, Yb, Yt) (363). As long as X < Xr (363) applies, the program loop 361, 362 and 363 is run through. Wen X reaches the value XR the line generation is over and the program stops (364). An algorithm can be prepared in a corresponding manner for line parts with straight ends. Fig. 18 represents a line part of this kind. The boundaries of the line part are the points, P1, P2, P3 and P4. Just as in the generation of a line part with round ends, these points must coincide with the raster points P1*, P2*, P3* and P4*. These points are accordingly determined correspondingly. S* is first determined by an algorithm as described in connection with Fig. 15. The auxiliary functions Hx and Hy are then defined in accordance with Hx=X* - Xc and Hy = Y* - Yc . From this the following again applies: P1*: ( [Xbeg - Hy - Hx] , [Ybeg + Hx - Hy] ) P2*: ( [Xe - Hy - Hx] , [Ye + Hx - Hy] ) P3*: ( [Xe + Hy - Hx] , [Ye - Hx - Hy] ) and P4*: ( [Xbeg + Hy - Hx] , [Ybeg - Hx - Hy] ) All the data are now known for determining the line parts P1* P2*, P4* P3*, P1* P4* and P2* P3* which respectively denote line 1, line 2, line 3 and line 4. The (Pascal) program looks as follows: The above-described algorithms make use of the word organization of the memory and guarantee that the number of accesses to the memory is minimal. The thickness of a line part is usually small in comparison with the length of that line part. This implies that relatively little time is required to determine the coordinates from P1* to P4* so that described lines of the "solid" type can be imaged extremely quickly on a raster. The invention is not restricted to the embodiments described. Thus line parts can be implemented on rasters other than orthogonal with comparable methods of line generation. These and other methods which those skilled in the art will readily be able to derive from the line generations described will, however, all fall within the scope of the following claims.

Claims: A method of generating a line part of thickness D on a homogeneous raster, the raster points of which are arranged in a number of parallel lines, and in which the bit respresentation of the line part (250) is stored in a bit-map memory in the form of a large number of image points or pixels, characterised by determination of the envelope of the line part and the imaging of said envelope, starting point and end point on the raster points, determination of the length of the section through the line part of the successive raster lines, whereby this section comprises at least three raster points, and placing of the bit representation of said lengths in the bit-map memory being a word-oriented bit-map memory, at corresponding locations, the direction of the determined lengths corresponding to the word direction of the bit-map memory. A method according to claim 1, characterised by determination of the image of the starting point and end point of the line part (250) on those raster points, having the smallest distance from the starting point and end point of the desired line part, generation of a circle (261) having the starting point of the line part as the centre (X*, Y * ) and having (D - 1)/2 as radius, whereby the thickness D is an odd multiple of the raster spacing, determination of the four raster points within which is situated the point of intersection (S) of said circle (261) with the line (262) through the starting point (251) and the end point (252) of the line part (250), determination of the raster point (S*) in the direct vicinity of the point of intersection (S) having the smallest distance from the tangent (263) to the circle (261) through the point of intersection (S), and by means of said determined raster point (S*), determination of four raster points of intersection (P1* to P4 * ) as points of the imaged envelope. A method according to claim 2, for generating a line part having round ends, characterised in that the four raster points of intersection (P1 * to P4*) form the images of the junction points between the round ends and the straight enveloping lines of the line part. A method according to claim 2, for generating a line part having straight ends, characterised in that the four raster points of intersection (P1 * to P4*) form the images of the corner points of the enveloping lines of the line part.

Inventors: SCHUERMAN, CORNELIS PIETER
Applicants: OCE-NEDERLAND B.V.
Application year: 1986
Main classification: G06K15
IPC codes: G06K15, G06T11, B41J2, G09G5, G06F3