Planar Maps: an Interaction Paradigm for Graphic Design

Planar Maps: an Interaction Paradigm for Graphic Design

CH1'89 PROCEEDINGS MAY 1989 PLANAR MAPS: AN INTERACTION PARADIGM FOR GRAPHIC DESIGN Patrick Baudelaire Michel Gangnet Digital Equipment Corporation Pads Research Laboratory 85, Avenue Victor Hugo 92563 Rueil-Malmaison France In a world of changing taste one thing remains as a foundation for decorative design -- the geometry of space division. Talbot F. Hamlin (1932) ABSTRACT Compared to traditional media, computer illustration soft- Figure 1: Four lines or a rectangular area ? ware offers superior editing power at the cost of reduced free- Unfortunately, with typical drawing software this dual in- dom in the picture construction process. To reduce this dis- terpretation is not possible. The picture contains no manipu- crepancy, we propose an extension to the classical paradigm lable objects other than the four original lines. It is impossi- of 2D layered drawing, the map paradigm, that is conducive ble for the software to color the rectangle since no such rect- to a more natural drawing technique. We present the key angle exists. This impossibility is even more striking when concepts on which the new paradigm is based: a) graphical the four lines are abutting as in Fig. 2. We feel that such a objects, called planar maps, that describe shapes with multi- restriction, counter to the traditional practice of the designer, ple colors and contours; b) a drawing technique, called map is a hindrance to productivity and creativity. In this paper sketching, that allows the iterative construction of arbitrarily we propose a new drawing paradigm that will permit a dual complex objects. We also discuss user interface design is- interpretation of Fig. 1 and Fig. 2. sues in map based illustration software. KEY WORDS Illustration Software, Drawing Paradigm, Planar Map, Map Sketching, User Interface Design. INTRODUCTION Figure 2: A rectangle or four lines ? Consider drawing on a computer screen, using a typical in- teractive graphics program, two orthogonal pairs of parallel The solution we present here is an extension to the classi- lines as shown in Fig. 1. This is a trivial task on any geomet- cal drawing paradigm that is the foundation of current graph- rical drawing software. However, this apparent ease actually ics software. Our solution allows the designer to create hides an intriguing difficulty. To the eye of the designer, this and manipulate 2D graphical objects of arbitrary complexity, picture can be viewed in many different ways, two possibil- which we callplanar maps. We also propose a new drawing ities being as a set of four lines or as a rectangular area. If it method, called map sketching, that seems more natural and is viewed as a rectangular area, then a natural option would more efficient for constructing certain classes of drawings. be to fill the rectangle with color. With traditional graphic We begin by describing the classical paradigm. Then we arts media (pencil, ink, paint, etc.), the designer would have present the map concepts and we discuss several issues that complete freedom to do so. come up when designing a user interface that accomodates both the classical and the planar map drawing paradigms. Permission to copy without fee all or part of thls material is All figures were produced with map sketching software. The granted provided that the copies are not made or distrib- uted for direct commercial advantage, the ACM copyright most general graphics primitive in the current implementa- notice and the title of the publication and Its date appear, tion is a path made of B6zier arcs [10]. and notice Is given that copying is by permission of the As- sociation for Computing Machinery. To copy otherwise, or to republish, requires a fee and/or specific permission. Digital Equipment Corporation is pursuing patent protection on part of the technology described in this paper. © 1989 ACM 0-89791-301-9/89/0004-0313 1.50 313 CH1'89 PROCEEDINGS MAY 1989 THE CLASSICAL DRAWING PARADIGM Bounding box handles are used for resizing and reshaping To set the stage, let us first summarize the objects and edit- templates. Polyarcs are modified by editing control points. ing functions that characterize the classicalparadigm for 2D drawing. We are excluding from our analysis bitmap or pixel A number of known research and commercial applications painting software. Instead, we are interested in the interac- that have been developed for electronic publishing follow tive construction of drawings that are represented as geomet- this drawing paradigm, including: Draw [6], Griffin [16], ric objects and that can be viewed and printed in a resolution MacDraw [3], Illustrator [1], Freehand [2]. independent way. EXTENDING THE CLASSICAL PARADIGM Objects are typically open or closed paths, made of line seg- Although it is feasible to create intricate pictures with cur- ments or curves, with rendering attributes such as color, tex- rent CAD or illustration software it is not always easy. A ture, width, etc. A closed path (also called a contour) may good measure of a program's effectiveness is not the maxi- be filled with a single color, texture, pattern, paint, bitmap, mum image complexity that it can produce but the simplicity etc. A path may be self-intersecting. These objects share a of the drawing process it induces. In this respect, the classi- unifying feature: they are drawn in one single stroke, without cal paradigm has dear limitations: certain kinds of illustra- lifting the pen. Note that in the PostScript language, paths can tions are difficult to construct even though they are graphi- include "move to" statements, which means that PostScript cally simple. Too often, to achieve a desired graphical result objects may have holes or comprise distinct pieces. How- the designer must resort to an indirect drawing strategy. Let ever, to our know.ledge, no interactive 2D drawing software us consider two typical examples. takes advantage of this possibility. The "jigsaw puzzle" problem is a common one: in Fig. 3 a shape is to be divided by some arbitrary path. Typically, Drawing tools provide two ways to create a path: the designer must carefully construct two pieces whose edges match perfectly. Even with a good replication function, this • From a template that produces a stretchable predefined process is more work than it needs to be. path such as a rectangle, circle, oval, etc. • As an ordered list of points: for instance a polyline, polygon, or polyspline, defined by its end points, ver- tices, spline knots, B6zier control points, etc. In this paper, we will cover all these cases by generic terms: polyarc and control points. The classifications of a path as either open or closed, and as Figure 3: Building a divided shape. either a template or polyarc, are independent of each other. Another case is when a given shape cannot be produced with Layering serves two distinct purposes: available drawing tools (often limited to rectangles, ovals, and polylines). To produce a non standard shape, the de- Rendering : The image is produced by overlaying ob- signer must resort to collage and masking, hiding parts of jects from back to front, a process that harmonizes com- objects with other overlapping objects (often in the color of puter graphics technology (e.g., algorithms for paint- the background) to create an illusion that looks like the de- ing bitmaps, the concept of a display list, the PostScript sired result (Fig. 4--masking shapes are outlined). imaging model ) with traditional graphic arts techniques such as cut and paste or animation cells. Logical ordering: Semantic attributes or names are as- sociated with sets of layers, allowing either partial dis- play or selective user action. This feature is typically found in CAD applications. Here we only consider rendering layers, a concept usually de- scribed as 2 1/2D imaging. In the classical paradigm, there L is one and only one object per layer. Global editing functions are used to rearrange and layout the picture: erase, move, copy, transform, group, etc. They Figure 4: Collage and masking. apply in an identical manner to both template and polyarc ob- Computer drawing certainly provides superior editing power jects. for modifying objects after they have been drawn. But com- pared to a pencil and eraser, today's computer techniques are Shape editing functions are specific to each type of path. still too restrictive. 314 CH1'89 PROCEEDINGS MAY 1989 Figure 5: Map sketching. Several avenues of research towards more effective draw- At this stage, let us present some more terminology bor- ing systems have been explored. In Juno, Nelson offers a rowed from graph theory. End points and corner points of the constraint language to express spatial relationships between strokes, along with points at which they intersect, are called objects [14]. Pier, Bier, and Stone, propose in Gargoyle so- the vertices of the map. A portion of a stroke delimited by phisticated construction tools reminiscent of the ruler and two adjacent vertices is called an edge. A region of the plane compass [8], [15]. In Tweedle, double view editing gives that is bounded by a set of connected edges is called a face. a choice of direct manipulation or procedural description of To modify a map, two more operations are used: erasing pictures [4]. an edge and coloring a face (Fig. 5 bottom). These are simply In the two examples of Fig. 3 and 4, the common miss- variants of the erasing and coloring operations of the classi- ing feature is the ability to build shapes from other shapes. cal paradigm. Drawing, erasing, and coloring can be iterated It would be nice to regain this freedom, without losing the in any order to build a map. Graphical objects of arbitrary known advantages of computer drawing. In the work pre- complexity can be constructed in this way.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    6 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us