Commit Graph

80 Commits

Author SHA1 Message Date
Elias Batek 9899b48f16 Fix nearest neighbor algorithm 2025-01-28 02:02:09 +01:00
Elias Batek 68a94f03c3 Finish downscaler implementation 2025-01-28 02:01:31 +01:00
Elias Batek b031783e84 Spell "neighbor" without a 'u' 2025-01-25 04:10:09 +01:00
Elias Batek 247cee88d0 Make pixel mapping examples render in visually distinguishable blocks 2025-01-25 04:09:03 +01:00
Elias Batek bb6ad459eb Add improper downscaler implementation (WIP)
To be replaced…
2025-01-14 00:40:22 +01:00
Elias Batek cce1a924ae Add additional operator overloads to `UDecimal` 2025-01-13 03:16:07 +01:00
Elias Batek 6eb6e88594 Revert "Implement `opBinaryRight(string op : "/")` of `UDecimal`"
This reverts commit 266ae6f7dc.

Implementation was impromper and an attempt to fix it outlined
why it was't implemented in the first place.
2025-01-12 23:03:08 +01:00
Elias Batek 4f3dca5a32 Refactor, update and fix PixmapPaint 2025-01-12 22:07:27 +01:00
Elias Batek ebd1c62d69 Rename param `method` of type `ScalingFilter` to `filter` 2025-01-12 06:56:04 +01:00
Elias Batek f1d41403d1 Rename scaling filter `linear` to `bilinear` 2025-01-12 06:53:04 +01:00
Elias Batek bc196985b5 Implement bilinear image upscaling in PixmapPaint 2025-01-12 06:45:46 +01:00
Elias Batek 266ae6f7dc Implement `opBinaryRight(string op : "/")` of `UDecimal` 2025-01-12 02:32:25 +01:00
Elias Batek 78ed1bb287 Rename `UInt32p64` to `UDecimal` 2025-01-12 02:31:19 +01:00
Elias Batek a024404330 Add floor and ceiling rounding functions to `UInt32p64` 2025-01-12 02:15:29 +01:00
Elias Batek 9c5a341bce Move `ScalingFilter` to PixmapPaint 2025-01-12 02:00:52 +01:00
Elias Batek 3c40abb151 Implement "nearest neighbour" scaling in PixmapPaint 2025-01-12 01:14:50 +01:00
Elias Batek 9f280bfbb6 Increase unittest coverage of `UInt32p64` 2025-01-10 04:19:50 +01:00
Elias Batek 1ddb1e1e0e Add UInt32p64 type 2025-01-10 04:14:37 +01:00
Elias Batek 4979085a4c Get rid of bold text in the first paragraph of function doc comments 2024-10-13 19:21:11 +02:00
Elias Batek 647c19997d Improve Pixmap.clone() 2024-10-13 19:18:39 +02:00
Elias Batek 195d1b228c Improve docs of PixmapBlueprint 2024-10-13 19:16:49 +02:00
Elias Batek b9098844b1 Refactor rgba(ubyte,ubyte,ubyte,float) 2024-10-13 19:15:03 +02:00
Elias Batek c4485e3f88 Allow "…CalcDims" functions to be less consistent
Not all consistency is good.
2024-10-13 19:04:25 +02:00
Elias Batek a23b056822 Blank lines are fun and good for you 2024-10-13 19:00:26 +02:00
Elias Batek c23f7116c7 Rename "…To" image manipulation functions to "…Into" 2024-10-13 18:55:43 +02:00
Elias Batek ac7f4c9889 Refactor opacity() to decreaseOpacity() & friends 2024-10-13 18:47:06 +02:00
Elias Batek c21d14664c Refactor invert() to match other image manip functions 2024-10-13 17:52:57 +02:00
Elias Batek 75f77176d7 Improve PixmapPaint docs 2024-10-12 23:19:00 +02:00
Elias Batek ebdfcaf799 Add further documentation 2024-10-12 23:04:46 +02:00
Elias Batek dea6de12e0 Improve and add image manipulation functions 2024-10-12 23:04:24 +02:00
Elias Batek 31a247c4c9 Implement PixmapBlueprints 2024-10-12 23:00:39 +02:00
Elias Batek 7d39086857 Rename scanSubPixmap() to scanArea() 2024-10-08 00:22:35 +02:00
Elias Batek 0bdea48b9b Fix bidirectional features of SubPixmapScanner 2024-10-08 00:21:53 +02:00
Elias Batek 8aaaa2a3c2 Implement 180° rotation function 2024-10-07 04:50:28 +02:00
Elias Batek cf2e084a70 Fix flipVertically() 2024-10-07 04:17:22 +02:00
Elias Batek 582e47c13b Implement vertical flipping 2024-10-07 04:06:31 +02:00
Elias Batek a2f437d4ad Make PixmapScanner types bidirectional ranges 2024-10-07 03:43:44 +02:00
Elias Batek db6b6d1f74 Slightly improve docs and usability 2024-10-07 03:24:22 +02:00
Elias Batek 1fbdcab948 Implement horizontal flipping 2024-10-07 03:23:36 +02:00
Elias Batek 65ba2793cb Move that back
Why did I move this in the first place?
2024-10-07 02:09:33 +02:00
Elias Batek 9fdaf00197 Fix the coordinate system diagram
To quote one of my IN(formation)SY(stems) teachers,
“Sorry, this is just a copy-paste mistake.”
2024-10-07 01:57:46 +02:00
Elias Batek e5841da630 Add further general documentation to PixmapPaint 2024-10-07 01:49:00 +02:00
Elias Batek fc346c3ec2 Fix cropInPlace() 2024-10-07 01:48:04 +02:00
Elias Batek 6978d1f2dd Implement clockwise rotation 2024-10-07 00:17:36 +02:00
Elias Batek d60426e833 Add Pixmap copy function 2024-10-06 21:52:39 +02:00
Elias Batek 8bf54227ae Add documentation for the crop functions 2024-10-06 20:31:01 +02:00
Elias Batek eade7a3754 Fix and improve documentation of PixmapPaint 2024-10-06 03:55:04 +02:00
Elias Batek 1d2f907d3c Implement Pixmap cropping 2024-10-06 03:54:47 +02:00
Elias Batek 33cd84552b Fix refucktoring regression 2024-10-06 01:43:20 +02:00
Elias Batek 9418cbaa24 Document the coordinate system used by PixmapPaint 2024-10-06 01:35:08 +02:00