Re[2]: Problem printing text with wxWidgets 3.2.2.1
Vadim Zeitlin <[email protected]>
| Newsgroups | gmane.comp.lib.wxwindows.general |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 15 Sep 2023 10:19:11 +0200 Fulvio Senore wrote:
FS> I never used metafiles so don't understand your sentence. Isn't it
FS> possible to store the metafile in memory and print it later, together
FS> with the other commands?
It is, metafile is exactly a sequence of graphics operations stored in
memory. But metafiles are MSW-only and don't support all graphics
operations.
FS> Anyway, I was thinking of this class of a simple way to print simple
FS> documents, mainly text-based. Just think of a report. In this case it
FS> ought to be enough to support text, some simple graphic primitives and
FS> images in a few standard formats.
Unfortunately I don't think you can define the boundaries of "simple".
Even the simplest reports may want to embed a logo, so now you also need to
allow printing bitmaps. And you need lines to draw around tables. And so
on.
FS> This is surely a good idea. We could also add a function to get the wxDC.
I do think we need to keep using wxDC, it's just everything else (i.e.
page setup mostly, I think) that it would be nice to simplify.
Regards,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
https://www.tt-solutions.com/
signature.asc
(application/pgp-signature, 195 B)
-----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQQx+vLQdOwioQqkxtoG6kHeT2wehgUCZQRP0gAKCRAG6kHeT2we hlWMAJ0Zospz07cnHH4/3Fu9OPbMiTzYjACbBvbgWc4bWRCyrgdYMt8G4UPUyKg= =0QHC -----END PGP SIGNATURE-----