Unit 'Intuition' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#aros]

TDrawInfo

Graphical informations for the 3D look

Declaration

Source position: intuition.pas line 1145

type TDrawInfo = record

  dri_Version: Word;

  

Version of the structure, will be DRI_VERSION

  dri_NumPens: Word;

  

Guaranteed to be >= numDrIPens

  dri_Pens: PWord;

  

pointer to pen array

  dri_Font: PTextFont;

  

Screen default font

  dri_Depth: Word;

  

(initial) depth of screen bitmap

  dri_Resolution: record

  

from DisplayInfo database for initial display mode

    x: Word;

    y: Word;

  end;

  dri_Flags: LongWord;

  

Draw Flags (DIRF_*)

  dri_CheckMark: PImage;

  

pointer to scaled checkmark image Will be nil if DRI_VERSION < 2

  dri_AmigaKey: PImage;

  

pointer to scaled Amiga-key image Will be nil if DRI_VERSION < 2

  dri_Reserved: array [0..4] of LongWord;

  

Place for future extensions

end;

Description

The DrawInfo structure provides information Intuition uses to support the 3D look and specifies graphical information for applications that use the screen. The information includes such items as aspect ratio (resolution), font, number of colors and drawing pens.

See also

TGadgetInfo

  

The TGadgetInfo structure contains information about the display on which the gadget needs to render itself

GA_DrawInfo

  

GadgetClass Tag. [I..] (PDrawInfo) Some gadgets need a DrawInfo structure to be able to perform correct rendering.

TimpFrameBox

  

Message argument for IM_FRAMEBOX

TimpDraw

  

Message argument for IM_DRAW or IM_DRAWFRAME

TmdpGetDefSizeSysImage

  

Method parameter for MDM_GETDEFSIZE_SYSIMAGE

TmdpDrawSysImage

  

Method parameter for MDM_DRAW_SYSIMAGE

TsdpGetDefSizeSysImage

  

Method parameter for SDM_GETDEFSIZE_SYSIMAGE

TsdpDrawSysImage

  

Method parameter for SDM_DRAW_SYSIMAGE

TsdpDrawScreenBar

  

Method parameter for SDM_DRAW_SCREENBAR

TsdpLayoutScreenGadgets

  

Method parameter for SDM_LAYOUT_SCREENGADGETS

TsdpInitScreen

  

Method parameter for SDM_INITSCREEN

DrawImageState

  

Draw an (extended) Intuition Image with special visual state.

FreeScreenDrawInfo

  

Finish using a DrawInfo structure.

GetScreenDrawInfo

  

Get pointer to rendering information.


Documentation generated on: 2021-07-30