Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:11:28

0001 /* @(#)root/base:$Id$ */
0002 
0003 /*************************************************************************
0004  * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *
0005  * All rights reserved.                                                  *
0006  *                                                                       *
0007  * For the licensing terms see $ROOTSYS/LICENSE.                         *
0008  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
0009  *************************************************************************/
0010 
0011 #ifndef ROOT_Stipples
0012 #define ROOT_Stipples
0013 
0014 #include <ROOT/RConfig.hxx>
0015 
0016 //////////////////////////////////////////////////////////////////////////
0017 //                                                                      //
0018 // Stipples                                                             //
0019 //                                                                      //
0020 //  Data to create fill area interior style.                            //
0021 //                                                                      //
0022 //////////////////////////////////////////////////////////////////////////
0023 
0024 const unsigned char gStipples[26][32] = {
0025    {
0026       0xaa, 0xaa, 0x55, 0x55, 0xaa, 0xaa, 0x55, 0x55, 0xaa, 0xaa, 0x55, 0x55,
0027       0xaa, 0xaa, 0x55, 0x55, 0xaa, 0xaa, 0x55, 0x55, 0xaa, 0xaa, 0x55, 0x55,
0028       0xaa, 0xaa, 0x55, 0x55, 0xaa, 0xaa, 0x55, 0x55
0029    },  //0
0030    {
0031       0xaa, 0xaa, 0x55, 0x55, 0xaa, 0xaa, 0x55, 0x55, 0xaa, 0xaa, 0x55, 0x55,
0032       0xaa, 0xaa, 0x55, 0x55, 0xaa, 0xaa, 0x55, 0x55, 0xaa, 0xaa, 0x55, 0x55,
0033       0xaa, 0xaa, 0x55, 0x55, 0xaa, 0xaa, 0x55, 0x55
0034    },  //1
0035    {
0036       0x44, 0x44, 0x11, 0x11, 0x44, 0x44, 0x11, 0x11, 0x44, 0x44, 0x11, 0x11,
0037       0x44, 0x44, 0x11, 0x11, 0x44, 0x44, 0x11, 0x11, 0x44, 0x44, 0x11, 0x11,
0038       0x44, 0x44, 0x11, 0x11, 0x44, 0x44, 0x11, 0x11
0039    },  //2
0040    {
0041       0x00, 0x00, 0x44, 0x44, 0x00, 0x00, 0x11, 0x11, 0x00, 0x00, 0x44, 0x44,
0042       0x00, 0x00, 0x11, 0x11, 0x00, 0x00, 0x44, 0x44, 0x00, 0x00, 0x11, 0x11,
0043       0x00, 0x00, 0x44, 0x44, 0x00, 0x00, 0x11, 0x11
0044    }, //3
0045    {
0046       0x80, 0x80, 0x40, 0x40, 0x20, 0x20, 0x10, 0x10, 0x08, 0x08, 0x04, 0x04,
0047       0x02, 0x02, 0x01, 0x01, 0x80, 0x80, 0x40, 0x40, 0x20, 0x20, 0x10, 0x10,
0048       0x08, 0x08, 0x04, 0x04, 0x02, 0x02, 0x01, 0x01
0049    }, //4
0050    {
0051       0x20, 0x20, 0x40, 0x40, 0x80, 0x80, 0x01, 0x01, 0x02, 0x02, 0x04, 0x04,
0052       0x08, 0x08, 0x10, 0x10, 0x20, 0x20, 0x40, 0x40, 0x80, 0x80, 0x01, 0x01,
0053       0x02, 0x02, 0x04, 0x04, 0x08, 0x08, 0x10, 0x10
0054    }, //5
0055    {
0056       0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44,
0057       0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44,
0058       0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44
0059    }, //6
0060    {
0061       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00,
0062       0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff,
0063       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff
0064    }, //7
0065    {
0066       0x11, 0x11, 0xb8, 0xb8, 0x7c, 0x7c, 0x3a, 0x3a, 0x11, 0x11, 0xa3, 0xa3,
0067       0xc7, 0xc7, 0x8b, 0x8b, 0x11, 0x11, 0xb8, 0xb8, 0x7c, 0x7c, 0x3a, 0x3a,
0068       0x11, 0x11, 0xa3, 0xa3, 0xc7, 0xc7, 0x8b, 0x8b
0069    }, //8
0070    {
0071       0x10, 0x10, 0x10, 0x10, 0x28, 0x28, 0xc7, 0xc7, 0x01, 0x01, 0x01, 0x01,
0072       0x82, 0x82, 0x7c, 0x7c, 0x10, 0x10, 0x10, 0x10, 0x28, 0x28, 0xc7, 0xc7,
0073       0x01, 0x01, 0x01, 0x01, 0x82, 0x82, 0x7c, 0x7c
0074    }, //9
0075    {
0076       0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0xff, 0xff, 0x01, 0x01, 0x01, 0x01,
0077       0x01, 0x01, 0xff, 0xff, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0xff, 0xff,
0078       0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0xff, 0xff
0079    }, //10
0080    {
0081       0x08, 0x08, 0x49, 0x49, 0x2a, 0x2a, 0x1c, 0x1c, 0x2a, 0x2a, 0x49, 0x49,
0082       0x08, 0x08, 0x00, 0x00, 0x80, 0x80, 0x94, 0x94, 0xa2, 0xa2, 0xc1, 0xc1,
0083       0xa2, 0xa2, 0x94, 0x94, 0x80, 0x80, 0x00, 0x00
0084    }, //11
0085    {
0086       0x1c, 0x1c, 0x22, 0x22, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x22, 0x22,
0087       0x1c, 0x1c, 0x00, 0x00, 0xc1, 0xc1, 0x22, 0x22, 0x14, 0x14, 0x14, 0x14,
0088       0x14, 0x14, 0x22, 0x22, 0xc1, 0xc1, 0x00, 0x00
0089    }, //12
0090    {
0091       0x01, 0x01, 0x82, 0x82, 0x44, 0x44, 0x28, 0x28, 0x10, 0x10, 0x28, 0x28,
0092       0x44, 0x44, 0x82, 0x82, 0x01, 0x01, 0x82, 0x82, 0x44, 0x44, 0x28, 0x28,
0093       0x10, 0x10, 0x28, 0x28, 0x44, 0x44, 0x82, 0x82
0094    }, //13
0095    {
0096       0xff, 0xff, 0x11, 0x10, 0x11, 0x10, 0x11, 0x10, 0xf1, 0x1f, 0x11, 0x11,
0097       0x11, 0x11, 0x11, 0x11, 0xff, 0x11, 0x01, 0x11, 0x01, 0x11, 0x01, 0x11,
0098       0xff, 0xff, 0x01, 0x10, 0x01, 0x10, 0x01, 0x10
0099    }, //14
0100    {
0101       0x22, 0x22, 0x55, 0x55, 0x22, 0x22, 0x00, 0x00, 0x88, 0x88, 0x55, 0x55,
0102       0x88, 0x88, 0x00, 0x00, 0x22, 0x22, 0x55, 0x55, 0x22, 0x22, 0x00, 0x00,
0103       0x88, 0x88, 0x55, 0x55, 0x88, 0x88, 0x00, 0x00
0104    }, //15
0105    {
0106       0x0e, 0x0e, 0x11, 0x11, 0xe0, 0xe0, 0x00, 0x00, 0x0e, 0x0e, 0x11, 0x11,
0107       0xe0, 0xe0, 0x00, 0x00, 0x0e, 0x0e, 0x11, 0x11, 0xe0, 0xe0, 0x00, 0x00,
0108       0x0e, 0x0e, 0x11, 0x11, 0xe0, 0xe0, 0x00, 0x00
0109    }, //16
0110    {
0111       0x44, 0x44, 0x22, 0x22, 0x11, 0x11, 0x00, 0x00, 0x44, 0x44, 0x22, 0x22,
0112       0x11, 0x11, 0x00, 0x00, 0x44, 0x44, 0x22, 0x22, 0x11, 0x11, 0x00, 0x00,
0113       0x44, 0x44, 0x22, 0x22, 0x11, 0x11, 0x00, 0x00
0114    }, //17
0115    {
0116       0x11, 0x11, 0x22, 0x22, 0x44, 0x44, 0x00, 0x00, 0x11, 0x11, 0x22, 0x22,
0117       0x44, 0x44, 0x00, 0x00, 0x11, 0x11, 0x22, 0x22, 0x44, 0x44, 0x00, 0x00,
0118       0x11, 0x11, 0x22, 0x22, 0x44, 0x44, 0x00, 0x00
0119    }, //18
0120    {
0121       0xe0, 0x03, 0x98, 0x0c, 0x84, 0x10, 0x42, 0x21, 0x42, 0x21, 0x21, 0x42,
0122       0x19, 0x4c, 0x07, 0xf0, 0x19, 0x4c, 0x21, 0x42, 0x42, 0x21, 0x42, 0x21,
0123       0x84, 0x10, 0x98, 0x0c, 0xe0, 0x03, 0x80, 0x00
0124    }, //19
0125    {
0126       0x22, 0x22, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x22, 0x22, 0x44, 0x44,
0127       0x44, 0x44, 0x44, 0x44, 0x22, 0x22, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11,
0128       0x22, 0x22, 0x44, 0x44, 0x44, 0x44, 0x44, 0x44
0129    }, //20
0130    {
0131       0xf1, 0xf1, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x1f, 0x1f, 0x01, 0x01,
0132       0x01, 0x01, 0x01, 0x01, 0xf1, 0xf1, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10,
0133       0x1f, 0x1f, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01
0134    }, //21
0135    {
0136       0x8f, 0x8f, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0xf8, 0xf8, 0x80, 0x80,
0137       0x80, 0x80, 0x80, 0x80, 0x8f, 0x8f, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08,
0138       0xf8, 0xf8, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80
0139    }, //22
0140    {
0141       0xAA, 0xAA, 0x55, 0x55, 0x6a, 0x6a, 0x74, 0x74, 0x78, 0x78, 0x74, 0x74,
0142       0x6a, 0x6a, 0x55, 0x55, 0xAA, 0xAA, 0x55, 0x55, 0x6a, 0x6a, 0x74, 0x74,
0143       0x78, 0x78, 0x74, 0x74, 0x6a, 0x6a, 0x55, 0x55
0144    }, //23
0145    {
0146       0x80, 0x00, 0xc0, 0x00, 0xea, 0xa8, 0xd5, 0x54, 0xea, 0xa8, 0xd5, 0x54,
0147       0xeb, 0xe8, 0xd5, 0xd4, 0xe8, 0xe8, 0xd4, 0xd4, 0xa8, 0xe8, 0x54, 0xd5,
0148       0xa8, 0xea, 0x54, 0xd5, 0xfc, 0xff, 0xfe, 0xff
0149    }, //24
0150    {
0151       0x80, 0x00, 0xc0, 0x00, 0xe0, 0x00, 0xf0, 0x00, 0xff, 0xf0, 0xff, 0xf0,
0152       0xfb, 0xf0, 0xf9, 0xf0, 0xf8, 0xf0, 0xf8, 0x70, 0xf8, 0x30, 0xff, 0xf0,
0153       0xff, 0xf8, 0xff, 0xfc, 0xff, 0xfe, 0xff, 0xff
0154    } //25
0155 };
0156 
0157 #endif