CompiledPath and font_metrics_provider aren't available via enable.api at the moment and I don't see a good reason why it shouldn't be. There are a few places in chaco which do from enable.compiled_path import CompiledPath and from enable.font_metrics_provider import font_metrics_provider.
Ref https://github.com/enthought/chaco/search?q=%22enable.compiled_path%22 and https://github.com/enthought/chaco/search?q=font_metrics_provider
CompiledPathandfont_metrics_provideraren't available viaenable.apiat the moment and I don't see a good reason why it shouldn't be. There are a few places inchacowhich dofrom enable.compiled_path import CompiledPathandfrom enable.font_metrics_provider import font_metrics_provider.Ref https://github.com/enthought/chaco/search?q=%22enable.compiled_path%22 and https://github.com/enthought/chaco/search?q=font_metrics_provider