Hi all,
- Windows GDI -
I'm currently working on some old foreign (Delphi) sources, under Lazarus.
There I found several code blocks that are redundant (fully the same code),
calling several
- FillRect()
- MoveTo()
- LineTo()
- DrawText()
etc. ...
I could put them into some plain pascal subfunctions (to reduce redundancy).
=> So with using inline; the FPC compiler should put the code inplace (I think ..?)
Does it eat up relevant system CPU time if I do NOT use inline; with such subfunctions ?