Create data structuces for shapes thta can be used to represent shapes
This blue print is a draft, it may not be implemented.
-------
The general idea is to have an abstract class that is called vShape that other classes can use as a base, and that can be used in ListArrays (Or other collections) to be drawn to the canvas (SDL.Screen).
Here are a few classes that can be used:
-------
namespace vProcessing {
public abstract class vShape{} // parent class
public class vRect : vShape {}
public class vCircle : vShape {}
public class vLine : vShape {}
public class vPolly : vShape {}
}
-------
The class vPolly is basicly what is started in rev #5 in the class vectorGraphics in vectorShape.vala, though this needs reimplementation, it is untested does not use inheritance.
There needs to be a discussion if all vShapes should have an x and a y pos, and all other values are relative to it or not.
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- Discussion
- Series goal:
- None
- Implementation:
-
Unknown
- Milestone target:
-
0.1.0
- Started by
- Completed by