XGraphcis Lab is just a test program of PDFsharp, but it may be useful to demonstrate the drawing capabilities of the XGraphics class. It has a brief sample for all graphic functions in this class. In a preview window you can immediately see the results of the test code.
The following hardcopy illustrates the DrawBezier function.
This sample shows how to convert a glyph into a graphical path.