No description, website, or topics provided.
Pascal
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Debug/Win32
__history
FrmCanvas.dfm
FrmCanvas.pas
FrmCanvas.vlb
PrjCanvas.dpr
PrjCanvas.dproj
PrjCanvas.dproj.local
PrjCanvas.identcache
PrjCanvas.otares
PrjCanvas.res
PrjCanvas_Icon.ico
PrjCanvas_Icon1.ico
README.md

README.md

Line-Drawing-With-Delphi

Demonstrates how to draw a building map onto a delphi canvas, using straight lines to signify walls, and adding buttons to indicate individual rooms.

Main Features:

  • Lines drawn by a drag and click method onto the canvas
  • A snap to grid button allows the lines to be snapped to the nearest 10pixel location
  • Rectangles can be added to the canvas to signify rooms, these change colour when clicked with a mouse
  • An undo button uses a queing algorithm to undo up to the last 10 items added to the canvas.

Written by Jacob Unwin - http://www.jacob-unwin.com - jacobsax@gmail.com