a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Libraries:
 intuition.library
  ActivateGadget
  ActivateWindow
  AddClass
  AddGList
  AddGadget
  AllocRemember
  AllocScreenBuffer
  AutoRequest
  BeginRefresh
  BuildEasyRequestArgs
  BuildSysRequest
  ChangeScreenBuffer
  ChangeWindowBox
  ClearDMRequest
  ClearMenuStrip
  ClearPointer
  CloseScreen
  CloseWindow
  CloseWorkBench
  CurrentTime
  DisplayAlert
  DisplayBeep
  DisposeObject
  DoGadgetMethodA
  DoubleClick
  DrawBorder
  DrawImage
  DrawImageState
  EasyRequestArgs
  EndRefresh
  EndRequest
  EraseImage
  FreeClass
  FreeRemember
  FreeScreenBuffer
  FreeScreenDrawInfo
  FreeSysRequest
  GadgetMouse
  GetAttr
  GetDefPrefs
  GetDefaultPubScreen
  GetPrefs
  GetScreenData
  GetScreenDrawInfo
  HelpControl
  InitRequester
  IntuiTextLength
  ItemAddress
  LendMenus
  LockIBase
  LockPubScreen
  LockPubScreenList
  MakeClass
  MakeScreen
  ModifyIDCMP
  ModifyProp
  MoveScreen
  MoveWindow
  MoveWindowInFrontOf
  NewModifyProp
  NewObject
  NextObject
  NextPubScreen
  ObtainGIRPort
  OffGadget
  OffMenu
  OnGadget
  OnMenu
  OpenScreen
  OpenScreenTagList
  OpenWindow
  OpenWindowTagList
  OpenWorkBench
  PointInImage
  PrintIText
  PubScreenStatus
  QueryOverscan
  RefreshGList
  RefreshGadgets
  RefreshWindowFrame
  ReleaseGIRPort
  RemakeDisplay
  RemoveClass
  RemoveGList
  RemoveGadget
  ReportMouse
  Request
  ResetMenuStrip
  RethinkDisplay
  ScreenDepth
  ScreenPosition
  ScreenToBack
  ScreenToFront
  ScrollWindowRaster
  SetAttrsA
  SetDMRequest
  SetDefaultPubScreen
  SetEditHook
  SetGadgetAttrsA
  SetMenuStrip
  SetMouseQueue
  SetPointer
  SetPrefs
  SetPubScreenModes
  SetWindowPointerA
  SetWindowTitles
  ShowTitle
  SizeWindow
  SysReqHandler
  TimedDisplayAlert
  UnlockIBase
  UnlockPubScreen
  UnlockPubScreenList
  ViewAddress
  ViewPortAddress
  WBenchToBack
  WBenchToFront
  WindowLimits
  WindowToBack
  WindowToFront
  ZipWindow
Include
GuruMeditation
Docs » Autodocs » intuition.library » PrintIText

NAME

	PrintIText -- Print text described by the IntuiText argument.

SYNOPSIS

	PrintIText( RastPort, IText, LeftOffset, TopOffset )
A0 A1 D0 D1
VOID PrintIText( struct RastPort *, struct IntuiText *, WORD, WORD );

FUNCTION

	Prints the IntuiText into the specified RastPort.  Sets up the RastPort
as specified by the IntuiText values, then prints the text into the
RastPort at the IntuiText x/y coordinates offset by the left/top
arguments. Note, though, that the IntuiText structure itself
may contain further text position coordinates: those coordinates
and the Left/TopOffsets are added to obtain the true position of
the text to be rendered.
This routine does window layer clipping as appropriate -- if you
print text outside of your window, your characters will be
clipped at the window's edge, providing you pass your window's
(layered) RastPort.
If the NextText field of the IntuiText argument is non-NULL,
the next IntuiText is rendered as well, and so on until some
NextText field is NULL.
IntuiText with the ITextFont field NULL are displayed in the
font of the RastPort. If the RastPort font is also NULL, the
system default font, as set via the Preferences tool, will be used.

INPUTS

	RastPort = the RastPort destination of the text
IText = pointer to an instance of the structure IntuiText
LeftOffset = left offset of the IntuiText into the RastPort
TopOffset = top offset of the IntuiText into the RastPort

RESULT

	None

BUGS

SEE ALSO

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:

The Black Lotus

TBL
KEF
PDX
AYS

Comments:

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