예제 #1
0
        public void Should_be_two_colors_on_picture()
        {
            Slide slide = new Slide();

            slide.Text = GetColorText("My", Color.Red) + " " + GetColorText("test", Color.Blue);
            slide.PathToBackgroundPicture = "background.jpg";
            SlideSaver.SaveSlideAsJpeg(slide, "1.jpg");
        }
예제 #2
0
        public void Should_be_red_text_on_picture()
        {
            Slide slide = new Slide();

            slide.Text = GetColorText("test", Color.Red);
            slide.PathToBackgroundPicture = "background.jpg";
            SlideSaver.SaveSlideAsJpeg(slide, "0.jpg");
        }