示例#1
0
        public ImageItem(BaseReport rp)
            : base(rp)
        {
#if     REPMAN_ZLIB
            FDecompStream = new MemoryStream();
#endif
            dpires      = DEFAULT_DPI;
            Height      = DEF_DRAWWIDTH;
            Width       = Height;
            Expression  = "";
            SharedImage = SharedImageType.None;

            FStream = new MemoryStream();
        }
示例#2
0
        void Awake()
        {
            if (Instance)
            {
                Destroy(gameObject);
            }
            else
            {
                Instance = this;
                DontDestroyOnLoad(gameObject);
            }
#if !EASY_MOBILE
            sharedImageFormat = SharedImageType.PNG;
#endif
        }