Example #1
0
        public G3Canvas(int width, int height)
        {
            Surface = new G3Surface(width, height);

            m_ClipWidth = width - 1;
            m_ClipHeight = height - 1;

            SurfaceWidth = width;
            SurfaceHeight = height;
        }
Example #2
0
        public G3Canvas(int width, int height, G3Surface s)
        {
            Surface = s;

            m_ClipWidth = width - 1;
            m_ClipHeight = height - 1;

            SurfaceWidth = width;
            SurfaceHeight = height;
        }