a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
Include
 classes
 clib
 datatypes
 devices
 diskfont
  diskfont.i / .h
  diskfonttag.i / .h
  glyph.i / .h
  oterrors.i / .h
 dos
 exec
 gadgets
 graphics
 hardware
 images
 intuition
 libraries
 pragma
 pragmas
 prefs
 proto
 reaction
 resources
 rexx
 utility
 workbench
GuruMeditation
Docs » Include » diskfont » glyph.i / .h
	IFND	DISKFONT_GLYPH_I
DISKFONT_GLYPH_I	EQU	1

**
**	$VER: glyph.i 9.1 (19.6.1992)
**	Includes Release 45.1
**
**	glyph.i -- structures for glyph libraries
**
**	(C) Copyright 1991-1992 Robert R. Burns
**	    All Rights Reserved
**

	IFND	EXEC_TYPES_I
	INCLUDE	"exec/types.i"
	ENDC

	IFND	EXEC_LIBRARIES_I
	INCLUDE	"exec/libraries.i"
	ENDC

	IFND	EXEC_NODES_I
	INCLUDE	"exec/nodes.i"
	ENDC

; A GlyphEngine must be acquired via OpenEngine and is read-only
 STRUCTURE	GlyphEngine,0
    APTR    gle_Library		; (struct Library *) engine library
    APTR    gle_Name		; (char *) library basename: e.g. "bullet"
    ; private library data follows...

 STRUCTURE	GlyphMap,0
    UWORD   glm_BMModulo	; # of bytes in row: always multiple of 4
    UWORD   glm_BMRows		; # of rows in bitmap
    UWORD   glm_BlackLeft	; # of blank pixel columns at left
    UWORD   glm_BlackTop	; # of blank rows at top
    UWORD   glm_BlackWidth	; span of contiguous non-blank columns
    UWORD   glm_BlackHeight	; span of contiguous non-blank rows
    ; the following five ULONGs are FIXED:
    ULONG   glm_XOrigin		; distance from upper left corner of bitmap
    ULONG   glm_YOrigin		;   to initial CP, in fractional pixels
    WORD    glm_X0		; approximation of XOrigin in whole pixels
    WORD    glm_Y0		; approximation of YOrigin in whole pixels
    WORD    glm_X1		; approximation of XOrigin + Width
    WORD    glm_Y1		; approximation of YOrigin + Width
    ULONG   glm_Width		; character advance, as fraction of em width
    APTR    glm_BitMap		; (ULONG *) actual glyph bitmap
    LABEL   GlyphMap_SIZEOF

 STRUCTURE	GlyphWidthEntry,0
    STRUCT  gwe_Node,MLN_SIZE	; on list returned by OT_WidthList inquiry
    UWORD   gwe_Code		; entry's character code value
    ; the following ULONG is FIXED: 
    ULONG   gwe_Width		; character advance, as fraction of em width
    LABEL   GlyphWidthEntry_SIZEOF

	ENDC	; DISKFONT_GLYPH_I

Comments

Name:
E-mail: Use this if you want a message if you get a response, will not be shown.
Comment:
Select correct short for:

Andromeda

AOA
AFL
SCX
TRSI

Comments:

$VER: d0.se 1.14 Copyright © 2011-2024 Tobias Geijersson support at d0 dot se