Margins.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 libmspub 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 INCLUDED_MARGINS_H
11 #define INCLUDED_MARGINS_H
12 namespace libmspub
13 {
14 struct Margins
15 {
16  Margins(unsigned left, unsigned top, unsigned right, unsigned bottom) :
17  m_left(left), m_top(top), m_right(right), m_bottom(bottom) { }
18  Margins() : m_left(0), m_top(0), m_right(0), m_bottom(0) { }
20 };
21 }
22 #endif
23 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
Margins(unsigned left, unsigned top, unsigned right, unsigned bottom)
Definition: Margins.h:16
Margins()
Definition: Margins.h:18
Definition: Margins.h:14
unsigned m_right
Definition: Margins.h:19
Definition: Arrow.h:13
unsigned m_bottom
Definition: Margins.h:19
unsigned m_top
Definition: Margins.h:19
unsigned m_left
Definition: Margins.h:19

Generated for libmspub by doxygen 1.8.14