Sigrid Haflínudóttirdraw text using mask; fix invert mode9fb02386 years agoHistory
19 lines · 374 B · C
RawDownload
typedef struct Sdopts Sdopts;typedef struct Sfont Sfont;#pragma incomplete Sfont struct Sdopts {	int prefilter;	float gamma;}; struct Sfontinfo {	char *family;	char *subfamily;	}; Sfont *pt_font(uchar *data, float height);void pt_freefont(Sfont *f);Rectangle pt_textrect(Sfont *f, char *s);Image *pt_textdraw(Sfont *f, char *s, Rectangle rect, Sdopts *opts);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t