Releases: TheCoderMerlin/Igis
Releases · TheCoderMerlin/Igis
Igis 1.4.0 Release
chore: Updated for latest version of Swift NIO
chore: Verified compilation for Swift 5.7
Igis Release 1.3.4
fix(TextMetric): Allow some metrics to be undefined
Some browsers do not currently report all metrics or required that
they be manually enabled by the user. This fix allows those specific
metrics to be nil.
fix(TextMetric): Allow left metrics to be negative
Some browsers report the actualBoundBoxLeft as a negative number
Igis Release 1.3.3
Implemented feature to enable layout of rectangles
- feat(Layout): New class implemented to layout rects
Properties of a group of rects may be easily determined, e.g.- maxWidth
- maxHeight
Changes to a group of rects may be easily applied, e.g. - alignBottom
- distributeHorizontally
- fix(ClipPath): Clip has been renamed and now includes embedded Path
BREAKING CHANGE:
The Clip class has been renamed to ClipPath
The ClipPath class now requires a Path in the initializer
This addresses an issue where the Path would otherwise be rendered
in addition to being used for clipping - refactor(Path): Minor changes to separate path creation commands
Separated the commands for generating a path from the commands
for rendering the path
Added copy constructor - refactor(HttpHandler): Improved warning messages
- feat(Rect): Added computed variables for width and height
- feat(Rect): Added function to calculate union of two Rects
- feat(Rect): Added functions to inflate a Rect
- docs(all): Updated
Igis Release 1.3.2
Igis Release 1.3.2
- Added red, green, and blue variables to Color as well as lerp()
- Internal update of WebSocket
- Documentation updated
Igis Release 1.3.1
- Added in Linear Interpolation functions for Size and Point structs.
Igis Release 1.3.0
Simplified geometry API. Added docs and unit tests.
-
Geometry API simplified
- Added static "zero" to Point, DoublePoint, and Rect
- Basic properties are now directly accessible enabling use of compound assignment operators. As such redundant functions (e.g. moveXBy, moveTo) have been removed.
- Removed negated() from Point, DoublePoint in favor of unary negation operator
- Added addition and subtraction operators to Point and DoublePoint
- Added compound assignment operators to Point and DoublePoint
- DoublePoint is now explicitly marked as Equatable
-
New Rect functionality
- topRight, bottomLeft, bottomRight are now get/set properties
- inflateBy() increases the size of a Rect while preserving the center point
-
New Path functionality
- Added Path functionality to create a Path for a rounded rectangle
-
Added documentation
- Point
- DoublePoint
- Rect
-
Added unit tests
- Point
- Rect
Igis Release 1.2.2
Added TextMetric to calculate metrics for text
Igis Release 1.2.0
Added ability to execute transforms on arbitrary points.
This new functionality enables RenderableEntities to determine the
actual location of transformed pixels. Additionally, many other
features were implemented:
-
Point:
- Added convserion initializer from DoublePoint
- Added function negated()
- Added function distanceSquared(target:Point)
- Added function distance(target:Point)
- Added static function Points(doublePoints:[DoublePoint]) -> [Point]
-
DoublePoint:
- Added default initializer for DoublePoint() at origin
- Added conversion initializer from Point
- Added function moveBy(offset:DoublePoint)
- Added function moveXBy(offset:Double)
- Added function moveYBy(offset:Double)
- Added function moveTo(_ point:DoublePoint)
- Added function negated()
- Added function distanceSquared(target:DoublePoint)
- Added function distance(target:DoublePoint)
- Added function DoublePoints(points:[Point]) -> [DoublePoiint]
-
Size:
- Added default initializer for width and height of zero
- Added center:Point computed property
-
Rect:
- Added default initilizer for rect at origin of size zero
- Added center:Point computed property
-
Matrix (new class)
-
Transform
- Added conversion initializer from Matrix
- Added static function multply(transforms:[Transform], mode:Mode)
-
Path:
- Added convenience intializer to construct path from [Point]
Igis Release 1.1.5
Additional cleanup from removing submodules
Igis Release 1.1.4
Updated for new build system; eliminates need for submodules.