Margins.h
Go to the documentation of this file.
00001 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
00002 /*
00003  * This file is part of the libmspub project.
00004  *
00005  * This Source Code Form is subject to the terms of the Mozilla Public
00006  * License, v. 2.0. If a copy of the MPL was not distributed with this
00007  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
00008  */
00009 
00010 #ifndef __MARGINS_H__
00011 #define __MARGINS_H__
00012 namespace libmspub
00013 {
00014 struct Margins
00015 {
00016   Margins(unsigned left, unsigned top, unsigned right, unsigned bottom) :
00017     m_left(left), m_top(top), m_right(right), m_bottom(bottom) { }
00018   Margins() : m_left(0), m_top(0), m_right(0), m_bottom(0) { }
00019   unsigned m_left, m_top, m_right, m_bottom;
00020 };
00021 }
00022 #endif
00023 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */