Unit 'agraphics' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#morphunits]

MakeVPort

Generate display copper list for a viewport.

Declaration

Source position: agraphics.pas line 2016

function MakeVPort(

  View: PView;

  Vp: PViewPort

):LongWord;

Arguments

View

  

A pointer to a View structure

Function result

MakeVPort() will return an error if there is not enough memory, or the requested mode cannot be opened with the requested depth with the given bitmap (for higher bandwidth alignments). Check (MVP_*)

Description

Uses information in the View, ViewPort, TViewPort^.RasInfo to construct and intermediate copper list for this ViewPort.

Constructs intermediate copper list and puts pointers in viewport.DspIns If the ColorMap ptr in ViewPort is nil then it uses colors from the default color table. If DUALPF in Modes then there must be a second TRasInfo pointed to by the first TRasInfo

See also

InitVPort

  

Initialize ViewPort structure.

MrgCop

  

Merge together coprocessor instructions.

MakeScreen

  

Do an Intuition-integrated MakeVPort() of a screen.

RemakeDisplay

  

RethinkDisplay

  

Grand manipulation of the entire Intuition display.


Documentation generated on: 2021-07-30