source: trunk/IPs/systemC/processor/Morpheo/Tools/Viewer/Bdd/src/Coord_alloc.cpp @ 99

Last change on this file since 99 was 81, checked in by rosiere, 16 years ago
  • Finish Environment (and test)
  • Continue predictor_unit
  • Add external tools
  • svn keyword "Id" set
  • Property svn:keywords set to Id
File size: 356 bytes
Line 
1/*
2 *
3 * [desc.]
4 */
5#include "Tools/Viewer/Bdd/include/Coord.h"
6
7namespace morpheo{
8namespace tools{
9namespace viewer{
10namespace bdd{     
11
12  Coord::Coord(int x,int y,int lx,int ly){
13    pos_hg_x=x-lx;
14    pos_hg_y=y-ly;
15    pos_bd_x=x+lx;
16    pos_bd_y=y+ly;
17    size_x=lx*2;
18    size_y=ly*2;
19  }
20
21};//end bdd
22};//end viewer
23};//end tools
24};//end morpheo
Note: See TracBrowser for help on using the repository browser.