Commit Graph

4 Commits

Author SHA1 Message Date
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
ac8c2029e4 Defined Rectangle in package.
- Instead of deriving from image.Rectangle.
Added methods on Rectangle.
2019-12-27 21:17:06 +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