void SetDrawStyle(const eDrawStyle)
Set drawing style.
void Draw()
Draw comparator network to bitmap.
void Read()
Read comparator network from file.
void GeneratePowerOf2()
Generate sorting network.
HRESULT Export(const eExport)
Export image file.
Gdiplus::Bitmap * GetBitmap()
Get pointer to bitmap.
void Generate()
Generate sorting network.
void OnPaint()
Paint the client area of the window.
CSortingNetwork * m_pSortingNetwork
Pointer to the sorting network.
bool Verify()
Verify that comparator network sorts.