From 5185e0d1925bd4d19a6fb41ef7aecb40008d6692 Mon Sep 17 00:00:00 2001 From: "kipp%netscape.com" Date: Sat, 10 Apr 1999 17:30:57 +0000 Subject: [PATCH] Expose trapezoids git-svn-id: svn://10.0.0.236/trunk@27025 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/generic/nsBlockBandData.h | 4 ++++ mozilla/layout/html/base/src/nsBlockBandData.h | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/mozilla/layout/generic/nsBlockBandData.h b/mozilla/layout/generic/nsBlockBandData.h index fbce3666dd4..862eed57c5e 100644 --- a/mozilla/layout/generic/nsBlockBandData.h +++ b/mozilla/layout/generic/nsBlockBandData.h @@ -45,6 +45,10 @@ public: return count; } + const nsBandTrapezoid* GetTrapezoid(PRInt32 aIndex) const { + return &mData[aIndex]; + } + // Get the number of floaters that are impacting the current // band. Note that this value is relative to the current translation // in the space manager which means that some floaters may be hidden diff --git a/mozilla/layout/html/base/src/nsBlockBandData.h b/mozilla/layout/html/base/src/nsBlockBandData.h index fbce3666dd4..862eed57c5e 100644 --- a/mozilla/layout/html/base/src/nsBlockBandData.h +++ b/mozilla/layout/html/base/src/nsBlockBandData.h @@ -45,6 +45,10 @@ public: return count; } + const nsBandTrapezoid* GetTrapezoid(PRInt32 aIndex) const { + return &mData[aIndex]; + } + // Get the number of floaters that are impacting the current // band. Note that this value is relative to the current translation // in the space manager which means that some floaters may be hidden