* maintain our own rect while printing, this makes it possible to print all pages e.g. syslog from StyledEdit

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26304 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Karsten Heimrich
2008-07-07 19:10:39 +00:00
parent 3ad86c7ff5
commit f56301c9e8
3 changed files with 24 additions and 9 deletions
+7 -4
View File
@@ -30,8 +30,8 @@ enum {
B_VIEW_BLENDING_BIT = 0x00000020,
B_VIEW_SCALE_BIT = 0x00000040,
B_VIEW_FONT_ALIASING_BIT = 0x00000080,
B_VIEW_FRAME_BIT = 0x00000100,
B_VIEW_ORIGIN_BIT = 0x00000200,
B_VIEW_FRAME_BIT = 0x00000100,
B_VIEW_ORIGIN_BIT = 0x00000200,
B_VIEW_PEN_SIZE_BIT = 0x00000400,
B_VIEW_PEN_LOCATION_BIT = 0x00000800,
B_VIEW_LOW_COLOR_BIT = 0x00008000,
@@ -101,6 +101,9 @@ class ViewState {
uint32 valid_flags;
// flags used for archiving
uint32 archiving_flags;
// maintain our own rect as seen from the app while printing
BRect print_rect;
};
inline bool
@@ -120,7 +123,7 @@ ViewState::IsAllValid() const
struct _array_hdr_{
float startX;
float startY;
float startY;
float endX;
float endY;
rgb_color color;
@@ -129,7 +132,7 @@ struct _array_hdr_{
struct _array_data_{
// the max number of points in the array
uint32 maxCount;
// the current number of points in the array
// the current number of points in the array
uint32 count;
// the array of points
_array_hdr_* array;