NetSurf
Data Fields
ami_font_functions Struct Reference

#include <font.h>

Data Fields

nserror(* width )(const plot_font_style_t *fstyle, const char *string, size_t length, int *width)
 
nserror(* posn )(const plot_font_style_t *fstyle, const char *string, size_t length, int x, size_t *char_offset, int *actual_x)
 
nserror(* split )(const plot_font_style_t *fstyle, const char *string, size_t length, int x, size_t *char_offset, int *actual_x)
 
ULONG(* text )(struct RastPort *rp, const char *string, ULONG length, const plot_font_style_t *fstyle, ULONG x, ULONG y, bool aa)
 

Detailed Description

Definition at line 40 of file font.h.

Field Documentation

◆ posn

nserror(* ami_font_functions::posn) (const plot_font_style_t *fstyle, const char *string, size_t length, int x, size_t *char_offset, int *actual_x)

Definition at line 45 of file font.h.

Referenced by ami_font_position().

◆ split

nserror(* ami_font_functions::split) (const plot_font_style_t *fstyle, const char *string, size_t length, int x, size_t *char_offset, int *actual_x)

Definition at line 49 of file font.h.

Referenced by ami_font_split().

◆ text

ULONG(* ami_font_functions::text) (struct RastPort *rp, const char *string, ULONG length, const plot_font_style_t *fstyle, ULONG x, ULONG y, bool aa)

Definition at line 53 of file font.h.

Referenced by ami_text().

◆ width

nserror(* ami_font_functions::width) (const plot_font_style_t *fstyle, const char *string, size_t length, int *width)

Definition at line 41 of file font.h.

Referenced by ami_font_width().


The documentation for this struct was generated from the following file: