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 » GetScreenDrawInfo

NAME

	GetScreenDrawInfo -- Get pointer to rendering information. (V36)

SYNOPSIS

	DrInfo = GetScreenDrawInfo( Screen )
D0 A0
struct DrawInfo *GetScreenDrawInfo( struct Screen * );

FUNCTION

	Returns a pointer to a DrawInfo structure derived from the
screen passed. This data structure is READ ONLY. The field
dri_Version identifies which version of struct DrawInfo you
are given a pointer to.

INPUTS

 	Screen        - pointer to a valid, open screen.

RESULT

 	DrInfo - pointer to a system-allocated DrawInfo structure,
as defined in intuition/screens.h.

NOTES

	Some information in the DrawInfo structure may in the future
be calculated the first time this function is called for a
particular screen.
You must call FreeScreenDrawInfo() when you are done using the
returned pointer.
This function does not prevent a screen from closing. Apply it
only to the screens you opened yourself, or apply a protocol
such as LockPubScreen().
WARNING: Until further notice, the pointer returned does not
remain valid after the screen is closed.
This function and FreeScreenDrawInfo() don't really do much now,
but they provide an upward compatibility path. That means that
if you misuse them today, they probably won't cause a problem,
although they may someday later. So, please be very careful
only to use the DrawInfo structure between calls to
GetScreenDrawInfo() and FreeScreenDrawInfo(), and be sure
that you don't forget FreeScreenDrawInfo().

BUGS

	Does not reflect to changes in screen modes, depth, or pens.

SEE ALSO

FreeScreenDrawInfo(), LockPubScreen(), <intuition/screens.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

AOA
SNT
SCX
CSL

Comments:

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