01: ///////////////////////////////////////////////////////////////////////////////
02: //
03: // This program is free software; you can redistribute it and/or modify
04: // it under the terms of the GNU General Public License and GNU Library
05: // General Public License as published by the Free Software Foundation;
06: // either version 2, or (at your option) any later version.
07: //
08: // This program is distributed in the hope that it will be useful,
09: // but WITHOUT ANY WARRANTY; without even the implied warranty of
10: // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11: // GNU General Public License and GNU Library General Public License
12: // for more details.
13: //
14: // You should have received a copy of the GNU General Public License
15: // and GNU Library General Public License along with this program; if
16: // not, write to the Free Software Foundation, 675 Mass Ave, Cambridge,
17: // MA 02139, USA.
18: //
19: ///////////////////////////////////////////////////////////////////////////////
20:
21: package org.rdesktop.server.rdp;
22:
23: public class RdpGlyph {
24: private int m_font;
25: private int m_character;
26: private int m_offset;
27: private int m_baseline;
28: private int m_width;
29: private int m_height;
30: private byte[] m_fontdata;
31:
32: public RdpGlyph(int font, int character, int offset, int baseline,
33: int width, int height, byte[] fontdata) {
34: m_font = font;
35: m_character = character;
36: m_offset = offset;
37: m_baseline = baseline;
38: m_width = width;
39: m_height = height;
40: m_fontdata = fontdata;
41: }
42:
43: public int getFont() {
44: return m_font;
45: }
46:
47: public int getBaseLine() {
48: return m_baseline;
49: }
50:
51: public int getCharacter() {
52: return m_character;
53: }
54:
55: public int getOffset() {
56: return m_offset;
57: }
58:
59: public int getWidth() {
60: return m_width;
61: }
62:
63: public int getHeight() {
64: return m_height;
65: }
66:
67: public byte[] getFontData() {
68: return m_fontdata;
69: }
70: }
|