26#ifndef __RenderableComparatorNet_h__
27#define __RenderableComparatorNet_h__
61 void DrawComparator(
const UINT,
const UINT,
const float,
bool=
false);
Interface for the comparator network CComparatorNetwork.
Renderable comparator network.
const Gdiplus::REAL m_fYDelta2
Extra vertical gap between layers in pixels.
HRESULT ExportToSVG(LPWSTR)
Export in SVG format.
void DrawComparator(const UINT, const UINT, const float, bool=false)
Draw a comparator.
Gdiplus::Pen * m_pRedPen
Pointer to graphics pen.
HRESULT ExportToTex(LPWSTR)
Export in TeX format.
Gdiplus::Bitmap * GetBitmap()
Get bitmap pointer.
FILE * m_pOutput
File pointer.
Gdiplus::SolidBrush * m_pBrush
Pointer to graphics brush.
const Gdiplus::REAL m_fPenWidth
Pen width in pixels.
HRESULT ExportToPNG(LPWSTR)
Export in PNG format.
Gdiplus::Bitmap * m_pBitmap
Pointer to a bitmap image.
const Gdiplus::REAL m_fDiameter
Diameter of circles in pixels.
Gdiplus::REAL ComputeBitmapHeight()
Compute bitmap height.
Gdiplus::SolidBrush * m_pRedBrush
Pointer to graphics brush.
Gdiplus::Pen * m_pPen
Pointer to graphics pen.
Gdiplus::Graphics * m_pGraphics
Pointer to graphics object.
void DrawChannels(const float fLen)
Draw channels.
const Gdiplus::REAL m_fXDelta
Gap between channels in pixels.
const Gdiplus::REAL m_fYDelta
Vertical comparator gap in pixels.
eDrawStyle m_eDrawStyle
Drawing style.
void Draw(const eDrawStyle)
Draw to a Gdiplus::Bitmap.
eExport m_eExportType
Export type.
~CRenderableComparatorNet()
Destructor.
void DrawComparators()
Draw all comparators.