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

« back to all changes in this revision

Viewing changes to src/display/sp-ctrlpoint.h

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook, Ted Gould, Kees Cook
  • Date: 2009-06-24 14:00:43 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20090624140043-07stp20mry48hqup
Tags: 0.47~pre0-0ubuntu1
* New upstream release

[ Ted Gould ]
* debian/control: Adding libgsl0 and removing version specifics on boost

[ Kees Cook ]
* debian/watch: updated to run uupdate and mangle pre-release versions.
* Dropped patches that have been taken upstream:
  - 01_mips
  - 02-poppler-0.8.3
  - 03-chinese-inkscape
  - 05_fix_latex_patch
  - 06_gcc-4.4
  - 07_cdr2svg
  - 08_skip-bad-utf-on-pdf-import
  - 09_gtk-clist
  - 10_belarussian
  - 11_libpng
  - 12_desktop
  - 13_slider
  - 100_svg_import_improvements
  - 102_sp_pattern_painter_free
  - 103_bitmap_type_print

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef __INKSCAPE_CTRLPOINT_H__
 
2
#define __INKSCAPE_CTRLPOINT_H__
 
3
 
 
4
/*
 
5
 * A simple point
 
6
 *
 
7
 * Author:
 
8
 *   Maximilian Albert <maximilian.albert@gmail.com>
 
9
 *
 
10
 * Copyright (C) 2008 Maximilian Albert
 
11
 *
 
12
 * Released under GNU GPL
 
13
 */
 
14
 
 
15
#include "sp-canvas.h"
 
16
 
 
17
struct SPItem;
 
18
 
 
19
#define SP_TYPE_CTRLPOINT (sp_ctrlpoint_get_type ())
 
20
#define SP_CTRLPOINT(obj) (GTK_CHECK_CAST ((obj), SP_TYPE_CTRLPOINT, SPCtrlPoint))
 
21
#define SP_IS_CTRLPOINT(obj) (GTK_CHECK_TYPE ((obj), SP_TYPE_CTRLPOINT))
 
22
 
 
23
struct SPCtrlPoint : public SPCanvasItem{
 
24
    SPItem *item;  // the item to which this line belongs in some sense; may be NULL for some users
 
25
    guint32 rgba;
 
26
    Geom::Point pt;
 
27
    Geom::Matrix affine;
 
28
    double radius;
 
29
};
 
30
struct SPCtrlPointClass : public SPCanvasItemClass{};
 
31
 
 
32
GType sp_ctrlpoint_get_type (void);
 
33
 
 
34
void sp_ctrlpoint_set_color (SPCtrlPoint *cp, guint32 rgba);
 
35
void sp_ctrlpoint_set_coords (SPCtrlPoint *cp, const gdouble x, const gdouble y);
 
36
void sp_ctrlpoint_set_coords (SPCtrlPoint *cp, const Geom::Point pt);
 
37
void sp_ctrlpoint_set_radius (SPCtrlPoint *cp, const double r);
 
38
 
 
39
 
 
40
 
 
41
#endif
 
42
 
 
43
/*
 
44
  Local Variables:
 
45
  mode:c++
 
46
  c-file-style:"stroustrup"
 
47
  c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
 
48
  indent-tabs-mode:nil
 
49
  fill-column:99
 
50
  End:
 
51
*/
 
52
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :