class ImageElementGlyphRenderer implements DOMGlyphRenderer<ImageDataUriGlyph> {

    @Override
    public IsElement render(final ImageDataUriGlyph glyph,
                            final double width,
                            final double height) {
        final ImageElementRendererView view = viewInstanceSupplier.get();
        return view.setImage(glyph.getUri(),
                             (int) width,
                             (int) height);
    }

    protected  ImageElementGlyphRenderer();
    @Inject public  ImageElementGlyphRenderer(final @Any ManagedInstance<ImageElementRendererView> viewInstances);
      ImageElementGlyphRenderer(final Supplier<ImageElementRendererView> viewInstanceSupplier,
                              final Command viewInstancesDestroyer);

}