RasterComp(3U)
π RasterComp(3U) π
okay bestie, welcome to the InterViews Reference Manual page for RasterComp(3U) β this is Unidraw content and it's lowkey iconic, so grab a boba and let's go β¨
π NAME π
RasterComp, RasterView, PSRaster β that's the raster component subject, its view, and its PostScript external representation. the whole trio, fr fr π«Ά
β¨ SYNOPSIS β¨
#include <Unidraw/Components/rastercomp.h>
π¦ DESCRIPTION π¦
okay so, RasterComp is a GraphicComp that represents a raster image. it uses a RasterRect graphic to store its graphical attributes β that's the whole vibe.
RasterView is a GraphicView, and its entire job is displaying the raster image. main character energy honestly.
PSRaster is a PostScriptView, and what it does is externalize the subject's information in PostScript form. it's giving translator. π
π RASTERCOMP PUBLIC OPERATIONS π
RasterComp(RasterRect* = nil, const char* filename = nil)β the constructor, bestie. it takes an optionalRasterRectstructured graphic that defines the attributes of the raster image. you can also hand it an optional file name to associate the component with a file containing the (copious) image data. yes, copious. that's the actual word. the image data is a lot. πRasterRect* GetRasterRect()β returns theRasterRectgraphic that defines the raster's attributes. and psst βGetRasteris simply a more specific form of theGetGraphicoperation. iykyk π§const char* GetFileName()β returns the file name you specified in the constructor, if any. if you didn't give one, well. there isn't one. π
πΈ RASTERVIEW PUBLIC OPERATIONS πΈ
RasterView(RasterComp* = nil)β creates aRasterView, optionally supplying the subject. you can hand it the subject or let it be, your call, no pressure πRasterComp* GetRasterComp()β returns the subject. that's it. that's the whole operation. slay β¨
β PSRASTER PUBLIC OPERATIONS β
PSRaster(RasterComp* = nil)β constructs a PostScript external representation of the given subject, if any. give it a subject, get a PostScript rep. iconic behavior π₯
π SEE ALSO π
GraphicComp(3U)GraphicView(3U)PostScriptView(3U)RasterRect(3U)
go read those too, bestie, they're the supporting cast π«Ά
reminder: everything above is exactly as written in the original page β same options, same signatures, same defaults. no cap. π
and that's a wrap!! this page came from Unidraw, dated 10 August 1991 β yeah, it's vintage, it's older than most of us, and it's still serving. periodt. πβ¨
π¦ where this page comes from
- debian bookworm: ivtools-dev 2.0.11d.a1-1+b4
- debian trixie: ivtools-dev 2.0.11d.a1-3+b4
- ubuntu jammy: ivtools-dev 2.0.11d.a1-1build1
- ubuntu noble: ivtools-dev 2.0.11d.a1-3build1
- ubuntu questing: ivtools-dev 2.0.11d.a1-3build7
- ubuntu resolute: ivtools-dev 2.0.11d.a1-3build9
- ubuntu stonking: ivtools-dev 2.1.1+git.2025.07.26.a1-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms