7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-02-02 00:37:55 +00:00
kicad/pcbnew/pcb_io/kicad_sexpr
John Beard 636c6c4efb Eeschema/pcbnew: fix pasted image saving
The m_imageData buffer in the BITMAP_BASE is an
internal implementation - the public API to persist the
data to a stream appears to be SaveImageData - so use that,
which hides the implementation (and generates the image data
"live" when needed).

Remove the public access to the m_imageData buffer as it isn't
needed for public use, and also is misleading.

Also break out the formatting of the data into KICAD_FORMAT,
as it's currently replicated in eeschema/pcb/pagelayout
formatting code.

Fixes: https://gitlab.com/kicad/code/kicad/-/issues/19772
2025-01-31 23:01:07 +08:00
..
pcb_io_kicad_sexpr_parser.cpp Fix layer writing/reading for copper zones 2025-01-29 00:31:28 +00:00
pcb_io_kicad_sexpr_parser.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcb_io_kicad_sexpr.cpp Eeschema/pcbnew: fix pasted image saving 2025-01-31 23:01:07 +08:00
pcb_io_kicad_sexpr.h Fix layer writing/reading for copper zones 2025-01-29 00:31:28 +00:00