Unit 'intuition' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#os4units]

TDrawInfo

Graphical informations for the 3D look

Declaration

Source position: intuition.pas line 1919

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_Screen: PScreen;

  dri_Prefs: Pointer;

  dri_Reserved: array [0..2] 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

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