Coder Social home page Coder Social logo

minipaint's People

Contributors

gaurush-hiranandani avatar gsaha36 avatar siddhantjain avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

gsaha36 dongbu

minipaint's Issues

Re-design File.h

File class currently uses a static object that is used everywhere. This should change as the program is not as extensible (there will be a problem with multiple tabs) anymore.

Extra draw on selecting new shape

When a shape is selected there is a new shape which gets dragged (it's not finally painted though). Selecting a shape shouldn't draw anything at all.

Redesign Undo/Redo classes

Currently, Undo/Redo stores and entire object as the representation of the old object. This should change as in some cases the object might be very big. We should just store the shape id, the metric in which there was a change and the changed metric.

Re-design commands

All commands are currently just editing the shape list. They should also take care of calling the file painters functions for drawing the respective shapes.

Implement a painter class

A class that does all the painting job. Move it from the current system of doing everything in the main source file. Also remove the draw functionality.

Change logic for selecting a triangle

Currently, if you click inside the bounding box of the triangle, triangle gets selected. It should be changed to selections within the triangle only and not the entire bounding box

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.