Commit graph

10 commits

Author SHA1 Message Date
NuHash
ab56018cf3 Removed PointsCollection 2017-05-23 14:30:58 +01:00
NuHash
feffe0a39f Made requested changes
Made DrawPolygon variadic
Included exception handling for drawing out of bounds
Updated CGS demo
2017-05-22 22:51:07 +01:00
NuHash
fb2065fd78 Added virtual keywords 2017-05-21 22:45:08 +01:00
NuHash
fa5b7e30b7 Completed DrawPolygon method
Create Point and PointsCollection classes to make it easier to use.
2017-05-21 22:27:19 +01:00
NuHash
ba861ddd18 Completed DrawCircle and DrawEllipse
Tested
2017-05-21 21:49:37 +01:00
NuHash
8476a1f0fd DrawCircle and DrawEllipse
Need to implement Bresenham
2017-05-21 02:23:00 +01:00
NuHash
cbb2f4440a Began DrawCircle function 2017-05-20 23:02:38 +01:00
fanoI
73aa970508 CGS finally works!
Please note that this version works only with Bochs.

- To make it works was needed to renounce to all structures (a part for primitive types) so now Mode and Color are classes.
- Implemented methods of Canvas DrawPoint(), DrawLine() and DrawRect() for now only color depth of 32 bit and integer coordinates are supported
- Changed IoPort of Bochs / VBE to MemoryBlock and not MemoryBlock08 so I can write an 32 bit ARGB color in only an operation instead of 4, this will semplify the future
  work of RGB24 and RGB16 too. Changed the name to the correct one "LinearFrameBuffer".
- Made VBEDriver more object oriented (used enums instead of hardcoded values, created methods and so on...)
- Bugfix in the Pen class there was confusion in the setter / getter of the Color property
- In VBEScreen removed the old code that is not needed anymore, added check to method arguments (that throws in case of fatal errors)
2017-01-08 22:57:27 +01:00
fanoI
86ff377084 First release of CGS, really preliminar work.
The kernel crashes for stack overflow :-)
2016-12-18 16:33:23 +01:00
Charles Betros
aaa0bb3eb6 Fixed string split and compare ordinal. Made some chnages to debug nessages to showmring and section. 2016-01-06 22:07:30 -06:00