63 newstyle.
size = (int)((
float)fstyle->
size*scale);
65 char_offset, actual_x);
68 char_offset, actual_x);
109 newstyle.
size = (int)((
float)fstyle->
size*scale);
111 char_offset, actual_x);
114 char_offset, actual_x);
140 newstyle.
size = (int)((
float)fstyle->
size*scale);
float plot_get_scale(void)
nserror
Enumeration of error codes.
static nserror atari_font_split(const plot_font_style_t *fstyle, const char *string, size_t length, int x, size_t *char_offset, int *actual_x)
Find where to split a string to make it fit a width.
static struct gui_layout_table layout_table
static nserror atari_font_position(const plot_font_style_t *fstyle, const char *string, size_t length, int x, size_t *char_offset, int *actual_x)
Find the position in a string where an x coordinate falls.
struct gui_layout_table * atari_layout_table
static nserror atari_font_width(const plot_font_style_t *fstyle, const char *str, size_t length, int *width)
Measure the width of a string.
Interface to platform-specific layout operation table.
Core mouse and pointer states.
Target independent plotting interface.
Netsurf additional integer type formatting macros.
nserror(* width)(const struct plot_font_style *fstyle, const char *string, size_t length, int *width)
Measure the width of a string.
plot_style_fixed size
Font size, in pt.
_fpmf_str_width str_width
_fpmf_str_split str_split
_fpmf_pixel_pos pixel_pos
Option reading and saving interface.
UTF-8 manipulation functions (interface).