Exemplo n.º 1
0
        public override void OnPlotterAttached(Plotter plotter)
        {
            _syncContext = SynchronizationContext.Current;

            base.OnPlotterAttached(plotter);

            _transformEffect = GetTransformEffect(Device);

            // Creates and sets the Vertex Declaration
            _vertexDeclaration = new VertexDeclaration(Device, new TDxPoint().GetVertexElements());
        }
Exemplo n.º 2
0
        public override void OnPlotterAttached(Plotter plotter)
        {
            _syncContext = SynchronizationContext.Current;

            base.OnPlotterAttached(plotter);

            _transformEffect = GetTransformEffect(Device);

            // Creates and sets the Vertex Declaration
            _vertexDeclaration = new VertexDeclaration(Device, new DxVertex().GetVertexElements());

            this._texture = TextureHelper.GetDVDImageTexture(Device);
        }