Recent

Author Topic: FPC Graph unit documentation missing PutPixel GetPixel  (Read 2009 times)

Weiss

  • Full Member
  • ***
  • Posts: 127
FPC Graph unit documentation missing PutPixel GetPixel
« on: November 23, 2022, 05:04:18 am »
I can access them and those two procedures work. But they are not listed in "procedures and functions" in reference for unit "Graph".

dsiders

  • Hero Member
  • *****
  • Posts: 1045
Re: FPC Graph unit documentation missing PutPixel GetPixel
« Reply #1 on: November 23, 2022, 06:00:33 am »
I can access them and those two procedures work. But they are not listed in "procedures and functions" in reference for unit "Graph".

They are in the index though.

https://www.freepascal.org/docs-html/current/rtl/graph/getpixel.html
https://www.freepascal.org/docs-html/current/rtl/graph/putpixel.html

[Edit]

They're included on the Variables page.
« Last Edit: November 23, 2022, 06:09:37 am by dsiders »
Preview Lazarus 3.99 documentation at: https://dsiders.gitlab.io/lazdocsnext

PascalDragon

  • Hero Member
  • *****
  • Posts: 5444
  • Compiler Developer
Re: FPC Graph unit documentation missing PutPixel GetPixel
« Reply #2 on: November 23, 2022, 11:14:10 pm »
I can access them and those two procedures work. But they are not listed in "procedures and functions" in reference for unit "Graph".

That's because PutPixel and GetPixel are procedure variables that are set by the selected backend. As dsiders mentioned they are thus listed as Variables.

 

TinyPortal © 2005-2018