跳到内容

Oberon/V2/字体

来自维基文库,一个开放世界的开放书籍
MODULE Fonts;

	IMPORT Display;

	TYPE
		Name = ARRAY 32 OF CHAR;103
		Font = POINTER TO FontDesc;
		FontDesc = RECORD
			name: Name;
			height, minX, maxX, minY, maxY INTEGER;
			raster: Display.Font
		END;

	VAR Default: Font;

	PROCEDURE This (name: ARRAY OF CHAR): Font;

END Fonts.
华夏公益教科书