コード例 #1
0
ファイル: G3Canvas.cs プロジェクト: HaKDMoDz/baro-corelibrary
        public G3Canvas(int width, int height)
        {
            Surface = new G3Surface(width, height);

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

            SurfaceWidth = width;
            SurfaceHeight = height;
        }
コード例 #2
0
ファイル: G3Canvas.cs プロジェクト: HaKDMoDz/baro-corelibrary
        public G3Canvas(int width, int height, G3Surface s)
        {
            Surface = s;

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

            SurfaceWidth = width;
            SurfaceHeight = height;
        }