To be able to read & render a pdf file from within U++ program is definitely something desirable.
This C project/repo might be a good starting point. It's in Apache 2.0 license which is quite permissive. Adapting it to U++ and adding drawing capability should not be too difficult.