示例#1
0
        internal Thumbnail(Photo photo, ImageNameRecord record)
        {
            this.photo = photo;
            this.record = record;

            if (record.CorrelationId > 0) {
                Format = photo.PhotoDatabase.Device.LookupArtworkFormat (record.CorrelationId);
            }
        }
示例#2
0
文件: Photo.cs 项目: mono/ipod-sharp
        public Thumbnail CreateThumbnail()
        {
            ImageNameRecord name = new ImageNameRecord (item.IsBE);
            item.AddName (name);

            Thumbnail thumbnail = new Thumbnail (this, name);
            thumbnails.Add (thumbnail);

            return thumbnail;
        }