Exemple #1
0
 private DrawText CreateDrawText(int p)
 {
     DrawText dt = new DrawText();
     dt.Alpha = 35;
     dt.Width = 300;
     dt.HAlign = TextHAlign.left;
     dt.VAlign = TextVAlign.bottom;
     switch (p)
     {
         case 1:
             dt.Color = "eeeeff";
             dt.Size = 45;
             dt.X = 220;
             dt.Y = 18;
             dt.Height = 240;
             dt.Text = "growth";
             break;
         case 2:
             dt.Color = "000044";
             dt.Rotation = -90;
             dt.Size = 60;
             dt.X = -41;
             dt.Y = 270;
             dt.Height = 100;
             dt.Text = "y  e  a   r";
             break;
     }
     return dt;
 }
 private DrawText CreateDrawText(int p)
 {
     DrawText dt = new DrawText();
     dt.Transition = TransitionType.dissolve;
     dt.Delay = 1.5;
     dt.Duration = 0.5;
     dt.Color="000033";
     dt.Alpha = 15;
     dt.Font = "Arial";
     dt.Rotation = 0;
     dt.Bold = true;
     dt.Size = 30;
     dt.X = 0;
     dt.Y = 5;
     dt.Width = 372;
     dt.Height = 40;
     dt.HAlign = TextHAlign.right;
     dt.VAlign = TextVAlign.bottom;
     dt.Text = "regional report";
     if (p == 2)
     {
         dt.Color = "ffffff";
         dt.Rotation = -5;
         dt.Size = 150;
         dt.X = 110;
         dt.Y = 290;
         dt.Width = 400;
         dt.Height = 50;
         dt.HAlign = TextHAlign.left;
         dt.Text = "2007";
     }
     return dt;
 }
Exemple #3
0
 private DrawText CreateDrawText(int p)
 {
     DrawText dt = new DrawText();
     dt.Font = "Arial";
     dt.Rotation = 0;
     dt.Bold = true;
     switch (p)
     {
         case 1:
             dt.Color = "88ff00";
             dt.Alpha = 15;
             dt.Size = 100;
             dt.X = 5;
             dt.Y = 11;
             dt.Width = 300;
             dt.Height = 240;
             dt.HAlign = TextHAlign.left;
             dt.VAlign = TextVAlign.top;
             dt.Text = "poll";
             break;
         case 2:
             dt.Color = "ff8800";
             dt.Alpha = 100;
             dt.Size = 20;
             dt.X = 35;
             dt.Y = 65;
             dt.Width = 400;
             dt.Height = 200;
             dt.HAlign = TextHAlign.left;
             dt.VAlign = TextVAlign.top;
             dt.Text = "Is the economy recovering?";
             break;
         case 3:
             dt.Color = "000000";
             dt.Alpha = 10;
             dt.Size = 25;
             dt.X = 0;
             dt.Y = 0;
             dt.Width = 400;
             dt.Height = 290;
             dt.HAlign = TextHAlign.center;
             dt.VAlign = TextVAlign.bottom;
             dt.Text = "poll poll poll poll poll poll poll poll poll poll poll";
             break;
         case 4:
             dt.Color = "000000";
             dt.Alpha = 10;
             dt.Size = 25;
             dt.X = 0;
             dt.Y = 0;
             dt.Width = 400;
             dt.Height = 290;
             dt.HAlign = TextHAlign.center;
             dt.VAlign = TextVAlign.top;
             dt.Text = "poll poll poll poll poll poll poll poll poll poll poll";
             break;
     }
     return dt;
 }
        private xsc.DrawText GetDrawText(int number)
        {
            xsc.DrawText text = new xsc.DrawText();
            text.Width = 400;
            text.Height = 400;
            text.HAlign = xsc.TextHAlign.left;

            switch (number)
            {
                case 1:
                    text.Color = "ffffff";
                    text.Alpha = 20;
                    text.Rotation = -10;
                    text.Size = 200;
                    text.X = 290;
                    text.Y = -15;
                    text.Text = "&";
                    break;
                case 2:
                    text.Color = "000000";
                    text.Alpha = 5;
                    text.Rotation = 0;
                    text.Size = 90;
                    text.X = 69;
                    text.Y = -33;
                    text.Text = "music";
                    break;
                case 3:
                    text.Color = "88ff00";
                    text.Alpha = 50;
                    text.Rotation = 0;
                    text.Size = 90;
                    text.X = 66;
                    text.Y = -36;
                    text.Text = "music";
                    break;
                case 4:
                    text.Color = "000000";
                    text.Alpha = 3;
                    text.Rotation = 3;
                    text.Size = 150;
                    text.X = 22390;
                    text.Y = 153;
                    text.Text = "sound";
                    break;
                case 5:
                    text.Color = "ff6644";
                    text.Alpha = 40;
                    text.Rotation = 3;
                    text.Size = 150;
                    text.X = 20;
                    text.Y = 150;
                    text.Text = "sound";
                    break;
            }
            return text;
        }
