-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify DrawingContextImpl iteration logic (#114)
* Simplify DrawingContextImpl iteration logic Fixed the switch case for '\u200B' and improved pixel buffer set operation inside the 'default' case. * Fix coordinate assignment in pixel buffer This commit rectifies a redundant coordinate calculation in the DrawingContextImpl. It eliminates the need for duplicate addition of 'j' to 'characterPoint.X' by directly using 'newCharacterPoint' instead. This simplification not only reduces redundancy but also enhances code readability. * Automated JetBrains cleanup
- Loading branch information
Showing
1 changed file
with
55 additions
and
54 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