a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Libraries:
 bullet.library
  --background--
  CloseEngine
  ObtainInfoA
  OpenEngine
  ReleaseInfoA
  SetInfoA
Include
GuruMeditation
Docs » Autodocs » bullet.library » SetInfoA

NAME

	SetInfoA -- Set font and/or glyph metrics
SetInfo -- varargs form of SetInfoA

SYNOPSIS

	error = SetInfoA(engineHandle, tagList)
A0 A1
ULONG SetInfoA(struct GlyphEngine *, struct TagItem *);
error = SetInfo(engineHandle, firstTag, ...)
ULONG SetInfo(struct GlyphEngine *, Tag, ...);

FUNCTION

	This function accepts a tagList whose tag field elements are
valid for specification, and whose associated data fields are
used to supply the specified data.
Data that is supplied via an indirect pointer (OT_Indirect) to
an array or structure is copied from that array or structure
into the internal memory of the library. Changes to the data
after this call do not affect the engine.

INPUTS

	engineHandle -- the handle acquired via OpenEngine.
tagList -- a tagList containing OT_ tags valid for
specification paired with the specification data.

RESULT

	This function returns a zero success indication, or a non-zero
error code.

EXAMPLE

	    if (!(error = SetInfo(EngineHandle, OT_PointHeight, fpoints,
OT_GlyphCode, GC_daggerdbl, TAG_DONE)) {
error = ObtainInfo(EngineHandle, OT_Glyph, &glyph);
...
ReleaseInfo(EngineHandle, OT_Glyph, glyph);
}

SEE ALSO

<diskfont/diskfonttag.h>, <diskfont/oterrors.h>

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:

Sanity

FLT
AOA
SNT
PHA

Comments:

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