logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

RasterComp, RasterView, PSRaster - raster component subject, view, and PostScript external representation

Description

       RasterComp  is  a  GraphicComp that represents a raster image.  It uses a RasterRect graphic to store its
       graphical attributes.  RasterView is a GraphicView for  displaying  the  raster  image.   PSRaster  is  a
       PostScriptView that externalizes the subject's information in PostScript form.

Name

       RasterComp, RasterView, PSRaster - raster component subject, view, and PostScript external representation

Psraster Public Operations

PSRaster(RasterComp*=nil)
              Construct a PostScript external representation of the given subject, if any.

Rastercomp Public Operations

RasterComp(RasterRect*=nil,constchar*filename=nil)
              The constructor takes an optional RasterRect structured graphic that defines the attributes of the
              raster  image.   You  can also supply an optional file name to associate the component with a file
              containing the (copious) image data.

       RasterRect*GetRasterRect()
              Return the RasterRect graphic that defines the raster's attributes.  GetRaster is  simply  a  more
              specific form of the GetGraphic operation.

       constchar*GetFileName()
              Return the file name specified in the constructor, if any.

Rasterview Public Operations

RasterView(RasterComp*=nil)
              Create an RasterView, optionally supplying the subject.

       RasterComp*GetRasterComp()
              Return the subject.

See Also

GraphicComp(3U), GraphicView(3U), PostScriptView(3U), RasterRect(3U)

Unidraw                                          10 August 1991                                   RasterComp(3U)

Synopsis

#include<Unidraw/Components/rastercomp.h>

See Also