EMF::EMRSETBKMODE(3)
π EMF::EMRSETBKMODE β the libemf girlie's guide π
okay so bestie, welcome to EMF::EMRSETBKMODE(3) β that's section 3 of the libemf manual, we're in library-call territory, and this one is genuinely such a cute little record. it's giving "background mode setter" energy and i'm obsessed. let's get into it π
β¨ NAME β¨
EMF::EMRSETBKMODE β EMF Set Background Mode. that's it, that's the whole vibe. periodt. π
πΈ SYNOPSIS πΈ
#include <libemf.h>
Inherits EMF::METARECORD, and EMRSELECTCLIPPATH. so it's got that family tree going on, we love a class with lineage π
β¨ Public Member Functions β¨
EMRSETBKMODE (DWORD mode)β constructor, takes the mode.EMRSETBKMODE (DATASTREAM &ds)β constructor, builds it from a datastream.bool serialize (DATASTREAM ds)β serialize it, obvs.int size (void) constβ how big is this record, internally computed.void execute (METAFILEDEVICECONTEXT *source, HDC dc) constβ run it inside a device context.
π Public Member Functions inherited from EMF::METARECORD π
virtual ~METARECORD ()β the destructor, inherited, doing its lil cleanup thing.
π Detailed Description π
EMF Set Background Mode.
so what does it actually do? it sets the background mode: transparent or opaque. those are your two options, no in-between, no third secret option, we respect the binary π
Seems to be ignored by StarOffice. (Appears to work for text, though.)
not me reading that and going π β StarOffice just does not care, apparently. but for text? text it works. so slay for text i guess β¨
π§ Constructor & Destructor Documentation π§
EMF::EMRSETBKMODE::EMRSETBKMODE (DWORD mode) [inline]
Parameters:
modeβ background mode.
that's the one. you hand it a mode, it becomes a record. simple, iconic, no notes π«Ά
EMF::EMRSETBKMODE::EMRSETBKMODE (DATASTREAM & ds) [inline]
Construct a SetBkMode record from the input datastream.
Parameters:
dsβ Metafile datastream.
so if you've already got a stream of metafile bytes just lying around, this constructor is your girl. feed it the ds and it reconstructs the whole record. main character energy fr fr π
π₯ Member Function Documentation π₯
void EMF::EMRSETBKMODE::execute (METAFILEDEVICECONTEXT * source, HDC dc) const [inline], [virtual]
Execute this record in the context of the given device context.
Parameters:
sourceβ the device context from which this record is taken.dcβ device context for execute.
Implements EMF::METARECORD.
ngl this is the one that actually does the thing β it takes your record and runs it inside the device context. two args, both device contexts, don't mix them up bestie π
bool EMF::EMRSETBKMODE::serialize (DATASTREAM ds) [inline], [virtual]
Parameters:
dsβ Metafile datastream.
Implements EMF::METARECORD.
returns a bool, so you'll know if it worked. lowkey love a function that just tells you the truth π
int EMF::EMRSETBKMODE::size (void) const [inline], [virtual]
Internally computed size of this record.
Implements EMF::METARECORD.
you don't compute it, it computes it. internally. you just ask and receive. so generous of it honestly πΈ
β Author β
Generated automatically by Doxygen for libemf from the source code. so like, not a human, a robot did this, and honestly? the robot ate. π€β¨
and that's the page bestie!! π no cap, that's every flag, every parameter, every inherited member, every Implements line β all of it, preserved, untouched, exactly as the source gods intended. i would never gatekeep a detail from you π«Ά
π cute lil sign-off: this is version1.0.9, datedThu Jun 6 2024 23:01:07, and it lives in thelibemfmanual. screenshot it, memorize it, live it. bye bestie!! π¦π
π¦ where this page comes from
- debian trixie: libemf-doc 1.0.13-8 Β· GPL-2.0-only
- ubuntu questing: libemf-doc 1.0.13-8
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms