Exemple #1
0
        public override string GetInfo()
        {
            StringBuilder sb = new StringBuilder();

            sb.AppendLine("TextureId: " + m_vTextureId);
            sb.AppendLine("ImageType: " + m_vImageType.ToString());
            sb.AppendLine("ImageFormat: " + m_vImage.GetImageTypeName());
            sb.AppendLine("Width: " + m_vImage.GetWidth());
            sb.AppendLine("Height: " + m_vImage.GetHeight());
            return(sb.ToString());
        }
Exemple #2
0
 public ScImage(ScImage im)
 {
     m_vWidth = im.GetWidth();
     m_vHeight = im.GetHeight();
     m_vBitmap = new Bitmap(im.GetBitmap());
 }
Exemple #3
0
 public ScImage(ScImage im)
 {
     m_vWidth  = im.GetWidth();
     m_vHeight = im.GetHeight();
     m_vBitmap = new Bitmap(im.GetBitmap());
 }