/usr/include/goocanvasmm-1.0/goocanvasmm/bounds.h is in libgoocanvasmm-dev 0.15.4-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 | // -*- c++ -*-
// Generated by gtkmmproc -- DO NOT MODIFY!
#ifndef _GOOCANVASMM_BOUNDS_H
#define _GOOCANVASMM_BOUNDS_H
#include <glibmm.h>
/* Copyright (C) 1998-2006 The gtkmm Development Team
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <gdkmm.h>
#include <goocanvasitem.h> //For GooCanvasBounds.
namespace Goocanvas
{
class Bounds
{
public:
#ifndef DOXYGEN_SHOULD_SKIP_THIS
typedef Bounds CppObjectType;
typedef GooCanvasBounds BaseObjectType;
static GType get_type() G_GNUC_CONST;
#endif /* DOXYGEN_SHOULD_SKIP_THIS */
Bounds();
explicit Bounds(const GooCanvasBounds* gobject); // always takes a copy
///Provides access to the underlying C instance.
GooCanvasBounds* gobj() { return &gobject_; }
///Provides access to the underlying C instance.
const GooCanvasBounds* gobj() const { return &gobject_; }
protected:
GooCanvasBounds gobject_;
private:
public:
Bounds(double x1, double y1, double x2, double y2);
double get_x1() const;
void set_x1(const double& value);
double get_x2() const;
void set_x2(const double& value);
double get_y1() const;
void set_y1(const double& value);
double get_y2() const;
void set_y2(const double& value);
};
}
namespace Glib
{
/** @relates Goocanvas::Bounds
* @param object The C instance
* @result A C++ instance that wraps this C instance.
*/
Goocanvas::Bounds& wrap(GooCanvasBounds* object);
/** @relates Goocanvas::Bounds
* @param object The C instance
* @result A C++ instance that wraps this C instance.
*/
const Goocanvas::Bounds& wrap(const GooCanvasBounds* object);
#ifndef DOXYGEN_SHOULD_SKIP_THIS
template <>
class Value<Goocanvas::Bounds> : public Glib::Value_Boxed<Goocanvas::Bounds>
{};
#endif /* DOXYGEN_SHOULD_SKIP_THIS */
} // namespace Glib
#endif /* _GOOCANVASMM_BOUNDS_H */
|