🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.interviews
Article #70

RasterComp with TIF files

#70
From: Hammad Amin
Date: Tue, 21 Jul 1992 12:36
22 lines
1049 bytes
I have added a new GraphicCompTool that has a RasterComp
to the application drawing as follows:

Raster* rast = TIFFRaster::load("jello.tif");
    RasterRect* raster = new RasterRect(rast, stdgraphic);

    RasterComp* rasterComp = new RasterComp(raster);
    Include(
        new GraphicCompTool(
            new ControlInfo("rasterComp"), rasterComp
        ), tools, "RasterRect.tool"
    );

When this tool is used the picture jello.tif, which looks
very nice when imported to idraw, is displayed in the viewer
but it is distorted badly.

Any idea about what should be done?

Amin Hammad 
Nagoya Univ., Japan
Technical Details
Message-ID: <9207211236.AA10868@nucc.cc.nagoya-u.ac.jp>
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!NUCC.CC.NAGOYA-U.AC.JP!c42394a

Show Full Headers
Complete Article Headers
Newsgroups: comp.windows.interviews
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!NUCC.CC.NAGOYA-U.AC.JP!c42394a
From: c42394a@NUCC.CC.NAGOYA-U.AC.JP (Hammad Amin)
Subject: RasterComp with TIF files
Message-ID: <9207211236.AA10868@nucc.cc.nagoya-u.ac.jp>
Sender: news@shelby.stanford.edu (USENET News System)
Organization: Internet-USENET Gateway at Stanford University
Date: Tue, 21 Jul 1992 12:36:47 GMT
Lines: 22