Skip to content

0.5.0

Choose a tag to compare

@AustinJ235 AustinJ235 released this 28 Jul 09:30
· 21 commits to master since this release
  • breaking ImtGlyphBitmap data field is now private. Bitmap data is now represented by ImtBitmapData enum which can be an image, raw data in the form of a vec, or empty in the case where a bitmap is applicable.
  • breaking ImtGlyphBitmap width, height, bearing_x, bearing_y have been moved into ImtBitmapMetrics which can be obtained from the ImtGlypyBitmap::metrics() method.
  • breaking ImtGlyph bitmap field now is an option of ImtBitmapData instead of a vec of the raw data.
  • breaking Bitmap data color componenents are now value normalized. This is the same as vec4(color.rgb / color.a, color.a). This behavior already existed in Basalt therefore Basalt users will not see any change from this other than a minor performance improvement.
  • breaking ImtRaster now has two creation methods, new_gpu and new_cpu. This will select the rasterization backend used. ImtFont methods from_file & from_bytes have been split into from_file_cpu, from_file_gpu, from_bytes_cpu, & from_bytes_gpu to match this change.
  • Added ImtImageView which is very similar to BstImageView from Basalt. This is an abstraction over vulkano's ImageView that makes handling ImageViews more abstract.
  • Added raster_to_image option to ImtRasterOpts which defaults to true. This option will enable/disable outputing to an image instead of raw data.
  • Update dependencies allsorts to 0.6.0 & ordered-float to 2.7.0.