Exemple #5
0
 private xsc.DrawText CreateDrawText(int p)
 {
     xsc.DrawText dt = new xsc.DrawText();
     dt.Font = "Arial";
     dt.Bold = true;
     dt.HAlign = xsc.TextHAlign.center;
     dt.VAlign = xsc.TextVAlign.middle;
     switch (p)
     {
         case 1:
             dt.Color = "000000";
             dt.Alpha = 20;
             dt.Rotation = -24;
             dt.Size = 18;
             dt.X = 57;
             dt.Y = 162;
             dt.Width = 200;
             dt.Height = 150;
             dt.Text = "my slice";
             break;
         case 2:
             dt.Color = "ffffaa";
             dt.Alpha = 90;
             dt.Rotation = -24;
             dt.Size = 18;
             dt.X = 55;
             dt.Y = 160;
             dt.Width = 200;
             dt.Height = 150;
             dt.Text = "my slice";
             break;
         case 3:
             dt.Color = "000000";
             dt.Alpha = 10;
             dt.Rotation = -10;
             dt.Size = 50;
             dt.X = 3;
             dt.Y = 33;
             dt.Width = 320;
             dt.Height = 230;
             dt.Text = "our pie";
             break;
         case 4:
             dt.Color = "eeeedd";
             dt.Alpha = 90;
             dt.Rotation = -11;
             dt.Size = 50;
             dt.X = 0;
             dt.Y = 30;
             dt.Width = 320;
             dt.Height = 230;
             dt.Text = "our pie";
             break;
     }
     return dt;
 }
 private xsc.DrawText CreateDrawText()
 {
     xsc.DrawText dt = new xsc.DrawText();
     dt.Color = "000000";
     dt.Alpha = 4;
     dt.Size = 40;
     dt.X = -50;
     dt.Y = 260;
     dt.Width = 500;
     dt.Height = 50;
     dt.HAlign = xsc.TextHAlign.center;
     dt.VAlign = xsc.TextVAlign.middle;
     dt.Text = "56789012345678901234";
     return dt;
 }
Exemple #7
0
 private xsc.DrawText CreateDrawText()
 {
     xsc.DrawText dt = new xsc.DrawText();
     dt.Color = "000000";
     dt.Alpha = 10;
     dt.Font = "Arial";
     dt.Rotation = 0;
     dt.Bold = true;
     dt.Size = 30;
     dt.X = 0;
     dt.Y = 140;
     dt.Width = 400;
     dt.Height = 150;
     dt.HAlign = xsc.TextHAlign.center;
     dt.VAlign = xsc.TextVAlign.bottom;
     dt.Text = "|||||||||||||||||||||||||||||||||||||||||||||||";
     return dt;
 }
 private DrawText CreateDrawText()
 {
     DrawText dt = new DrawText();
     dt.Color = "000033";
     dt.Alpha = 25;
     dt.Font = "Arial";
     dt.Rotation = 0;
     dt.Bold = true;
     dt.Size = 30;
     dt.X = 0;
     dt.Y = 0;
     dt.Width = 380;
     dt.Height = 295;
     dt.HAlign = TextHAlign.right;
     dt.VAlign = TextVAlign.bottom;
     dt.Text = "regional report";
     return dt;
 }
