PageMarkRegions Class Reference

A simple structure holding the positions of all 16 page mark regions around a typical page. The constructor of this class creates the regions given the bounding rect of a page. More...

#include <prnmks.h>

List of all members.

Public Member Functions

 PageMarkRegions ()
void Initialise (const DocRect &ParentPage, MILLIPOINT Bleed)
void HideLeft ()
void HideRight ()
void HideTop ()
void HideBottom ()
void ShowLeft ()
void ShowRight ()
void ShowTop ()
void ShowBottom ()

Public Attributes

PageMarkRegion Region [16]


Detailed Description

A simple structure holding the positions of all 16 page mark regions around a typical page. The constructor of this class creates the regions given the bounding rect of a page.

Author:
Mike_Kenny (Xara Group Ltd) <camelotdev@xara.com>
Date:
10/08/96
See also:
PageMarkRegion

Definition at line 427 of file prnmks.h.


Constructor & Destructor Documentation

PageMarkRegions::PageMarkRegions  ) 
 

Definition at line 2956 of file prnmks.cpp.

02957 {
02958 }


Member Function Documentation

void PageMarkRegions::HideBottom  ) 
 

Definition at line 3053 of file prnmks.cpp.

03054 {
03055     Region[9].Valid=FALSE;
03056     Region[10].Valid=FALSE;
03057     Region[11].Valid=FALSE;
03058     Region[12].Valid=FALSE;
03059     Region[13].Valid=FALSE;
03060 }

void PageMarkRegions::HideLeft  ) 
 

Definition at line 3026 of file prnmks.cpp.

03027 {
03028     Region[0].Valid=FALSE;
03029     Region[12].Valid=FALSE;
03030     Region[13].Valid=FALSE;
03031     Region[14].Valid=FALSE;
03032     Region[15].Valid=FALSE;
03033 }

void PageMarkRegions::HideRight  ) 
 

Definition at line 3035 of file prnmks.cpp.

03036 {
03037     Region[4].Valid=FALSE;
03038     Region[5].Valid=FALSE;
03039     Region[6].Valid=FALSE;
03040     Region[7].Valid=FALSE;
03041     Region[8].Valid=FALSE;
03042 }

void PageMarkRegions::HideTop  ) 
 

Definition at line 3044 of file prnmks.cpp.

03045 {
03046     Region[0].Valid=FALSE;
03047     Region[1].Valid=FALSE;
03048     Region[2].Valid=FALSE;
03049     Region[3].Valid=FALSE;
03050     Region[4].Valid=FALSE;
03051 }

void PageMarkRegions::Initialise const DocRect ParentPage,
MILLIPOINT  Bleed
 

void PageMarkRegions::ShowBottom  ) 
 

Definition at line 3089 of file prnmks.cpp.

03090 {
03091     Region[9].Valid=TRUE;
03092     Region[10].Valid=TRUE;
03093     Region[11].Valid=TRUE;
03094     Region[12].Valid=TRUE;
03095     Region[13].Valid=TRUE;
03096 }

void PageMarkRegions::ShowLeft  ) 
 

Definition at line 3062 of file prnmks.cpp.

03063 {
03064     Region[0].Valid=TRUE;
03065     Region[12].Valid=TRUE;
03066     Region[13].Valid=TRUE;
03067     Region[14].Valid=TRUE;
03068     Region[15].Valid=TRUE;
03069 }

void PageMarkRegions::ShowRight  ) 
 

Definition at line 3071 of file prnmks.cpp.

03072 {
03073     Region[4].Valid=TRUE;
03074     Region[5].Valid=TRUE;
03075     Region[6].Valid=TRUE;
03076     Region[7].Valid=TRUE;
03077     Region[8].Valid=TRUE;
03078 }

void PageMarkRegions::ShowTop  ) 
 

Definition at line 3080 of file prnmks.cpp.

03081 {
03082     Region[0].Valid=TRUE;
03083     Region[1].Valid=TRUE;
03084     Region[2].Valid=TRUE;
03085     Region[3].Valid=TRUE;
03086     Region[4].Valid=TRUE;
03087 }


Member Data Documentation

PageMarkRegion PageMarkRegions::Region[16]
 

Definition at line 445 of file prnmks.h.


The documentation for this class was generated from the following files:
Generated on Sat Nov 10 03:59:22 2007 for Camelot by  doxygen 1.4.4