StencilComp(3U)
π StencilComp(3U) π
okay bestie, welcome to the InterViews Reference Manual β yes that's the manual we're in, and yes this page is a whole vibe. sit down, hydrate, let's talk about bitmaps π¦
β¨ NAME β¨
StencilComp, StencilView, PSStencil β three icons in one page, no cap. They're a bitmap component subject, its view, and its PostScript external representation. The holy trinity of "draw a picture and then print it" π
β¨ SYNOPSIS β¨
#include <Unidraw/Components/stencilcomp.h>
that's it. that's the whole incantation. go off π
β¨ DESCRIPTION β¨
So StencilComp is a GraphicComp that represents a bitmapped image. It uses a Stencil graphic to store its graphical attributes β like, the Stencil is the personality, the comp is the person, yk? πΈ
StencilView is a GraphicView, and its whole job is displaying that bitmapped image. main character energy for real.
PSStencil is a PostScriptView that externalizes the subject's information in PostScript form. it's giving "translator for the printer" β¨
β¨ STENCILCOMP PUBLIC OPERATIONS β¨
StencilComp(Stencil* = nil, const char* filename = nil)β the constructor, bestie. it takes an optionalStencilstructured graphic that defines the attributes of the bitmapped image. you can also hand it an optional file name to associate the component with a file containing the (copious) image data. and yes, the word "copious" is doing a lot of work there β that image data is THICC πStencil* GetStencil()β returns theStencilgraphic that defines the stencil's attributes. lowkey it's just a more specific form of theGetGraphicoperation. same energy, more precision πconst char* GetFileName()β returns the file name you specified in the constructor, if any. if you didn't pass one, well... it just says nothing. iconic of it honestly π
β¨ STENCILVIEW PUBLIC OPERATIONS β¨
StencilView(StencilComp* = nil)β creates aStencilView, and you can optionally supply the subject while you're at it. builder behavior fr fr πStencilComp* GetStencilComp()β returns the subject. that's it. short, sweet, slay π
β¨ PSSTENCIL PUBLIC OPERATIONS β¨
PSStencil(StencilComp* = nil)β constructs a PostScript external representation of the given subject, if any. if there's no subject... there's no subject. no notes π«Ά
β¨ SEE ALSO β¨
GraphicComp(3U)GraphicView(3U)PostScriptView(3U)Stencil(3U)
go read those too, bestie, they're the friend group π
π reminder that this whole thing lives in Unidraw/Components/stencilcomp.h β don't go looking in the wrong header, i'm begging π
this page was brought to you by Unidraw, dated 10 August 1991 β yeah she's vintage, she's an antique, and she still ate πβ¨
π¦ 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