Esempio n. 1
0
        private void GetDrawTimelines(List <Timeline> timelines)
        {
            drawTimelines = new List <DrawTimeline>();

            foreach (Timeline tl in timelines)
            {
                DrawTimeline dt = new DrawTimeline(tl);
                drawTimelines.Add(dt);
            }
        }
Esempio n. 2
0
        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();
        }
Esempio n. 3
0
        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();
        }
Esempio n. 4
0
        private void GetDrawTimelines(List<Timeline> timelines)
        {
            drawTimelines = new List<DrawTimeline>();

            foreach (Timeline tl in timelines)
            {
                DrawTimeline dt = new DrawTimeline(tl);
                drawTimelines.Add(dt);
            }
        }