ACE icon indicating copy to clipboard operation
ACE copied to clipboard

Add line drawing functions

Open tehKaiN opened this issue 6 years ago • 1 comments

Currently, there are no means to draw lines using blitter. Drawing vertical/horizontal lines using blitRect() is probably not fastest possible solution, and most certailny such usage is not intuitive.

Implementation could be based on Cahir's routine.

  • [x] Add blitLine() or something
  • [ ] fix bugs

tehKaiN avatar Jan 12 '18 16:01 tehKaiN

Added blitLine() based on Cahir's function in #42. There is still one bug: on some angles, lines drawn on different bitplanes don't overlap perfectly, resulting in color inconsistency.

tehKaiN avatar Jan 21 '18 12:01 tehKaiN