| 1 | /*************************************************************************** |
| 2 | canvas.cpp - description |
| 3 | ------------------- |
| 4 | begin : Mon Oct 16 2000 |
| 5 | copyright : (C) 2000 by Waldemar Baraldi |
| 6 | email : [email protected] |
| 7 | ***************************************************************************/ |
| 8 | |
| 9 | /*************************************************************************** |
| 10 | * * |
| 11 | * This program is free software; you can redistribute it and/or modify * |
| 12 | * it under the terms of the GNU General Public License as published by * |
| 13 | * the Free Software Foundation; either version 2 of the License, or * |
| 14 | * (at your option) any later version. * |
| 15 | * * |
| 16 | ***************************************************************************/ |
| 17 | |
| 18 | #include "canvas.h"cxx . . $ `<file>/src/canvas.h`/ |
| 19 | |
| 20 | Canvascxx . . $ Canvas#::Canvascxx . . $ Canvas#Canvas(49f6e7a06ebc5aa8).():Graphiccxx . . $ Graphic#(){ |
| 21 | xcxx . . $ Canvas#x.=ycxx . . $ Canvas#y.=0; |
| 22 | } |
| 23 | |
| 24 | Canvascxx . . $ Canvas#::Canvascxx . . $ Canvas#Canvas(3e454b8ccf442868).(int width, int height):Graphiccxx . . $ Graphic#(width, height){ |
| 25 | xcxx . . $ Canvas#x.=ycxx . . $ Canvas#y.=0; |
| 26 | } |
| 27 | |
| 28 | void Canvascxx . . $ Canvas#::setPoscxx . . $ Canvas#setPos(3e454b8ccf442868).(int x, int y){ |
| 29 | this->xcxx . . $ Canvas#x.=x;this->ycxx . . $ Canvas#y.=y; |
| 30 | } |
| 31 | |
| 32 | int Canvascxx . . $ Canvas#::getXcxx . . $ Canvas#getX(b126dc7c1de90089).(){ |
| 33 | return xcxx . . $ Canvas#x.; |
| 34 | } |
| 35 | |
| 36 | int Canvascxx . . $ Canvas#::getYcxx . . $ Canvas#getY(b126dc7c1de90089).(){ |
| 37 | return ycxx . . $ Canvas#y.; |
| 38 | } |
| 39 | |
| 40 |