📄 glut_tr24.c
字号:
/* char: 0x3d '=' */static const GLubyte ch61data[] = {0xff,0xf0,0xff,0xf0,0x0,0x0,0x0,0x0,0xff,0xf0,0xff,0xf0,};static const BitmapCharRec ch61 = {12,6,-1,-4,14,ch61data};/* char: 0x3c '<' */static const GLubyte ch60data[] = {0x0,0x60,0x1,0xc0,0x7,0x0,0x1c,0x0,0x70,0x0,0xc0,0x0,0x70,0x0,0x1c,0x0,0x7,0x0,0x1,0xc0,0x0,0x60,};static const BitmapCharRec ch60 = {11,11,-1,-1,13,ch60data};/* char: 0x3b ';' */static const GLubyte ch59data[] = {0xc0,0x60,0x20,0xe0,0xc0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xc0,0xc0,};static const BitmapCharRec ch59 = {3,14,-2,3,7,ch59data};/* char: 0x3a ':' */static const GLubyte ch58data[] = {0xc0,0xc0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xc0,0xc0,};static const BitmapCharRec ch58 = {2,11,-2,0,6,ch58data};/* char: 0x39 '9' */static const GLubyte ch57data[] = {0xf0,0x0,0x1c,0x0,0x6,0x0,0x3,0x0,0x3,0x80,0x1,0x80,0x1d,0x80,0x73,0xc0,0x61,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc1,0xc0,0x61,0x80,0x77,0x80,0x1e,0x0,};static const BitmapCharRec ch57 = {10,17,-1,0,12,ch57data};/* char: 0x38 '8' */static const GLubyte ch56data[] = {0x1e,0x0,0x73,0x80,0xe1,0x80,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0x41,0xc0,0x61,0x80,0x37,0x0,0x1e,0x0,0x1e,0x0,0x33,0x0,0x61,0x80,0x61,0x80,0x61,0x80,0x33,0x0,0x1e,0x0,};static const BitmapCharRec ch56 = {10,17,-1,0,12,ch56data};/* char: 0x37 '7' */static const GLubyte ch55data[] = {0x18,0x0,0x18,0x0,0xc,0x0,0xc,0x0,0xc,0x0,0x4,0x0,0x6,0x0,0x6,0x0,0x2,0x0,0x3,0x0,0x3,0x0,0x1,0x0,0x1,0x80,0x81,0x80,0xc0,0xc0,0xff,0xc0,0x7f,0xc0,};static const BitmapCharRec ch55 = {10,17,-1,0,12,ch55data};/* char: 0x36 '6' */static const GLubyte ch54data[] = {0x1e,0x0,0x7b,0x80,0x61,0x80,0xe0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc1,0x80,0xf3,0x80,0xee,0x0,0x60,0x0,0x70,0x0,0x30,0x0,0x18,0x0,0xe,0x0,0x3,0xc0,};static const BitmapCharRec ch54 = {10,17,-1,0,12,ch54data};/* char: 0x35 '5' */static const GLubyte ch53data[] = {0x7e,0x0,0xe3,0x80,0xc1,0x80,0x0,0xc0,0x0,0xc0,0x0,0xc0,0x0,0xc0,0x1,0xc0,0x3,0x80,0xf,0x80,0x7e,0x0,0x78,0x0,0x60,0x0,0x20,0x0,0x20,0x0,0x1f,0x80,0x1f,0xc0,};static const BitmapCharRec ch53 = {10,17,-1,0,12,ch53data};/* char: 0x34 '4' */static const GLubyte ch52data[] = {0x3,0x0,0x3,0x0,0x3,0x0,0x3,0x0,0xff,0xc0,0xff,0xc0,0xc3,0x0,0x43,0x0,0x63,0x0,0x23,0x0,0x33,0x0,0x13,0x0,0x1b,0x0,0xb,0x0,0x7,0x0,0x7,0x0,0x3,0x0,};static const BitmapCharRec ch52 = {10,17,-1,0,12,ch52data};/* char: 0x33 '3' */static const GLubyte ch51data[] = {0x78,0x0,0xe6,0x0,0xc3,0x0,0x1,0x0,0x1,0x80,0x1,0x80,0x1,0x80,0x3,0x80,0x7,0x0,0x1e,0x0,0xc,0x0,0x6,0x0,0x83,0x0,0x83,0x0,0x47,0x0,0x7e,0x0,0x1c,0x0,};static const BitmapCharRec ch51 = {9,17,-1,0,12,ch51data};/* char: 0x32 '2' */static const GLubyte ch50data[] = {0xff,0x80,0xff,0xc0,0x60,0x40,0x30,0x0,0x18,0x0,0xc,0x0,0x4,0x0,0x6,0x0,0x3,0x0,0x3,0x0,0x1,0x80,0x1,0x80,0x81,0x80,0x81,0x80,0x43,0x80,0x7f,0x0,0x1c,0x0,};static const BitmapCharRec ch50 = {10,17,-1,0,12,ch50data};/* char: 0x31 '1' */static const GLubyte ch49data[] = {0xff,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x78,0x18,0x8,};static const BitmapCharRec ch49 = {8,17,-2,0,12,ch49data};/* char: 0x30 '0' */static const GLubyte ch48data[] = {0x1e,0x0,0x33,0x0,0x61,0x80,0x61,0x80,0xe1,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0x61,0x80,0x61,0x80,0x33,0x0,0x1e,0x0,};static const BitmapCharRec ch48 = {10,17,-1,0,12,ch48data};/* char: 0x2f '/' */static const GLubyte ch47data[] = {0xc0,0xc0,0xc0,0x60,0x60,0x20,0x30,0x30,0x10,0x18,0x18,0x8,0xc,0xc,0x4,0x6,0x6,0x3,0x3,0x3,};static const BitmapCharRec ch47 = {8,20,1,3,7,ch47data};/* char: 0x2e '.' */static const GLubyte ch46data[] = {0xc0,0xc0,};static const BitmapCharRec ch46 = {2,2,-2,0,6,ch46data};/* char: 0x2d '-' */static const GLubyte ch45data[] = {0xff,0xf0,0xff,0xf0,};static const BitmapCharRec ch45 = {12,2,-1,-6,14,ch45data};/* char: 0x2c ',' */static const GLubyte ch44data[] = {0xc0,0x60,0x20,0xe0,0xc0,};static const BitmapCharRec ch44 = {3,5,-2,3,7,ch44data};/* char: 0x2b '+' */static const GLubyte ch43data[] = {0x6,0x0,0x6,0x0,0x6,0x0,0x6,0x0,0x6,0x0,0xff,0xf0,0xff,0xf0,0x6,0x0,0x6,0x0,0x6,0x0,0x6,0x0,0x6,0x0,};static const BitmapCharRec ch43 = {12,12,-1,-1,14,ch43data};/* char: 0x2a '*' */static const GLubyte ch42data[] = {0x8,0x0,0x1c,0x0,0xc9,0x80,0xeb,0x80,0x1c,0x0,0xeb,0x80,0xc9,0x80,0x1c,0x0,0x8,0x0,};static const BitmapCharRec ch42 = {9,9,-2,-8,12,ch42data};/* char: 0x29 ')' */static const GLubyte ch41data[] = {0x80,0x40,0x20,0x30,0x10,0x18,0x18,0xc,0xc,0xc,0xc,0xc,0xc,0xc,0xc,0x18,0x18,0x10,0x30,0x20,0x40,0x80,};static const BitmapCharRec ch41 = {6,22,-1,5,8,ch41data};/* char: 0x28 '(' */static const GLubyte ch40data[] = {0x4,0x8,0x10,0x30,0x20,0x60,0x60,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0x60,0x60,0x20,0x30,0x10,0x8,0x4,};static const BitmapCharRec ch40 = {6,22,-1,5,8,ch40data};/* char: 0x27 ''' */static const GLubyte ch39data[] = {0xc0,0x60,0x20,0xe0,0xc0,};static const BitmapCharRec ch39 = {3,5,-3,-12,8,ch39data};/* char: 0x26 '&' */static const GLubyte ch38data[] = {0x3c,0x3c,0x7f,0x7e,0xe1,0xe1,0xc0,0xc0,0xc1,0xc0,0xc1,0xa0,0x63,0x20,0x37,0x10,0x1e,0x18,0xe,0x3e,0xf,0x0,0x1d,0x80,0x18,0xc0,0x18,0x40,0x18,0x40,0xc,0xc0,0x7,0x80,};static const BitmapCharRec ch38 = {16,17,-1,0,18,ch38data};/* char: 0x25 '%' */static const GLubyte ch37data[] = {0x30,0x3c,0x0,0x18,0x72,0x0,0xc,0x61,0x0,0x4,0x60,0x80,0x6,0x60,0x80,0x3,0x30,0x80,0x1,0x19,0x80,0x1,0x8f,0x0,0x78,0xc0,0x0,0xe4,0x40,0x0,0xc2,0x60,0x0,0xc1,0x30,0x0,0xc1,0x10,0x0,0x61,0x18,0x0,0x33,0xfc,0x0,0x1e,0xc,0x0,};static const BitmapCharRec ch37 = {17,16,-1,0,19,ch37data};/* char: 0x24 '$' */static const GLubyte ch36data[] = {0x4,0x0,0x4,0x0,0x3f,0x0,0xe5,0xc0,0xc4,0xc0,0x84,0x60,0x84,0x60,0x4,0x60,0x4,0xe0,0x7,0xc0,0x7,0x80,0x1e,0x0,0x3c,0x0,0x74,0x0,0x64,0x0,0x64,0x20,0x64,0x60,0x34,0xe0,0x1f,0x80,0x4,0x0,0x4,0x0,};static const BitmapCharRec ch36 = {11,21,0,2,12,ch36data};/* char: 0x23 '#' */static const GLubyte ch35data[] = {0x22,0x0,0x22,0x0,0x22,0x0,0x22,0x0,0x22,0x0,0xff,0xc0,0xff,0xc0,0x11,0x0,0x11,0x0,0x11,0x0,0x7f,0xe0,0x7f,0xe0,0x8,0x80,0x8,0x80,0x8,0x80,0x8,0x80,0x8,0x80,};static const BitmapCharRec ch35 = {11,17,-1,0,13,ch35data};/* char: 0x22 '"' */static const GLubyte ch34data[] = {0x88,0xcc,0xcc,0xcc,0xcc,};static const BitmapCharRec ch34 = {6,5,-1,-12,10,ch34data};/* char: 0x21 '!' */static const GLubyte ch33data[] = {0xc0,0xc0,0x0,0x0,0x0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,};static const BitmapCharRec ch33 = {2,17,-3,0,8,ch33data};/* char: 0x20 ' ' */#ifdef _WIN32/* XXX Work around Microsoft OpenGL 1.1 bug where glBitmap with a height or width of zero does not advance the raster position as specified by OpenGL. (Cosmo OpenGL does not have this bug.) */static const GLubyte ch32data[] = { 0x0 };static const BitmapCharRec ch32 = {1,1,0,0,6,ch32data};#elsestatic const BitmapCharRec ch32 = {0,0,0,0,6,0};#endifstatic const BitmapCharRec * const chars[] = {&ch32,&ch33,&ch34,&ch35,&ch36,&ch37,&ch38,&ch39,&ch40,&ch41,&ch42,&ch43,&ch44,&ch45,&ch46,&ch47,&ch48,&ch49,&ch50,&ch51,&ch52,&ch53,&ch54,&ch55,&ch56,&ch57,&ch58,&ch59,&ch60,&ch61,&ch62,&ch63,&ch64,&ch65,&ch66,&ch67,&ch68,&ch69,&ch70,&ch71,&ch72,&ch73,&ch74,&ch75,&ch76,&ch77,&ch78,&ch79,&ch80,&ch81,&ch82,&ch83,&ch84,&ch85,&ch86,&ch87,&ch88,&ch89,&ch90,&ch91,&ch92,&ch93,&ch94,&ch95,&ch96,&ch97,&ch98,&ch99,&ch100,&ch101,&ch102,&ch103,&ch104,&ch105,&ch106,&ch107,&ch108,&ch109,&ch110,&ch111,&ch112,&ch113,&ch114,&ch115,&ch116,&ch117,&ch118,&ch119,&ch120,&ch121,&ch122,&ch123,&ch124,&ch125,&ch126,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,&ch160,&ch161,&ch162,&ch163,&ch164,&ch165,&ch166,&ch167,&ch168,&ch169,&ch170,&ch171,&ch172,&ch173,&ch174,&ch175,&ch176,&ch177,&ch178,&ch179,&ch180,&ch181,&ch182,&ch183,&ch184,&ch185,&ch186,&ch187,&ch188,&ch189,&ch190,&ch191,&ch192,&ch193,&ch194,&ch195,&ch196,&ch197,&ch198,&ch199,&ch200,&ch201,&ch202,&ch203,&ch204,&ch205,&ch206,&ch207,&ch208,&ch209,&ch210,&ch211,&ch212,&ch213,&ch214,&ch215,&ch216,&ch217,&ch218,&ch219,&ch220,&ch221,&ch222,&ch223,&ch224,&ch225,&ch226,&ch227,&ch228,&ch229,&ch230,&ch231,&ch232,&ch233,&ch234,&ch235,&ch236,&ch237,&ch238,&ch239,&ch240,&ch241,&ch242,&ch243,&ch244,&ch245,&ch246,&ch247,&ch248,&ch249,&ch250,&ch251,&ch252,&ch253,&ch254,&ch255,};const BitmapFontRec glutBitmapTimesRoman24 = {"-adobe-times-medium-r-normal--24-240-75-75-p-124-iso8859-1",224,32,chars};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -