Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RStipples.h
Go to the documentation of this file.
1/* @(#)root/base:$Id$ */
2
3/*************************************************************************
4 * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
5 * All rights reserved. *
6 * *
7 * For the licensing terms see $ROOTSYS/LICENSE. *
8 * For the list of contributors see $ROOTSYS/README/CREDITS. *
9 *************************************************************************/
10
11#ifndef ROOT_Stipples
12#define ROOT_Stipples
13
14#include <ROOT/RConfig.hxx>
15
16//////////////////////////////////////////////////////////////////////////
17// //
18// Stipples //
19// //
20// Data to create fill area interior style. //
21// //
22//////////////////////////////////////////////////////////////////////////
23
24const unsigned char gStipples[26][32] = {
25 {
26 0xaa, 0xaa, 0x55, 0x55, 0xaa, 0xaa, 0x55, 0x55, 0xaa, 0xaa, 0x55, 0x55,
27 0xaa, 0xaa, 0x55, 0x55, 0xaa, 0xaa, 0x55, 0x55, 0xaa, 0xaa, 0x55, 0x55,
28 0xaa, 0xaa, 0x55, 0x55, 0xaa, 0xaa, 0x55, 0x55
29 }, //0
30 {
31 0xaa, 0xaa, 0x55, 0x55, 0xaa, 0xaa, 0x55, 0x55, 0xaa, 0xaa, 0x55, 0x55,
32 0xaa, 0xaa, 0x55, 0x55, 0xaa, 0xaa, 0x55, 0x55, 0xaa, 0xaa, 0x55, 0x55,
33 0xaa, 0xaa, 0x55, 0x55, 0xaa, 0xaa, 0x55, 0x55
34 }, //1
35 {
36 0x44, 0x44, 0x11, 0x11, 0x44, 0x44, 0x11, 0x11, 0x44, 0x44, 0x11, 0x11,
37 0x44, 0x44, 0x11, 0x11, 0x44, 0x44, 0x11, 0x11, 0x44, 0x44, 0x11, 0x11,
38 0x44, 0x44, 0x11, 0x11, 0x44, 0x44, 0x11, 0x11
39 }, //2
40 {
41 0x00, 0x00, 0x44, 0x44, 0x00, 0x00, 0x11, 0x11, 0x00, 0x00, 0x44, 0x44,
42 0x00, 0x00, 0x11, 0x11, 0x00, 0x00, 0x44, 0x44, 0x00, 0x00, 0x11, 0x11,
43 0x00, 0x00, 0x44, 0x44, 0x00, 0x00, 0x11, 0x11
44 }, //3
45 {
46 0x80, 0x80, 0x40, 0x40, 0x20, 0x20, 0x10, 0x10, 0x08, 0x08, 0x04, 0x04,
47 0x02, 0x02, 0x01, 0x01, 0x80, 0x80, 0x40, 0x40, 0x20, 0x20, 0x10, 0x10,
48 0x08, 0x08, 0x04, 0x04, 0x02, 0x02, 0x01, 0x01
49 }, //4
50 {
51 0x20, 0x20, 0x40, 0x40, 0x80, 0x80, 0x01, 0x01, 0x02, 0x02, 0x04, 0x04,
52 0x08, 0x08, 0x10, 0x10, 0x20, 0x20, 0x40, 0x40, 0x80, 0x80, 0x01, 0x01,
53 0x02, 0x02, 0x04, 0x04, 0x08, 0x08, 0x10, 0x10
54 }, //5
55 {
56 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44,
57 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44,
58 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44
59 }, //6
60 {
61 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00,
62 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff,
63 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff
64 }, //7
65 {
66 0x11, 0x11, 0xb8, 0xb8, 0x7c, 0x7c, 0x3a, 0x3a, 0x11, 0x11, 0xa3, 0xa3,
67 0xc7, 0xc7, 0x8b, 0x8b, 0x11, 0x11, 0xb8, 0xb8, 0x7c, 0x7c, 0x3a, 0x3a,
68 0x11, 0x11, 0xa3, 0xa3, 0xc7, 0xc7, 0x8b, 0x8b
69 }, //8
70 {
71 0x10, 0x10, 0x10, 0x10, 0x28, 0x28, 0xc7, 0xc7, 0x01, 0x01, 0x01, 0x01,
72 0x82, 0x82, 0x7c, 0x7c, 0x10, 0x10, 0x10, 0x10, 0x28, 0x28, 0xc7, 0xc7,
73 0x01, 0x01, 0x01, 0x01, 0x82, 0x82, 0x7c, 0x7c
74 }, //9
75 {
76 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0xff, 0xff, 0x01, 0x01, 0x01, 0x01,
77 0x01, 0x01, 0xff, 0xff, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0xff, 0xff,
78 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0xff, 0xff
79 }, //10
80 {
81 0x08, 0x08, 0x49, 0x49, 0x2a, 0x2a, 0x1c, 0x1c, 0x2a, 0x2a, 0x49, 0x49,
82 0x08, 0x08, 0x00, 0x00, 0x80, 0x80, 0x94, 0x94, 0xa2, 0xa2, 0xc1, 0xc1,
83 0xa2, 0xa2, 0x94, 0x94, 0x80, 0x80, 0x00, 0x00
84 }, //11
85 {
86 0x1c, 0x1c, 0x22, 0x22, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x22, 0x22,
87 0x1c, 0x1c, 0x00, 0x00, 0xc1, 0xc1, 0x22, 0x22, 0x14, 0x14, 0x14, 0x14,
88 0x14, 0x14, 0x22, 0x22, 0xc1, 0xc1, 0x00, 0x00
89 }, //12
90 {
91 0x01, 0x01, 0x82, 0x82, 0x44, 0x44, 0x28, 0x28, 0x10, 0x10, 0x28, 0x28,
92 0x44, 0x44, 0x82, 0x82, 0x01, 0x01, 0x82, 0x82, 0x44, 0x44, 0x28, 0x28,
93 0x10, 0x10, 0x28, 0x28, 0x44, 0x44, 0x82, 0x82
94 }, //13
95 {
96 0xff, 0xff, 0x11, 0x10, 0x11, 0x10, 0x11, 0x10, 0xf1, 0x1f, 0x11, 0x11,
97 0x11, 0x11, 0x11, 0x11, 0xff, 0x11, 0x01, 0x11, 0x01, 0x11, 0x01, 0x11,
98 0xff, 0xff, 0x01, 0x10, 0x01, 0x10, 0x01, 0x10
99 }, //14
100 {
101 0x22, 0x22, 0x55, 0x55, 0x22, 0x22, 0x00, 0x00, 0x88, 0x88, 0x55, 0x55,
102 0x88, 0x88, 0x00, 0x00, 0x22, 0x22, 0x55, 0x55, 0x22, 0x22, 0x00, 0x00,
103 0x88, 0x88, 0x55, 0x55, 0x88, 0x88, 0x00, 0x00
104 }, //15
105 {
106 0x0e, 0x0e, 0x11, 0x11, 0xe0, 0xe0, 0x00, 0x00, 0x0e, 0x0e, 0x11, 0x11,
107 0xe0, 0xe0, 0x00, 0x00, 0x0e, 0x0e, 0x11, 0x11, 0xe0, 0xe0, 0x00, 0x00,
108 0x0e, 0x0e, 0x11, 0x11, 0xe0, 0xe0, 0x00, 0x00
109 }, //16
110 {
111 0x44, 0x44, 0x22, 0x22, 0x11, 0x11, 0x00, 0x00, 0x44, 0x44, 0x22, 0x22,
112 0x11, 0x11, 0x00, 0x00, 0x44, 0x44, 0x22, 0x22, 0x11, 0x11, 0x00, 0x00,
113 0x44, 0x44, 0x22, 0x22, 0x11, 0x11, 0x00, 0x00
114 }, //17
115 {
116 0x11, 0x11, 0x22, 0x22, 0x44, 0x44, 0x00, 0x00, 0x11, 0x11, 0x22, 0x22,
117 0x44, 0x44, 0x00, 0x00, 0x11, 0x11, 0x22, 0x22, 0x44, 0x44, 0x00, 0x00,
118 0x11, 0x11, 0x22, 0x22, 0x44, 0x44, 0x00, 0x00
119 }, //18
120 {
121 0xe0, 0x03, 0x98, 0x0c, 0x84, 0x10, 0x42, 0x21, 0x42, 0x21, 0x21, 0x42,
122 0x19, 0x4c, 0x07, 0xf0, 0x19, 0x4c, 0x21, 0x42, 0x42, 0x21, 0x42, 0x21,
123 0x84, 0x10, 0x98, 0x0c, 0xe0, 0x03, 0x80, 0x00
124 }, //19
125 {
126 0x22, 0x22, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x22, 0x22, 0x44, 0x44,
127 0x44, 0x44, 0x44, 0x44, 0x22, 0x22, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11,
128 0x22, 0x22, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44
129 }, //20
130 {
131 0xf1, 0xf1, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x1f, 0x1f, 0x01, 0x01,
132 0x01, 0x01, 0x01, 0x01, 0xf1, 0xf1, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10,
133 0x1f, 0x1f, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01
134 }, //21
135 {
136 0x8f, 0x8f, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0xf8, 0xf8, 0x80, 0x80,
137 0x80, 0x80, 0x80, 0x80, 0x8f, 0x8f, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08,
138 0xf8, 0xf8, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80
139 }, //22
140 {
141 0xAA, 0xAA, 0x55, 0x55, 0x6a, 0x6a, 0x74, 0x74, 0x78, 0x78, 0x74, 0x74,
142 0x6a, 0x6a, 0x55, 0x55, 0xAA, 0xAA, 0x55, 0x55, 0x6a, 0x6a, 0x74, 0x74,
143 0x78, 0x78, 0x74, 0x74, 0x6a, 0x6a, 0x55, 0x55
144 }, //23
145 {
146 0x80, 0x00, 0xc0, 0x00, 0xea, 0xa8, 0xd5, 0x54, 0xea, 0xa8, 0xd5, 0x54,
147 0xeb, 0xe8, 0xd5, 0xd4, 0xe8, 0xe8, 0xd4, 0xd4, 0xa8, 0xe8, 0x54, 0xd5,
148 0xa8, 0xea, 0x54, 0xd5, 0xfc, 0xff, 0xfe, 0xff
149 }, //24
150 {
151 0x80, 0x00, 0xc0, 0x00, 0xe0, 0x00, 0xf0, 0x00, 0xff, 0xf0, 0xff, 0xf0,
152 0xfb, 0xf0, 0xf9, 0xf0, 0xf8, 0xf0, 0xf8, 0x70, 0xf8, 0x30, 0xff, 0xf0,
153 0xff, 0xf8, 0xff, 0xfc, 0xff, 0xfe, 0xff, 0xff
154 } //25
155};
156
157#endif
const unsigned char gStipples[26][32]
Definition RStipples.h:24