Margins.h Source File documentation

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

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