Commit Graph

9 Commits

Author SHA1 Message Date
885f27689f Added Union for Rectangle{,F,F32}. 2021-02-15 19:39:39 +01:00
c81df8279f Added all missing conversion functions from the different point & rectangle formats.
Renamed To{32,64} to To{F32,F} for consistency.
2020-05-17 10:38:01 +02:00
cc2addf7e2 Added RectRel{,F,F32} methods.
- Instead of a second coordinate (x,y) you can provide the width & height of the rectangle.
2020-05-15 10:24:09 +02:00
afb30dc1e6 Added Sub on RectangleF{,32}.
Added Invert on PointF{,32}.
Changed formula of Center (PointF{,32}).
2019-03-06 19:24:03 +01:00
2202b4d1a8 Sorted methods in alphabetical order. 2019-03-06 19:06:08 +01:00
8bcc0dff3f Added RectangleF32.
Added ZeroPtF32.
Added Center methods for rectangles.
2018-08-07 06:56:31 +02:00
20f0bf7b1f Added Inset and Add method to RectangleF 2017-11-06 20:24:19 +01:00
cac351f290 Added methods to calculate width & height for RectangleF. 2017-11-01 11:24:33 +01:00
26bac636bc Initial version of the geom package
- Includes PointF, RectangleF and PolygonF. Additional it includes the 32 bit floating point PointF32 and wrappers to image.Point and image.Rectangle.
2017-11-01 06:51:41 +01:00