Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Starbase Device Drivers Manual - Vol1: HP 9000 Series 700 Computers > Chapter 2 HP VMX Device Driver

Special Device Characteristics

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

Device Coordinate Addressing

For device coordinate operations, location (0, 0) is the upper-left corner of the window with X-axis values increasing to the right and Y-axis values increasing down.

Use this form of pixel addressing when calling high-level Starbase operations in terms of (x,y) device coordinates.

The maximum x and y coordinates are determined by the size of the window.

Device Defaults

Dither Default

If the number of colors specified by fill_dither is 1, dithering is disabled. However, if the number of colors specified is greater than 1, the default dither cell size of 16 is used. Dithering is only used in depth 8 windows while in either the CMAP_FULL or CMAP_MONOTONIC color map mode.

Raster Echo Default

The default raster echo is the following 8x8 array:

255  255  255  255  0    0    0    0
255 255 0 0 0 0 0 0
255 0 255 0 0 0 0 0
255 0 0 255 0 0 0 0
0 0 0 0 255 0 0 0
0 0 0 0 0 255 0 0
0 0 0 0 0 0 255 0
0 0 0 0 0 0 0 255

The maximum size for a raster echo is 64x64 pixels.

Semaphore Default

Semaphore operations have no effect on HP VMX.

Line Type Defaults

The default line types are created with the bit patterns shown below:

Table 2-1 Line Type Defaults

Line Type

Pattern

0

1111111111111111

1

1111111100000000

2

1010101010101010

3

1111111111111010

4

1111111111101010

5

1111111111100000

6

1111111111110110

7

1111111110110110

 

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1989 - 1995 Hewlett-Packard Development Company, L.P.