~valavanisalex/ubuntu/oneiric/inkscape/inkscape_0.48.1-2ubuntu4

« back to all changes in this revision

Viewing changes to src/box3d-side.h

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook, Kees Cook, Ted Gould
  • Date: 2008-02-10 14:20:16 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20080210142016-vcnb2zqyhszu0xvb
Tags: 0.46~pre1-0ubuntu1
[ Kees Cook ]
* debian/control:
  - add libgtkspell-dev build-dep to gain GtkSpell features (LP: #183547).
  - update Standards version (no changes needed).
  - add Vcs and Homepage fields.
  - switch to new python-lxml dep.
* debian/{control,rules}: switch from dpatch to quilt for more sanity.
* debian/patches/20_fix_glib_and_gxx43_ftbfs.patch:
  - merged against upstream fixes.
  - added additional fixes for newly written code.
* debian/rules: enable parallel building.

[ Ted Gould ]
* Updating POTFILES.in to make it so things build correctly.
* debian/control:
  - add ImageMagick++ and libboost-dev to build-deps

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef __BOX3D_SIDE_H__
 
2
#define __BOX3D_SIDE_H__
 
3
 
 
4
/*
 
5
 * 3D box face implementation
 
6
 *
 
7
 * Authors:
 
8
 *   Maximilian Albert <Anhalter42@gmx.de>
 
9
 *
 
10
 * Copyright (C) 2007  Authors
 
11
 *
 
12
 * Released under GNU GPL, read the file 'COPYING' for more information
 
13
 */
 
14
 
 
15
#include "sp-polygon.h"
 
16
#include "axis-manip.h"
 
17
 
 
18
#define SP_TYPE_BOX3D_SIDE            (box3d_side_get_type ())
 
19
#define SP_BOX3D_SIDE(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), SP_TYPE_BOX3D_SIDE, Box3DSide))
 
20
#define SP_BOX3D_SIDE_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), SP_TYPE_BOX3D_SIDE, Box3DSideClass))
 
21
#define SP_IS_BOX3D_SIDE(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SP_TYPE_BOX3D_SIDE))
 
22
#define SP_IS_BOX3D_SIDE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SP_TYPE_BOX3D_SIDE))
 
23
 
 
24
class SPBox3D;
 
25
class Box3DSide;
 
26
class Box3DSideClass;
 
27
class Persp3D;
 
28
 
 
29
// FIXME: Would it be better to inherit from SPPath instead?
 
30
struct Box3DSide : public SPPolygon {
 
31
    Box3D::Axis dir1;
 
32
    Box3D::Axis dir2;
 
33
    Box3D::FrontOrRear front_or_rear;
 
34
};
 
35
 
 
36
struct Box3DSideClass {
 
37
    SPPolygonClass parent_class;
 
38
};
 
39
 
 
40
GType box3d_side_get_type (void);
 
41
 
 
42
//void sp_box3d_side_position_set (Box3DSide *side, NR::Point corner1, NR::Point corner2);
 
43
void box3d_side_set_shape (SPShape *shape);
 
44
void box3d_side_position_set (Box3DSide *side); // FIXME: Replace this by box3d_side_set_shape??
 
45
void box3d_side_apply_style (Box3DSide *side);
 
46
gchar *box3d_side_axes_string(Box3DSide *side);
 
47
Persp3D *box3d_side_perspective(Box3DSide *side);
 
48
 
 
49
Inkscape::XML::Node *box3d_side_convert_to_path(Box3DSide *side);
 
50
 
 
51
#endif /* __BOX3D_SIDE_H__ */
 
52
 
 
53
/*
 
54
  Local Variables:
 
55
  mode:c++
 
56
  c-file-style:"stroustrup"
 
57
  c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
 
58
  indent-tabs-mode:nil
 
59
  fill-column:99
 
60
  End:
 
61
*/
 
62
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :