~ubuntu-branches/ubuntu/utopic/inkscape/utopic-proposed

« back to all changes in this revision

Viewing changes to inkscape-0.47pre1/src/libnr/nr-rotate-fns.h

  • Committer: Bazaar Package Importer
  • Author(s): Bryce Harrington
  • Date: 2009-07-02 17:09:45 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20090702170945-nn6d6zswovbwju1t
Tags: 0.47~pre1-0ubuntu1
* New upstream release.
  - Don't constrain maximization on small resolution devices (pre0)
    (LP: #348842)
  - Fixes segfault on startup (pre0)
    (LP: #391149)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef SEEN_NR_ROTATE_FNS_H
 
2
#define SEEN_NR_ROTATE_FNS_H
 
3
 
 
4
/** \file
 
5
 * Declarations for rotation functions.
 
6
 */
 
7
 
 
8
#include <libnr/nr-rotate.h>
 
9
#include <libnr/nr-point-fns.h>
 
10
 
 
11
inline bool rotate_equalp(NR::rotate const &a, NR::rotate const &b, double const eps)
 
12
{
 
13
    return point_equalp(a.vec, b.vec, eps);
 
14
}
 
15
 
 
16
NR::rotate rotate_degrees(double degrees);
 
17
 
 
18
#endif /* !SEEN_NR_ROTATE_FNS_H */
 
19
 
 
20
/*
 
21
  Local Variables:
 
22
  mode:c++
 
23
  c-file-style:"stroustrup"
 
24
  c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
 
25
  indent-tabs-mode:nil
 
26
  fill-column:99
 
27
  End:
 
28
*/
 
29
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :