/src/libmspub/src/lib/Margins.h
Line | Count | Source |
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 | 25.0k | m_left(left), m_top(top), m_right(right), m_bottom(bottom) { } |
18 | 5.06k | 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: */ |