get_actual_text_dimensions Function

public function get_actual_text_dimensions(label, data_to_pixel_x, data_to_pixel_y) result(dimensions)

Get actual text dimensions using text system measurements
Returns [width, height] in data coordinates

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: label
real(kind=wp), intent(in) :: data_to_pixel_x
real(kind=wp), intent(in) :: data_to_pixel_y

Return Value real(kind=wp), (2)