Ejemplo 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);
            }
        }
Ejemplo 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();
        }
Ejemplo 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();
        }
Ejemplo 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);
            }
        }