internal Slide Image(string path, RendererOptions opts = null)
 {
     // todo get PresentationContent out of here..
     _renderers.Add(new ImageRenderer(opts, Presentation.PresentationContent.Images[path]));
     return(this);
 }
 protected Renderer(RendererOptions opts)
 {
     Options    = opts ?? new RendererOptions();
     IsFragment = Options.IsFragment;
     IsActive   = !Options.IsFragment;
 }
 internal Slide SubText(string text, RendererOptions opts = null)
 {
     _renderers.Add(new TextRenderer(opts, Fonts.SubText, text));
     return(this);
 }
Beispiel #4
0
 public ImageRenderer(RendererOptions options, Texture2D image) : base(options)
 {
     Image = image;
 }