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); }
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); }
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); } }
public RenderContext(GeometryRenderer renderer, MeshList meshList) { this.renderer = renderer; this.meshList = meshList; }
public RenderContext(RecordReader renderer, MeshList meshList) { this.renderer = renderer; this.meshList = meshList; }