-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Move text rendering Lua-side. * Simplified digit font to use 32x8 font bitmap like everything else. * All Canvases are now internally backed by a 32-bit buffer, to simplify rendering. * All custom inverted drawing logic moved from Canvas to CGContext, CGContext.draw() now being given direct access to the Canvas backing buffer to facilitate that. * Direct (non-CoreGraphics) line drawing logic now used for all modes, not just inverted, for consistency (no more hairy lines as a result). Also fixed off-by-two error in that logic when drawing lines with negative x or y direction. * Box drawing also updated to use direct line drawing. * All invert operations now supported on colour drawables as well as greyscale ones. * Invert supported on all gCOPY (and now by extension, text rendering) operations. * Improved performance of text rendering with optimised .copy and .mcopy operations. * Canvas.swift and CGContext.swift no longer rely on anything from UIKit. * More consistent support for gSETPENWIDTH. * Be bug-compatible with allowing negative colour values in gCOLOR.
- Loading branch information
Showing
28 changed files
with
938 additions
and
650 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.