fortplot_text_rendering.f90 Source File


Source Code

module fortplot_text_rendering
    !! Thin facade module that re-exports shared layout utilities and raster hooks
    use fortplot_text_layout, only: calculate_text_width, calculate_text_width_with_size, &
                                     calculate_text_height, calculate_text_descent, &
                                     TITLE_FONT_SIZE, LABEL_FONT_SIZE, TICK_FONT_SIZE
    use fortplot_raster_text_rendering, only: render_text_to_image, render_text_with_size, &
                                              render_rotated_text_to_image
    implicit none

    private

    public :: render_text_to_image, calculate_text_width, calculate_text_height
    public :: render_rotated_text_to_image, calculate_text_descent
    public :: calculate_text_width_with_size, render_text_with_size
    public :: TITLE_FONT_SIZE, LABEL_FONT_SIZE, TICK_FONT_SIZE

end module fortplot_text_rendering