FHTransform.h
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2/*
3 * This file is part of the libfreehand project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
9
10#ifndef __FHTRANSFORM_H__
11#define __FHTRANSFORM_H__
12
13namespace libfreehand
14{
15
17{
19 FHTransform(double m11, double m21, double m12, double m22, double m13, double m23);
20 FHTransform(const FHTransform &trafo);
22
23 void applyToPoint(double &x, double &y) const;
24 void applyToArc(double &rx, double &ry, double &rotation, bool &sweep, double &endx, double &endy) const;
25
26 double m_m11;
27 double m_m21;
28 double m_m12;
29 double m_m22;
30 double m_m13;
31 double m_m23;
32};
33
34} // namespace libfreehand
35
36#endif /* __FHTRANSFORM_H__ */
37/* vim:set shiftwidth=2 softtabstop=2 expandtab: */
Definition FHCollector.h:23
double m_m23
Definition FHTransform.h:31
void applyToArc(double &rx, double &ry, double &rotation, bool &sweep, double &endx, double &endy) const
Definition FHTransform.cpp:35
double m_m11
Definition FHTransform.h:26
FHTransform()
Definition FHTransform.cpp:14
FHTransform(const FHTransform &trafo)
double m_m13
Definition FHTransform.h:30
double m_m21
Definition FHTransform.h:27
double m_m22
Definition FHTransform.h:29
FHTransform & operator=(const FHTransform &trafo)
void applyToPoint(double &x, double &y) const
Definition FHTransform.cpp:28
double m_m12
Definition FHTransform.h:28

Generated for libfreehand by doxygen 1.16.1