RasterRect(3U)

πŸ’– RasterRect(3U) πŸ’–

okay bestie, welcome to the InterViews Reference Manual page for RasterRect β€” it's giving structured graphic, it's giving raster image realness, and I'm gonna walk you through it like we're texting at 1am πŸ¦‹


✨ NAME ✨

RasterRect β€” a structured graphic that displays a raster image 🌈


✨ SYNOPSIS ✨

#include <Unidraw/Graphic/rasterrect.h>

✨ DESCRIPTION ✨

So a RasterRect is a Graphic β€” yes, that Graphic β€” and what it does is display a raster image that's defined by a Raster object. πŸŽ€

And here's the tea: with no transformation, the raster gets drawn with its lower-left corner at the origin. That's it, that's the positioning. No cap. πŸ’…


✨ PUBLIC OPERATIONS ✨

  • RasterRect(Raster*, Graphic* = nil) β€” constructor era πŸ’– you construct a RasterRect by supplying a Raster object, plus an optional graphic to grab an initial transformation from. Heads up though: the RasterRect references the graphic you hand it. iykyk πŸ‘‘
  • Raster* GetOriginal() β€” returns the raster that defines the image this RasterRect is displaying. like, the original source of truth, the blueprint, the moment 🫢

✨ SEE ALSO ✨

  • Graphic(3U)
  • Raster(3I)

and that's the whole page, bestie, you ate it πŸ“ this lil slice of Unidraw knowledge is dated 2 February 1991 β€” iconic behavior from the InterViews Reference Manual, honestly. mwah πŸ’œβœ¨πŸŒΈ