Source code: com/xerox/VTM/glyphs/ProjectedCoords.java
1 /* FILE: ProjectedCoords.java
2 * DATE OF CREATION: Nov 08 2000
3 * AUTHOR : Emmanuel Pietriga (emmanuel.pietriga@xrce.xerox.com)
4 * MODIF: Thu Jan 24 10:31:47 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 import java.awt.Polygon;
23
24 /**project coordinates - parent class of all projected coordinates objects
25 * @author Emmanuel Pietriga
26 */
27
28 public class ProjectedCoords {
29
30 /**coordinate in camera space (geom center of object)*/
31 int cx,cy;
32
33 /**used to draw shape when orientation is different from 0 (for rectangle) or when original shape is already complex*/
34 Polygon p;
35
36 /**tells whether the mouse was over this glyph or not last time*/
37 boolean prevMouseIn=false;
38
39 }