// // Vivio standard.vin // // Copyright (C) 1996-2003 jones@cs.tcd.ie // // // standard colours // const int black = rgb( 0, 0, 0); const int white = rgb(255, 255, 255); const int red = rgb(255, 0, 0); const int green = rgb( 0, 255, 0); const int blue = rgb( 0, 0, 255); const int yellow = rgb(255, 255, 0); const int magenta = rgb(255, 0, 255); const int cyan = rgb( 0, 255, 255); const int gray32 = rgb( 32, 32, 32); const int gray64 = rgb( 64, 64, 64); const int gray96 = rgb( 96, 96, 96); const int gray128 = rgb(128, 128, 128); const int gray160 = rgb(160, 160, 160); const int gray192 = rgb(192, 192, 192); const int gray224 = rgb(224, 224, 224); const int vellum = rgb(255, 255, 192); // // standard pens // Pen blackpen = SolidPen(0, 0, black); Pen whitepen = SolidPen(0, 0, white); Pen redpen = SolidPen(0, 0, red); Pen greenpen = SolidPen(0, 0, green); Pen bluepen = SolidPen(0, 0, blue); Pen yellowpen = SolidPen(0, 0, yellow); Pen magentapen = SolidPen(0, 0, magenta); Pen cyanpen = SolidPen(0, 0, cyan); // // standard brushes // Brush blackbrush = SolidBrush(black); Brush whitebrush = SolidBrush(white); Brush redbrush = SolidBrush(red); Brush greenbrush = SolidBrush(green); Brush bluebrush = SolidBrush(blue); Brush yellowbrush = SolidBrush(yellow); Brush magentabrush = SolidBrush(magenta); Brush cyanbrush = SolidBrush(cyan); Brush gray32brush = SolidBrush(gray32); Brush gray64brush = SolidBrush(gray64); Brush gray96brush = SolidBrush(gray96); Brush gray128brush = SolidBrush(gray128); Brush gray160brush = SolidBrush(gray160); Brush gray192brush = SolidBrush(gray192); Brush gray224brush = SolidBrush(gray224);