summaryrefslogtreecommitdiff
path: root/src/Fl_Printer.cxx
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2019-04-09 18:50:18 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2019-04-09 18:50:18 +0200
commit8286e37b18dcbf788cea188a9f1df5824baf0731 (patch)
tree06d14a259807a71300c8851e639c9bbd0f9dd867 /src/Fl_Printer.cxx
parent0ddf5e74a94132e00e117372d0350f798d537543 (diff)
Add public function Fl_RGB_Image *fl_capture_window_part()
In the context of HighDPI screens, the API of function fl_read_image() is inadequate because a rectangle of size WxH drawing units of a window may contain many more than W*H pixels. Function fl_capture_window_part() returns an Fl_RGB_Image object whose drawing size matches the size of the rectangle and whose data size matches the, possibly larger, size in pixels of the corresponding area of the mapped window.
Diffstat (limited to 'src/Fl_Printer.cxx')
0 files changed, 0 insertions, 0 deletions