mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-14 04:03:47 +00:00
![Kartikaya Gupta](/assets/img/avatar_default.png)
One thing to note here is that the Scale function on gfxRect has a different implementation than that in gfx::Rect which is replacing it. The former just scales the width/height directly whereas the latter scales the XMost/YMost and recomputes the width/height. MozReview-Commit-ID: 5FImdIaNfC3 --HG-- extra : rebase_source : 98662d2a52ff9652ec60b066641a07c6d5ee8e08
15 lines
467 B
C
15 lines
467 B
C
/* -*- Mode: C++; tab-width: 20; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
#ifndef GFX_RECT_H
|
|
#define GFX_RECT_H
|
|
|
|
#include "mozilla/gfx/Rect.h"
|
|
|
|
typedef mozilla::gfx::MarginDouble gfxMargin;
|
|
typedef mozilla::gfx::RectDouble gfxRect;
|
|
|
|
#endif /* GFX_RECT_H */
|