(C) 1998 AROS - The Amiga Research OS
// Draw a house with one stroke // The drawing starts at the lower left edge WORD XY[] = { 10, -10, 10, 0, 0, -10, 10, -10, 5, -15, 0, -10, 0, 0, 10, 0, }; struct Border demo = { 100, 100, // Position 1, 2, // Pens JAM1, // Drawmode 8, // Number of pairs in XY XY, // Vector offsets NULL // No next border }; // Render the house with the bottom left edge at 150, 50 DrawBorder (rp, &demo, 50, -50);