path = "C:\\Internet\\Memecode\\images\\"; TitleY = 80; BlurR = 2.5; BlurDouble = BlurR * 2; p = "Path"; b = "Path2"; function DoText(Str, File) { t = "Text"; NewPath(t); Font("verdana", 38, ""); Ascent = FontAscent(); Text(t, BlurDouble, Ascent + BlurR, Str); Tx = PathWidth(t); Ty = PathHeight(t); Create(Tx + BlurDouble, Ty + BlurDouble, 32); Rgba(0x80, 0x80, 0x80, 0x80); FillPath(t); Blur(BlurR); LinearGradient(0, 0, 0, Ascent); AddStop(0, 0x30, 0x34, 0x60, 0xff); AddStop(1, 0x70, 0x74, 0xc0, 0xff); FillPath(t); Save(path + File, "transparent=0"); } Create(16, TitleY, 32); LinearGradient(0, 0, 0, TitleY); AddStop(0, 0xf8, 0xf8, 0xff, 0xff); AddStop(0.6, 0xf8, 0xf8, 0xff, 0xff); AddStop(0.8, 0xec, 0xec, 0xf5, 0xff); AddStop(1, 0xe0, 0xe0, 0xf0, 0xff); NewPath(p); Rect(p, 0, 0, 16, TitleY); FillPath(p); Save(path + "title-grad.png", "transparent=0"); DoText("MemeCode", "title-index.png"); DoText("Blog", "title-blog.png"); DoText("Forums", "title-forums.png"); DoText("Account", "title-account.png"); DoText("FAQ", "title-faq.png"); DoText("Links", "title-links.png"); Create(16, 32, 32); LinearGradient(0, 0, 0, 32); AddStop(0.4, 0xff, 0xff, 0xff, 0xff); AddStop(0.7, 0xf0, 0xf0, 0xff, 0xff); AddStop(1, 0xe0, 0xe0, 0xff, 0xff); NewPath(p); Rect(p, 0, 0, 16, 32); FillPath(p); Save(path + "h2-grad.png", "transparent=0"); Create(96, 20, 32); Rgb(0xa0, 0xa0, 0xc0); NewPath(b); RoundRect(b, 0, 0, 96, 20, 10); FillPath(b); NewPath(b); RoundRect(b, 1, 1, 95, 19, 9); LinearGradient(0, 0, 0, 18); AddStop(0, 0xff, 0xff, 0xff, 0xff); AddStop(1, 0xc0, 0xc0, 0xe0, 0xff); FillPath(b); Save(path + "btn.png", "transparent=0");