1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #include "nsPaperMargin.h"
8 NS_IMPL_ISUPPORTS(nsPaperMargin
, nsIPaperMargin
)
11 nsPaperMargin::GetTop(double* aTop
) {
17 nsPaperMargin::GetRight(double* aRight
) {
18 *aRight
= mMargin
.right
;
23 nsPaperMargin::GetBottom(double* aBottom
) {
24 *aBottom
= mMargin
.bottom
;
29 nsPaperMargin::GetLeft(double* aLeft
) {
30 *aLeft
= mMargin
.left
;