void SetLSystemMenuChecks()
Set L-system menu checkmarks.
int GetRuleStrWidth(Gdiplus::Graphics &graphics)
Get rule string width.
Gdiplus::Bitmap * m_pBitmap
Pointer to a bitmap image.
Gdiplus::Bitmap * GetBitmap()
Get pointer to bitmap.
void EnableGenerateMenuEntry()
Enable Generate in File menu.
void Generate()
Generate L-system string.
void ToggleShowRules()
Toggle the show rules flag.
const bool IsStochastic() const
Is a stochastic L-system.
void SetRules()
Create the L-system rules.
bool m_bShowRules
Whether to show the rules.
HMENU m_hLSMenu
Handle to the L-System menu.
void ToggleLineThickness()
Toggle the line thickness flag.
void DrawRules(Gdiplus::Graphics &graphics, Gdiplus::PointF p)
Draw rules.
Gdiplus::FontFamily * m_pFontFamily
Font family.