Recent

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

Weiss

  • New Member
  • *
  • Posts: 40
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: 715
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 2.3.0 documentation at: https://dsiders.gitlab.io/lazdocsnext

PascalDragon

  • Hero Member
  • *****
  • Posts: 4744
  • 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