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()); }
public ScImage(ScImage im) { m_vWidth = im.GetWidth(); m_vHeight = im.GetHeight(); m_vBitmap = new Bitmap(im.GetBitmap()); }