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

NAME

	DrawImage -- Draw the specified Image structure into a RastPort.

SYNOPSIS

	DrawImage( RastPort, Image, LeftOffset, TopOffset )
A0 A1 D0 D1
VOID DrawImage( struct RastPort *, struct Image *, WORD, WORD );

FUNCTION

	First, sets up the draw mode and pens in the RastPort according to the
arguments of the Image structure. Then, moves the image data of
the image argument into the RastPort, offset by the left and top
offsets.
This routine does window layer clipping if you pass your window's
(layered) RastPort -- if you draw an image outside of your window,
your imagery will be clipped at the window's edge. If you pass
a (non-layered) screen RastPort, you MUST be sure your image is
wholly contained within the rastport bounds.
If the NextImage field of the image argument is non-NULL,
the next image is rendered as well, and so on until some
NextImage field is found to be NULL.

INPUTS

	RastPort = pointer to the RastPort to receive image rendering
Image = pointer to an image structure
LeftOffset = the offset which will be added to the image's x coordinate
TopOffset = the offset which will be added to the image's y coordinate

RESULT

	None

NOTES

	Intuition always has and will continue to assume there are
at least as many planes of data pointed to by ImageData as there
are '1' bits in the PlanePick field. Please ensure that
this is so. (See the intuition.h include file for full details
on using PlanePick).

BUGS

SEE ALSO

DrawImageState(), EraseImage()

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:

Alpha Flight 1970

TRSI
FLT
AFL
SPB

Comments:

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