(C) 1998 AROS - The Amiga Research OS


NAME
#include <clib/graphics_protos.h>

WORD WeighTAMatch (reqTextAttr , targetTextAttr , targetTags)

LOCATION
In GfxBase at offset 134

SYNOPSIS
struct TextAttr * reqTextAttr
struct TextAttr * targetTextAttr
struct TagItem * targetTags

FUNCTION
Determines how well two font descriptions match.

INPUTS
reqTextAttr
the required textattr.
targetTextAttr
textattr of potential match.
targetTags
tags for the targetTextAttr.

RESULT
A weight number which measures how well the TextAttrs match. The weight may vary from 0 (no match) to MAXFONTMATCHWEIGHT (perfect match).

EXAMPLE

SEE ALSO

NOTES

BUGS
Does not yet take tags into account.

INTERNALS

HISTORY