Definitive Painter - a 2D vector graphics library

I have 2 questions:

  • can I use this in materials?
  • is it ok for me to add widgets inside widgets that both use definitive painter or should I just use one widget only?