private void WriteImage(DrawImage img) { WriteTag(VexDrawTag.ImageDefinition); WriteBits(img.Id, idBitCount); WriteRect(img.SourceRectangle); WriteBits(img.PathId, 11); FlushTag(); }
private void GetDrawImages(List <Image> images) { drawImages = new List <DrawImage>(); paths = new List <string>(); foreach (Image image in images) { DrawImage di = new DrawImage(image, (uint)paths.Count); drawImages.Add(di); paths.Add(image.Path); } }
private void GetDrawImages(List<Image> images) { drawImages = new List<DrawImage>(); paths = new List<string>(); foreach (Image image in images) { DrawImage di = new DrawImage(image, (uint)paths.Count); drawImages.Add(di); paths.Add(image.Path); } }