HP L 5 manual MC Merge Control, Default

Models: L L 5

1 286
Download 286 pages 16 Kb
Page 170
Image 170

MC (Merge Control)

The MC command controls the color of pixels where two or more page marking primitives intersect on the page. This command supports all 256 Microsoft Windows ternary (ROP3) raster operation codes. A common application of the MC command is the rendering of complex polygon fill patterns. Raster Operations specify how source, destination, and patterns are combined to produce final images.

 

 

MC mode, [opcode][;]

 

 

 

 

 

 

 

 

 

 

Parameter

Format

Functional

Parameter

 

 

 

 

Range

Default

 

 

 

 

 

 

 

 

mode

clamped integer

0 or 1

0 (off)

 

 

 

 

 

 

 

 

opcode

clamped integer

0 to 255

252 (mode=0),

 

 

 

 

 

168 (mode=1)

 

 

 

 

 

 

 

 

Mode — defines the merge control mode as follows:

 

 

0 (off, default) Pixels in a primitive replace corresponding

 

 

 

destination pixels. If no opcode is specified,

 

 

 

252 is used.

 

 

 

1 (on)

Pixels in a primitive merge with

 

 

 

corresponding destination pixels, creating a

 

 

 

new color based on the colors of the source

 

 

 

data and the contents of the destination

 

 

 

(frame buffer). If no opcode is specified,168

 

 

 

is used.

 

 

 

 

 

 

 

 

Note

 

This command is the HP-GL/2 version of the PCL Logical Operation

 

 

command.

 

 

 

This command sets a ROP value which affects not only HP-GL/2 operation but also the PCL ROP value.

The MC command is defaulted by an IN command.

7-6 Color Vector Graphics (HP-GL/2)

EN

Page 170
Image 170
HP L 5 manual MC Merge Control, Default