Skip to content

Latest commit

 

History

History
67 lines (51 loc) · 3.02 KB

CHANGELOG.md

File metadata and controls

67 lines (51 loc) · 3.02 KB

Changelog

All notable changes to this project will be documented in this file, in reverse chronological order by release.

0.7.0 - 2023-03-19

Changed

  • Rename bitmap.c to hagl_bitmap.c (#100).
  • Rename color_t to hagl_color_t (#104).
  • Initialize character buffer only when used and move it to heap (#101, #44).

Fixed

  • Overflow bug when resizing big bitmaps (#102, #49) .
  • Circle rendering was slightly malformed (#106, #109) .
  • Both horizontal and vertical lines were one pixel too short (#110, #111).

Added

  • New hagl_bitmap_init() function (#98).

Removed

  • Legacy bitmap_init() function (#98).
  • Legacy bitmap_size() function (#99).

0.6.0 - 2023-03-04

Changed

  • You must now pass drawing surface to all drawing functions (#65).
    hagl_backend_t *display = hagl_init();
    hagl_put_pixel(display, x, y, color);
  • Split primitive drawing code to separate files (#79).
  • Rename hagl_clear_screen() to hagl_clear() (#76).
  • Rename hagl_scale_blit() to hagl_blit_xywh() (#86).
  • Rename hagl_set_clip_window() to hagl_set_clip() (#87).

Removed

  • Remove hagl_clear_clip_window() (#88).
  • Internal use of DISPLAY_* defines (#94).

Added

  • Possibility to use multiple fps counters (#69).
    fps_instance_t fps;
    fps_init(&fps);
    fps_update(&fps);
    fps_reset(&fps);
  • Possibility to use multiple aps counters (#69).
    aps_instance_t aps;
    aps_init(&aps);
    aps_update(&aps, 1024);
    aps_reset(&aps);
  • XYX and XYW variants for hline (#82).
  • XYY and XYH variants for vline (#83).
  • XYY and XYH variants for rectangle (#84).
  • XYY and XYH variants for rounded rectangle (#85).
  • XY, XYXY and XYWH variants for blit (#86).

0.5.0 - 2022-05-19

Initial release.