SvgFilterPrimitive.cs 1.02 KB
Newer Older
davescriven's avatar
davescriven committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using System.Drawing.Drawing2D;

namespace Svg.FilterEffects
{
    public abstract class SvgFilterPrimitive
    {
        private string _in;
        private string _in2;
        private string _result;
        private ISvgFilter _owner;

        protected ISvgFilter Owner
        {
            get { return this._owner; }
        }

        public string In
        {
            get { return this._in; }
            set { this._in = value; }
        }

        public string In2
        {
            get { return this._in2; }
            set { this._in2 = value; }
        }

        public string Result
        {
            get { return this._result; }
            set { this._result = value; }
        }

        public SvgFilterPrimitive(ISvgFilter owner, string input)
        {
            this._in = input;
            this._owner = owner;
        }

        public abstract Bitmap Apply();
    }
}