Recent

Author Topic: A rudimentary "Paint" app  (Read 306 times)

TBMan

  • Sr. Member
  • ****
  • Posts: 285
A rudimentary "Paint" app
« on: February 14, 2025, 05:11:39 am »
I coded this today, in between washing dishes with my wife and going to the supermarket a couple of times, lol.  I used my object oriented app framework I posted here previously.

https://youtu.be/5zc0pjemt24

Everything you see on the screen is an object other than the current color display on the bottom left and the paint canvas itself, which is just a frame owned by the main app. Later on I'll add the ability to stretch or enlarge/move around the canvas.

I have a few "tools" - Pencil, Line, Rectangle, Filled Rectangle, Circle and Filled circle.

I can also adjust the line thickness for the pencil from normal, thick and thicker.

I can save and load using run length encoded routines I developed back in the early 90s for quick and dirty saves. No palette information is saved with the file. ( I do have other versions of the routines I can tweak to work with PTCGraph); I have to do save and load dialog boxes. I had done one for my sprite editor so I'll work on something based on that.

I don't know what I'll do with this tool yet as my artistic skills are mostly nonexistent lol, but I had fun putting this together. I would really like to make a better looking deck of cards, so that's something to work on.
« Last Edit: February 14, 2025, 05:13:23 am by TBMan »
I love programming.

Some things I've done using PTCgraph:

NFL Retro Football (almost finished):
https://www.youtube.com/watch?v=78mTtsd7ppk


Solitaire games:
https://www.youtube.com/watch?v=zmtxI7FdWuQ&list=PLa4BPpFl34iVhFwX1JZwVm3vE5ay_i3R2

 

TinyPortal © 2005-2018