Source code: com/xerox/VTM/glyphs/ProjText.java
1 /* FILE: ProjText.java
2 * DATE OF CREATION: Nov 24 2001
3 * AUTHOR : Emmanuel Pietriga (emmanuel.pietriga@xrce.xerox.com)
4 * MODIF: Thu Jan 24 10:31:30 2002 by Emmanuel Pietriga
5 * Copyright (c) Xerox Corporation, XRCE/Contextual Computing, 2002. All Rights Reserved
6 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
11 *
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
16 *
17 * For full terms see the file COPYING.
18 */
19
20 package com.xerox.VTM.glyphs;
21
22 /**project coordinates of a rectangle
23 * @author Emmanuel Pietriga
24 */
25
26 class ProjText extends ProjectedCoords {
27
28 /**width and height of bounding rectangle in virtual space - can be different for each camera since different views can use different fonts*/
29 int cw,ch;
30 /**tells whether the bounding rectangle needs to be computed at next paint call or not*/
31 boolean valid=false;
32
33 }