Unit 'gpm' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#rtl]

gpm_fitvaluesM

Change coordinates to fit margin.

Declaration

Source position: gpm.pp line 198

function gpm_fitvaluesM(

  var x: LongInt;

  var y: LongInt;

  margin: LongInt

):LongInt;

Description

Gpm_FitValuesM changes x and y so they fit in the margin indicated by margin. If margin is -1, then the values are fitted to the screen. The actual mouse pointer is not affected by this function.

Errors

None.

See also

Gpm_FitValues

  

Change coordinates to fit physical screen.


Documentation generated on: Nov 24 2024