Ejemplo n.º 1
0
        internal override void Draw(IGeometryRenderer renderer, MeshList meshList)
        {
            var r = renderer as GraphicsImplementation.BuiltinGeometryRenderer;

            Debug.Assert(r != null);
            r.DrawPrimitive(this.Geometry, this.Rect, this.RuleSet, meshList);
        }
Ejemplo n.º 2
0
        public override void Draw(IPrimitiveRenderer renderer, MeshList meshList)
        {
            var r = renderer as GraphicsImplementation.BuiltinPrimitiveRenderer;

            Debug.Assert(r != null);
            r.DrawPrimitive(this.Primitive, this.Rect, this.RuleSet, meshList);
        }
Ejemplo n.º 3
0
 public void Build(MeshList meshList)
 {
     foreach (var mesh in meshList.ShapeMeshes)
     {
         ShapeMesh.Append(mesh);
     }
     foreach (var mesh in meshList.ImageMeshes)
     {
         ImageMesh.Append(mesh);
     }
     foreach (var textMesh in meshList.TextMeshes)
     {
         TextMesh.Append(textMesh, Vector.Zero);
     }
 }
Ejemplo n.º 4
0
 public RenderContext(GeometryRenderer renderer, MeshList meshList)
 {
     this.renderer = renderer;
     this.meshList = meshList;
 }
Ejemplo n.º 5
0
 public RenderContext(RecordReader renderer, MeshList meshList)
 {
     this.renderer = renderer;
     this.meshList = meshList;
 }