umbrello API Documentation

graphviznode.cpp

00001 /*
00002  *  copyright (C) 2005
00003  *  Umbrello UML Modeller Authors <uml-devel @uml.sf.net>
00004  */
00005 
00006 /***************************************************************************
00007  *                                                                         *
00008  *   This program is free software; you can redistribute it and/or modify  *
00009  *   it under the terms of the GNU General Public License as published by  *
00010  *   the Free Software Foundation; either version 2 of the License, or     *
00011  *   (at your option) any later version.                                   *
00012  *                                                                         *
00013  ***************************************************************************/
00014 #include "graphviznode.h"
00015 
00016 #include <stdio.h>
00017 #include <graphviz/types.h>
00018 #include <graphviz/graph.h>
00019 
00020 namespace Autolayout {
00021 
00022 
00023 
00024 GraphvizNode::~GraphvizNode()
00025 {
00026 }
00027 
00028 
00029 int GraphvizNode::getX()
00030 {
00031     point p = ND_coord_i(n);
00032     return p.x;
00033 }
00034 
00035 int GraphvizNode::getY()
00036 {
00037     point p = ND_coord_i(n);
00038     return p.y;
00039 }
00040 
00041 }
00042 
00043 Autolayout::GraphvizNode::GraphvizNode( Agnode_t * node )
00044 {
00045     n=node;
00046 }
KDE Logo
This file is part of the documentation for umbrello Version 3.1.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Jun 26 08:07:57 2007 by doxygen 1.4.1 written by Dimitri van Heesch, © 1997-2003