StencilComp, StencilView, PSStencil - bitmap component subject, view, and PostScript external
Contents
Description
StencilComp is a GraphicComp that represents a bitmapped image. It uses a Stencil graphic to store its
graphical attributes. StencilView is a GraphicView for displaying the bitmapped image. PSStencil is a
PostScriptView that externalizes the subject's information in PostScript form.
Name
StencilComp, StencilView, PSStencil - bitmap component subject, view, and PostScript external
representation
Psstencil Public Operations
PSStencil(StencilComp*=nil)
Construct a PostScript external representation of the given subject, if any.
See Also
GraphicComp(3U), GraphicView(3U), PostScriptView(3U), Stencil(3U) Unidraw 10 August 1991 StencilComp(3U)
Stencilcomp Public Operations
StencilComp(Stencil*=nil,constchar*filename=nil)
The constructor takes an optional Stencil structured graphic that defines the attributes of the
bitmapped image. You can also supply an optional file name to associate the component with a file
containing the (copious) image data.
Stencil*GetStencil()
Return the Stencil graphic that defines the stencil's attributes. GetStencil is simply a more
specific form of the GetGraphic operation.
constchar*GetFileName()
Return the file name specified in the constructor, if any.
Stencilview Public Operations
StencilView(StencilComp*=nil)
Create an StencilView, optionally supplying the subject.
StencilComp*GetStencilComp()
Return the subject.
Synopsis
#include<Unidraw/Components/stencilcomp.h>
