~pac72/ubuntu/lucid/ddd/devel

« back to all changes in this revision

Viewing changes to ddd/printBox.C

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Schepler
  • Date: 2004-07-22 03:49:37 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20040722034937-cysl08t1jvba4jrx
Tags: 1:3.3.9-3
USERINFO has been renamed to USERINFO.txt; adjust debian/rules code
to match, to get correct information on the About DDD dialog.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// $Id: printBox.C,v 1.13 1999/08/19 11:28:48 andreas Exp $  -*- C++ -*-
 
1
// $Id$  -*- C++ -*-
2
2
// utilities for printing boxes
3
3
 
4
4
// Copyright (C) 1995 Technische Universitaet Braunschweig, Germany.
27
27
// or send a mail to the DDD developers <ddd@gnu.org>.
28
28
 
29
29
char printBox_rcsid[] = 
30
 
    "$Id: printBox.C,v 1.13 1999/08/19 11:28:48 andreas Exp $";
 
30
    "$Id$";
31
31
 
32
32
 
33
33
#include "Box.h"
58
58
// origin of the graph is upper left!
59
59
//
60
60
 
61
 
void Box::epsHeader (ostream& os, 
 
61
void Box::epsHeader (std::ostream& os, 
62
62
                     const BoxRegion& region, 
63
63
                     const PostScriptPrintGC& gc)
64
64
{
136
136
 
137
137
// public interface
138
138
 
139
 
void Box::_printHeader(ostream& os, 
 
139
void Box::_printHeader(std::ostream& os, 
140
140
                       const BoxRegion& region, 
141
141
                       const PrintGC& gc)
142
142
{
143
143
    if (gc.isPostScript())
144
144
    {
145
 
        epsHeader(os, region, (PostScriptPrintGC &)gc);
 
145
        epsHeader(os, region, (const PostScriptPrintGC &)gc);
146
146
        os << prolog;
147
147
    }
148
148
    else if (gc.isFig())
151
151
    }
152
152
}
153
153
 
154
 
void Box::_printTrailer(ostream& os, const BoxRegion&, const PrintGC& gc)
 
154
void Box::_printTrailer(std::ostream& os, const BoxRegion&, const PrintGC& gc)
155
155
{
156
156
    if (gc.isPostScript())
157
157
    {