help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Procedures and functions][Variables] Reference for unit 'gpm' (#rtl)

gpm_fitvaluesM

Change coordinates to fit margin.

Declaration

Source position: gpm.pp line 191

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.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505