Skip to content

Small project demonstrating straight line drawing with the Delphi Canvas Component

Notifications You must be signed in to change notification settings

jacobsax/Line-Drawing-With-Delphi

Repository files navigation

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 - [email protected]

About

Small project demonstrating straight line drawing with the Delphi Canvas Component

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages