Example #1
0
        // Main to draw the things
        public static void Main()
        {
            // Make sure that the image dimensions are
            // sufficient to hold all the test results.
            // TextureWrapModes (imgName, width, height, top, spacing)

            TextureWrapModes twm = new TextureWrapModes("horse.bmp", 650,
                                                        1850, 0, 50);

            // Draw different wrapmodes
            twm.DrawWrapModes();

            // Save the drawing when done
            twm.SaveDrawing();
        }
Example #2
0
		// Main to draw the things
		public static void Main () 
 		{
 			// Make sure that the image dimensions are 
			// sufficient to hold all the test results.
			// TextureWrapModes (imgName, width, height, top, spacing)

			TextureWrapModes twm = new TextureWrapModes ("horse.bmp", 650,
									1850, 0, 50);
 			
 			// Draw different wrapmodes
			twm.DrawWrapModes ();

 			// Save the drawing when done
 			twm.SaveDrawing ();
		}