Exemplo n.º 1
0
 public static string RenderLeafInlineRaw(LeafBlock leafBlock)
 {
     using (var stringWriter = new StringWriter())
     {
         var renderer = new RawRenderer(stringWriter);
         renderer.WriteLeafInline(leafBlock);
         return(stringWriter.ToString());
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BarcodeWriter"/> class.
 /// </summary>
 public BarcodeWriter()
 {
     Renderer = new RawRenderer();
 }
Exemplo n.º 3
0
 public override IEnumerable<Barebones.Dependencies.IDependency> GetDependencies()
 {
     yield return new Dependency<PhysicsComponent>(item => { }, item => item.DisposePhysics(m_World));
     yield return new Dependency<RawRenderer>(item => m_Renderer = item, item => m_Renderer = null);
     yield return new Dependency<Camera>(item => m_Camera = item, item => m_Camera = null);
 }