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 5 CRX-48Z 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.

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.

Plane Mask Defaults

All accessible planes are enabled for display and writing.

Semaphore Default

Semaphore operations are enabled.

Line Type Defaults

The default line types are created with the dash lists shown below. The Starbase default line type is SOLID, line type 0. See the following table.

Table 5-4 Default Line Types

Line Type

Dash Count

Dash List

0

1

1

1

2

8 8

2

2

1 1

3

4

13 1 1 1

4

6

11 1 1 1 1 1

5

2

11 5

6

4

12 1 2 1

7

6

9 1 2 1 2 1

 

Each number in the above table represents a single dash in the pattern. The first number is the number of dashes in the list. The rest of the numbers are the length of each dash, alternating on and off, with the first dash being on. For example, line type 6 has 4 dashes, 12 pixels on, then 1 off, then 2 on, then 1 off. This pattern repeats for the length of the line.

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