wxPostScriptDC(3erl)
π NAME π
okay bestie, welcome to the wxPostScriptDC(3erl) page β Erlang module definition and all β¨ This one is about wxPostScriptDC, aka the functions for the wxPostScriptDC class. slay. π
π DESCRIPTION π
So wxPostScriptDC defines the wxWidgets Encapsulated PostScript device context. The whole vibe? It can write PostScript files on any platform. Obsessed. π¦
See wxDC for descriptions of the member functions β that's where the member-function lore lives, iykyk.
π Starting a document
Document should be started with a call to wxDC:startDoc/2 prior to calling any function to execute a drawing operation. This is the rule, bestie β don't skip it. π
However β plot twist β some functions, like wxDC:setFont/2, may be legitimately called even before wxDC:startDoc/2. So not every call is a pre-startDoc crime. π
This class is derived (and can use functions) from: wxDC. Yes, it inherits the whole toolbox, no cap. π₯
Official wxWidgets docs: wxPostScriptDC.
π¦ DATA TYPES π¦
wxPostScriptDC() = wx:wx_object()
β¨ EXPORTS β¨
new()β makes a freshwxPostScriptDC():
new() -> wxPostScriptDC()
new(PrintData)β makes awxPostScriptDC()from awxPrintData:
new(PrintData) -> wxPostScriptDC()
- Types:
PrintData = wxPrintData:wxPrintData() - Constructs a PostScript printer device context from a
wxPrintDataobject. periodt. π
destroy(This :: wxPostScriptDC())β destroys the object:
destroy(This :: wxPostScriptDC()) -> ok
okay that's the whole page, mwah π β big shoutout to the wxWidgets team for the source, the wx 2.2.2.1 version holding it down, and the wxPostScriptDC(3erl) footer/date-slot bestie closing the credits. π«Άβ¨
π¦ where this page comes from
- ubuntu noble: erlang-manpages 1:25.3.2.8+dfsg-1ubuntu4 Β· Apache-2.0
- ubuntu noble: erlang-manpages 1:25.3.2.8+dfsg-1ubuntu4.8 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms