Attribute Stack Routines


The attribute stack contains details such as current color, filling, hatching, centered, fixedwidth, text height, text width, and the current font. If you need to prevent object calls from changing these, use pushattributes before the call and popattributes after.


pushattributes()

Save the current attributes on the attribute stack.

    Fortran:
         subroutine pushattributes

    C:
         pushattributes()

    Pascal:
         procedure PushAttributes;

popattributes()

Restore the attributes to what they were at the last pushattributes().

    Fortran:
         subroutine popattributes

    C:
         popattributes()

    Pascal:
         procedure PopAttributes;