Commit 329eae1f authored by Maciej Suminski's avatar Maciej Suminski

Added GetSettings() method for obtaining current rendering settings used by PAINTER class.

parent 826d5a89
...@@ -179,6 +179,16 @@ public: ...@@ -179,6 +179,16 @@ public:
m_settings = aSettings; m_settings = aSettings;
} }
/**
* Function GetSettings
* Returns pointer to current settings that are going to be used when drawing items.
* @return Current rendering settings.
*/
virtual RENDER_SETTINGS* GetSettings()
{
return m_settings;
}
/** /**
* Function Draw * Function Draw
* Takes an instance of EDA_ITEM and passes it to a function that know how to draw the item. * Takes an instance of EDA_ITEM and passes it to a function that know how to draw the item.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment