private void GetDrawTimelines(List <Timeline> timelines) { drawTimelines = new List <DrawTimeline>(); foreach (Timeline tl in timelines) { DrawTimeline dt = new DrawTimeline(tl); drawTimelines.Add(dt); } }
private void WriteTimeline(DrawTimeline timeline) { WriteTag(VexDrawTag.TimelineDefinition); WriteBits(timeline.Id, idBitCount); // todo: name WriteRect(timeline.StrokeBounds); WriteBits(timeline.Instances.Count, 11); // number of path defs for (int i = 0; i < timeline.Instances.Count; i++) { WriteInstance(timeline.Instances[i]); } FlushTag(); }
private void GetDrawTimelines(List<Timeline> timelines) { drawTimelines = new List<DrawTimeline>(); foreach (Timeline tl in timelines) { DrawTimeline dt = new DrawTimeline(tl); drawTimelines.Add(dt); } }