set_braille_pixel Subroutine

public subroutine set_braille_pixel(canvas, x_sub, y_sub)

Turn on the subpixel dot at absolute subpixel coordinates (x_sub in [0, sub_w), y_sub in [0, sub_h)). Coordinates outside the canvas are ignored, so callers never corrupt an out-of-range cell.

Arguments

Type IntentOptional Attributes Name
type(braille_canvas_t), intent(inout) :: canvas
integer, intent(in) :: x_sub
integer, intent(in) :: y_sub