mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 895905 - Document that ns[Int]Point stores coordinates in app units. r=tn
This commit is contained in:
parent
728be070e1
commit
a2220a7990
@ -13,6 +13,8 @@
|
||||
|
||||
struct nsIntPoint;
|
||||
|
||||
// nsPoint represents a point in app units.
|
||||
|
||||
struct nsPoint : public mozilla::gfx::BasePoint<nscoord, nsPoint> {
|
||||
typedef mozilla::gfx::BasePoint<nscoord, nsPoint> Super;
|
||||
|
||||
@ -28,6 +30,10 @@ struct nsPoint : public mozilla::gfx::BasePoint<nscoord, nsPoint> {
|
||||
inline nsPoint ConvertAppUnits(int32_t aFromAPP, int32_t aToAPP) const;
|
||||
};
|
||||
|
||||
// nsIntPoint represents a point in one of the types of pixels.
|
||||
// Uses of nsIntPoint should eventually be converted to CSSIntPoint,
|
||||
// LayoutDeviceIntPoint, etc. (see layout/base/Units.h).
|
||||
|
||||
struct nsIntPoint : public mozilla::gfx::BasePoint<int32_t, nsIntPoint> {
|
||||
typedef mozilla::gfx::BasePoint<int32_t, nsIntPoint> Super;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user