#include <printctl.h>
Public Member Functions | |
PrintPatchInfo () | |
Default constructor. | |
~PrintPatchInfo () | |
Default deconstructor. | |
DocRect | GetClipRect (BOOL AddBleed=FALSE, BOOL AddCropArea=FALSE) const |
void | InflateRectBy (DocRect *pRect, BOOL AddBleed=FALSE, BOOL AddCropArea=FALSE) const |
void | InflateRectBy (OilRect *pRect, BOOL AddBleed=FALSE, BOOL AddCropArea=FALSE) const |
void | DeflateRectBy (DocRect *pRect, BOOL AddBleed=FALSE, BOOL AddCropArea=FALSE) const |
MILLIPOINT | GetBleed () const |
MILLIPOINT | GetCropArea () const |
Public Attributes | |
FIXED16 | Scale |
MILLIPOINT | XTrans |
MILLIPOINT | YTrans |
BOOL | Rotate |
BOOL | SelectedOnly |
BOOL | VisibleLayers |
BOOL | EmulsionDown |
Spread * | pSpread |
MILLIPOINT | PaperWidth |
MILLIPOINT | PaperHeight |
INT32 | ScaledWidth |
INT32 | ScaledHeight |
INT32 | PaperNumber |
INT32 | MaxPaperNumber |
INT32 | PatchNumber |
INT32 | MaxPatchNumber |
INT32 | PALeftMargin |
INT32 | PATopMargin |
Private Attributes | |
DocRect | ClipRect |
MILLIPOINT | Bleed |
MILLIPOINT | CropArea |
Friends | |
class | PrintControl |
Definition at line 558 of file printctl.h.
|
Default constructor.
Definition at line 2649 of file printctl.cpp. 02650 { 02651 Scale = FIXED16(100); 02652 XTrans = 0; 02653 YTrans = 0; 02654 ClipRect = DocRect(0,0,0,0); 02655 Rotate = FALSE; 02656 SelectedOnly = FALSE; 02657 EmulsionDown = FALSE; 02658 VisibleLayers = TRUE; 02659 pSpread = NULL; 02660 PaperWidth = 0; 02661 PaperHeight = 0; 02662 02663 02664 PaperNumber = 0; 02665 MaxPaperNumber = 0; 02666 PatchNumber = 0; 02667 MaxPatchNumber = 0; 02668 };
|
|
Default deconstructor.
Definition at line 2685 of file printctl.cpp.
|
|
Definition at line 2734 of file printctl.cpp. 02735 { 02736 if (AddBleed) 02737 pRect->Inflate(-Bleed); 02738 if (AddCropArea) 02739 pRect->Inflate(-CropArea); 02740 }
|
|
Definition at line 2742 of file printctl.cpp. 02743 { 02744 return Bleed; 02745 }
|
|
Author : Mike Created : 11/6/95 Inputs : AddBleed = Inflate the output clip rectangle by the bleed value AddCropArea = Inflate the output clip rectangle by the crop area Returns : A clip rectangle. Purpose : Return the value of the clip rectangle held in this structure. The clip rectangle is defined to fit snuggly around a page. No other inflations should or do occur around this clip rectangle. However the printing mechanism needs to know about bleed sizes and cropmark areas in order to render and clip objects correctly so it uses inflated rectangles on occasions. It should not and cannot inflate rectangles itself however because this would assume knowledge of patch positioning which only the printcontrol class knows anything about. Definition at line 2711 of file printctl.cpp. 02712 { 02713 DocRect Temp = ClipRect; 02714 InflateRectBy(&Temp, AddBleed, AddCropArea); 02715 return Temp; 02716 }
|
|
Definition at line 2747 of file printctl.cpp. 02748 { 02749 return CropArea; 02750 }
|
|
Definition at line 2726 of file printctl.cpp. 02727 { 02728 if (AddBleed) 02729 pRect->Inflate(Bleed); 02730 if (AddCropArea) 02731 pRect->Inflate(CropArea); 02732 }
|
|
Definition at line 2718 of file printctl.cpp. 02719 { 02720 if (AddBleed) 02721 pRect->Inflate(Bleed); 02722 if (AddCropArea) 02723 pRect->Inflate(CropArea); 02724 }
|
|
Definition at line 562 of file printctl.h. |
|
Definition at line 598 of file printctl.h. |
|
Definition at line 597 of file printctl.h. |
|
Definition at line 599 of file printctl.h. |
|
Definition at line 583 of file printctl.h. |
|
Definition at line 590 of file printctl.h. |
|
Definition at line 592 of file printctl.h. |
|
Definition at line 593 of file printctl.h. |
|
Definition at line 586 of file printctl.h. |
|
Definition at line 589 of file printctl.h. |
|
Definition at line 585 of file printctl.h. |
|
Definition at line 591 of file printctl.h. |
|
Definition at line 594 of file printctl.h. |
|
Definition at line 584 of file printctl.h. |
|
Definition at line 580 of file printctl.h. |
|
Definition at line 577 of file printctl.h. |
|
Definition at line 588 of file printctl.h. |
|
Definition at line 587 of file printctl.h. |
|
Definition at line 581 of file printctl.h. |
|
Definition at line 582 of file printctl.h. |
|
Definition at line 578 of file printctl.h. |
|
Definition at line 579 of file printctl.h. |