Hexagon Cell
v.1.1.1
|
In this demo, we show a very simple example of using our library: a test image will be pixelized with hexagonical patches. First, an image is opened and class instanses HexagonCells::CCell and HexagonCells::CMarker are created and initialized. Then, after the number of cells in image is known, we draw hexagons upon the image and show it. After a keypress, the application exits.
Additionally, if you use the version of the library with pre-build binaries, you can drag-and-drop an image to the Demo.exe application. The pixellized with hexagons version of the image will be created in the same directory with suffix "_hex" in the file name.