149                        const wxString& aSheetName, 
const wxString& aSheetPath,
 
  150                        const wxString& aFileName, 
const TITLE_BLOCK& aTitleBlock,
 
  151                        const std::map<wxString, wxString>* aProperties, 
int aSheetCount,
 
  152                        const wxString& aPageNumber, 
double aScalar, 
const PROJECT* aProject,
 
  153                        const wxString& aSheetLayer = wxEmptyString, 
bool aIsFirstPage = 
true );
 
Color settings are a bit different than most of the settings objects in that there can be more than o...
 
A rectangle with thick segment showing the page limits and a marker showing the coordinate origin.
 
Non filled rectangle with thick segment.
 
A color representation with 4 components: red, green, blue, alpha.
 
void DrawBorder(const PAGE_INFO *aPageInfo, int aScaleFactor) const
 
DS_RENDER_SETTINGS m_renderSettings
 
void draw(const DS_DRAW_ITEM_LINE *aItem, int aLayer) const
 
virtual RENDER_SETTINGS * GetSettings() override
Return a pointer to current settings that are going to be used when drawing items.
 
virtual bool Draw(const VIEW_ITEM *, int) override
Takes an instance of VIEW_ITEM and passes it to a function that knows how to draw the item.
 
Store page-layout-specific render settings.
 
const COLOR4D & GetGridColor() override
Return current grid color settings.
 
COLOR4D m_pageBorderColor
 
void SetBackgroundColor(const COLOR4D &aColor) override
Set the background color.
 
void LoadColors(const COLOR_SETTINGS *aSettings) override
 
void SetBrightenedColor(const COLOR4D &aColor)
 
virtual COLOR4D GetColor(const VIEW_ITEM *aItem, int aLayer) const override
Returns the color that should be used to draw the specific VIEW_ITEM on the specific layer using curr...
 
void SetSelectedColor(const COLOR4D &aColor)
 
void SetPageBorderColor(const COLOR4D &aColor)
 
const COLOR4D & GetBackgroundColor() const override
Return current background color settings.
 
bool IsBackgroundDark() const override
 
const COLOR4D & GetCursorColor() override
Return current cursor color settings.
 
void SetNormalColor(const COLOR4D &aColor)
 
COLOR4D m_brightenedColor
 
Abstract interface for drawing on a 2D-surface.
 
PAINTER(GAL *aGal)
Initialize this object for painting on any of the polymorphic GRAPHICS_ABSTRACTION_LAYER* derivatives...
 
Container for all the knowledge about how graphical objects are drawn on any output surface/device.
 
COLOR4D m_backgroundColor
 
An abstract base class for deriving all objects that can be added to a VIEW.
 
Describe the page size and margins of a paper page on which to eventually print or plot.
 
Container for project specific data.
 
Hold the information shown in the lower right corner of a plot, printout, or editing view.
 
void PrintDrawingSheet(const RENDER_SETTINGS *aSettings, const PAGE_INFO &aPageInfo, const wxString &aSheetName, const wxString &aSheetPath, const wxString &aFileName, const TITLE_BLOCK &aTitleBlock, const std::map< wxString, wxString > *aProperties, int aSheetCount, const wxString &aPageNumber, double aScalar, const PROJECT *aProject, const wxString &aSheetLayer=wxEmptyString, bool aIsFirstPage=true)
Print the border and title block.
 
The Cairo implementation of the graphics abstraction layer.