Draw using NvOsd for custom parser

Spec:
DeepStream 4.0 (Docker)
GPU: 2080Ti

I would like to draw some simple lines using dummy data (that I kept in custom parser function). I want to know which function in NvOsd I have to change for drawing and where is this source cpp file. How to get those dummy data in nvosd?