Browse Source

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

pull/1/head
Maciej Suminski 13 years ago
parent
commit
329eae1f74
  1. 10
      include/painter.h

10
include/painter.h

@ -179,6 +179,16 @@ public:
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
* Takes an instance of EDA_ITEM and passes it to a function that know how to draw the item.

Loading…
Cancel
Save