Exemple #9
0
        private List<xsc.DrawText> SetDrawText()
        {
            xsc.DrawText dt = new xsc.DrawText();
            dt.Transition = xsc.TransitionType.dissolve;
            dt.Delay = 0.0;
            dt.Duration = 0.5;
            dt.Color = "000000";
            dt.Alpha = 8;
            dt.Font = "Arial";
            dt.Rotation = 0;
            dt.Bold = true;
            dt.Size = 48;
            dt.X = 8;
            dt.Y = 7;
            dt.Width = 400;
            dt.Height = 75;
            dt.HAlign = xsc.TextHAlign.center;
            dt.VAlign = xsc.TextVAlign.bottom;
            dt.Text = "annual report";

            List<xsc.DrawText> list = new List<xsc.DrawText>();
            list.Add(dt);
            return list;
        }
        private List<xsc.DrawText> SetDrawTexts()
        {
            List<xsc.DrawText> text = new List<xsc.DrawText>();
            xsc.DrawText dt = new xsc.DrawText();
            dt.Color = "ff6644";
            dt.Alpha = 70;
            dt.Font = "Arial";
            dt.Rotation = 2;
            dt.Bold = true;
            dt.Size = 53;
            dt.X = 5;
            dt.Y = 0;
            dt.Width = 400;
            dt.Height = 400;
            dt.HAlign = xsc.TextHAlign.center;
            dt.Text = "monthly report";
            text.Add(dt);

            dt = new xsc.DrawText();
            dt.Color = "000000";
            dt.Alpha = 60;
            dt.Font = "Arial";
            dt.Rotation = 0;
            dt.Bold = true;
            dt.Size = 16;
            dt.X = 25;
            dt.Y = 55;
            dt.Width = 300;
            dt.HAlign = xsc.TextHAlign.left;
            dt.Text = "May 2007";
            text.Add(dt);

            return text;
        }
        private List<xsc.DrawText> SetDrawTexts()
        {
            List<xsc.DrawText> txt = new List<xsc.DrawText>();
            xsc.DrawText t = new xsc.DrawText();
            t.Color = "ffffee";
            t.Alpha = 75;
            t.Rotation = 0;
            t.Size = 50;
            t.X = 0;
            t.Y = -10;
            t.Width = 400;
            t.Height = 200;
            t.HAlign = xsc.TextHAlign.left;
            t.VAlign = xsc.TextVAlign.top;
            t.Text = "temperatures";
            txt.Add(t);

            t = new xsc.DrawText();
            t.Color = "000000";
            t.Alpha = 35;
            t.Rotation = 0;
            t.Size = 25;
            t.X = 317;
            t.Y = 10;
            t.Width = 300;
            t.Height = 200;
            t.HAlign = xsc.TextHAlign.left;
            t.VAlign = xsc.TextVAlign.top;
            t.Text = "hi/low";
            txt.Add(t);

            t = new xsc.DrawText();
            t.Color = "ffff88";
            t.Alpha = 90;
            t.Size = 18;
            t.X = 95;
            t.Y = 240;
            t.Width = 300;
            t.Height = 200;
            t.Text = "Fahrenheit                 Celsius";
            txt.Add(t);

            t = new xsc.DrawText();
            t.Transition = xsc.TransitionType.drop;
            t.Duration = 2;
            t.Color = "000000";
            t.Alpha = 40;
            t.Rotation = -90;
            t.Size = 30;
            t.X = 20;
            t.Y = 210;
            t.Width = 300;
            t.Height = 200;
            t.HAlign = xsc.TextHAlign.left;
            t.VAlign = xsc.TextVAlign.top;
            t.Text = "fahrenheit";
            txt.Add(t);

            return txt;
        }
 private DrawText CreateDrawText()
 {
     DrawText dt = new DrawText();
     dt.Transition = TransitionType.none;
     dt.Delay = 0;
     dt.Duration = 1;
     dt.Color = "eeeeff";
     dt.Alpha = 35;
     dt.Size = 26;
     dt.X = 42;
     dt.Y = 16;
     dt.Width = 350;
     dt.Height = 240;
     dt.Text = "Work Shifts";
     return dt;
 }
        private List<xsc.DrawText> SetDrawTexts()
        {
            List<xsc.DrawText> text = new List<xsc.DrawText>();
            xsc.DrawText dt = new xsc.DrawText();
            dt.Color = "ffffee";
            dt.Alpha = 75;
            dt.Font = "Arial";
            dt.Rotation = 0;
            dt.Bold = true;
            dt.Size = 42;
            dt.X = 60;
            dt.Y = 6;
            dt.Width = 300;
            dt.Height = 50;
            dt.HAlign = xsc.TextHAlign.left;
            dt.VAlign = xsc.TextVAlign.bottom;
            dt.Text = "monthly report";
            text.Add(dt);

            dt = new xsc.DrawText();
            dt.Color = "663333";
            dt.Alpha = 75;
            dt.Font = "Arial";
            dt.Rotation = 0;
            dt.Bold = true;
            dt.Size = 14;
            dt.X = 60;
            dt.Y = 50;
            dt.Width = 300;
            dt.Height = 300;
            dt.HAlign = xsc.TextHAlign.right;
            dt.VAlign = xsc.TextVAlign.top;
            dt.Text = "May 2007";
            text.Add(dt);

            return text;
        }
 private DrawText CreateDrawText(string text, string date)
 {
     DrawText dt = new DrawText();
     dt.Transition = TransitionType.slide_right;
     dt.Delay = 0;
     dt.Duration = 0.5;
     dt.Color = "000000";
     dt.Alpha = 70;
     dt.Size = 9;
     dt.Text = text;
     if (date != null) dt.X = DateToPixels(date) + 7;
     switch (text)
     {
         case "production schedule":
             dt.Transition = TransitionType.drop;
             dt.Duration = 2;
             dt.Color = "ffffaa";
             dt.Alpha = 75;
             dt.Size = 36;
             dt.X = 0;
             dt.Y = 65;
             dt.Width = 400;
             dt.Height = 240;
             dt.HAlign = TextHAlign.center;
             break;
         case "Alpha":
             dt.Y = 108;
             break;
         case "Beta":
             dt.Y = 123;
             break;
         case "Shipping date\nSep 1":
             dt.Y = 138;
             break;
     }
     return dt;
 }
        private List<xsc.DrawText> SetDrawTexts()
        {
            List<xsc.DrawText> t = new List<xsc.DrawText>();
            xsc.DrawText dt = new xsc.DrawText();
            dt.Color = "000000";
            dt.Alpha = 10;
            dt.Font = "Arial";
            dt.Rotation = -90;
            dt.Bold = true;
            dt.Size = 75;
            dt.X = -20;
            dt.Y = 300;
            dt.Width = 300;
            dt.Height = 200;
            dt.HAlign = xsc.TextHAlign.left;
            dt.VAlign = xsc.TextVAlign.top;
            dt.Text = "revenue";
            t.Add(dt);

            dt = new xsc.DrawText();
            dt.Color = "000033";
            dt.Alpha = 50;
            dt.Font = "Arial";
            dt.Rotation = -90;
            dt.Bold = true;
            dt.Size = 16;
            dt.X = 7;
            dt.Y = 230;
            dt.Width = 300;
            dt.Height = 50;
            dt.HAlign = xsc.TextHAlign.center;
            dt.VAlign = xsc.TextVAlign.middle;
            dt.Text = "(millions)";
            t.Add(dt);

            return t;
        }
Exemple #16
0
 private DotNetXmlSwfChart.DrawText CreateDrawText()
 {
     DrawText dt = new DrawText();
     dt.Color = "ffffff";
     dt.Alpha = 80;
     dt.Font = "Arial";
     dt.Rotation = 0;
     dt.Bold = true;
     dt.Size = 18;
     dt.X = 62;
     dt.Y = 183;
     dt.Width = 200;
     dt.Height = 150;
     dt.HAlign = TextHAlign.left;
     dt.VAlign = TextVAlign.middle;
     dt.Text = "uniter, not a divider";
     return dt;
 }
Exemple #17
0
 public void AddDrawText(DrawText text)
 {
     if (this.DrawTexts == null) this.DrawTexts = new List<DrawText>();
     this.DrawTexts.Add(text);
 }
        private List<xsc.DrawText> SetDrawTexts()
        {
            List<xsc.DrawText> text = new List<xsc.DrawText>();
            xsc.DrawText dt = new xsc.DrawText();
            dt.Transition = xsc.TransitionType.slide_up;
            dt.Delay = 1;
            dt.Duration = 0.5;
            dt.Color = "000033";
            dt.Alpha = 15;
            dt.Font = "Arial";
            dt.Rotation = -90;
            dt.Bold = true;
            dt.Size = 64;
            dt.X = 0;
            dt.Y = 295;
            dt.Width = 300;
            dt.Height = 50;
            dt.HAlign = xsc.TextHAlign.right;
            dt.VAlign = xsc.TextVAlign.middle;
            dt.Text = "GROWTH";
            text.Add(dt);

            dt = new xsc.DrawText();
            dt.Transition = xsc.TransitionType.slide_up;
            dt.Delay = 1;
            dt.Duration = 0.5;
            dt.Color = "ffffff";
            dt.Alpha = 40;
            dt.Font = "Arial";
            dt.Rotation = -90;
            dt.Bold = true;
            dt.Size = 25;
            dt.X = 30;
            dt.Y = 300;
            dt.Width = 300;
            dt.Height = 50;
            dt.HAlign = xsc.TextHAlign.right;
            dt.VAlign = xsc.TextVAlign.middle;
            dt.Text = "report";
            text.Add(dt);
            return text;
        }
Exemple #19
0
        private List<xsc.DrawText> SetDrawText()
        {
            List<xsc.DrawText> texts = new List<xsc.DrawText>();

            xsc.DrawText dt = new xsc.DrawText();
            dt.Color = "ffffff";
            dt.Alpha = 15;
            dt.Font = "Arial";
            dt.Rotation = -90;
            dt.Bold = true;
            dt.Size = 50;
            dt.X = -10;
            dt.Y = 348;
            dt.Width = 300;
            dt.Height = 150;
            dt.HAlign = xsc.TextHAlign.center;
            dt.VAlign = xsc.TextVAlign.top;
            dt.Text = "hertz";

            texts.Add(dt);

            dt = new xsc.DrawText();
            dt.Color = "000000";
            dt.Alpha = 15;
            dt.Font = "Arial";
            dt.Rotation = 0;
            dt.Bold = true;
            dt.Size = 60;
            dt.X = 0;
            dt.Y = 0;
            dt.Width = 320;
            dt.Height = 300;
            dt.HAlign = xsc.TextHAlign.left;
            dt.VAlign = xsc.TextVAlign.bottom;
            dt.Text = "output";

            texts.Add(dt);

            return texts;
        }