Vadim Zeitlin
c1d91d5566
Document functions not using logical pixels in high DPI overview
...
Any other exceptions to the general rule saying that wx API works with
logical pixels should be added to the list here.
2022-01-22 22:44:00 +00:00
Vadim Zeitlin
ab94485efa
Really fix example of creating wxBitmapBundle in hight DPI docs
...
Co-Authored-By: PB <PBfordev@gmail.com >
2022-01-19 16:45:41 +01:00
Vadim Zeitlin
4a43ea8827
Fix wrong example and wording in high DPI docs
...
Co-Authored-By: PB <PBfordev@gmail.com >
2022-01-18 19:08:50 +01:00
Vadim Zeitlin
ead3e95bf4
Add a note about rounding the logical pixels up when converting
...
This might be unexpected, so explicitly warn about possibly not getting
back exactly the same value after a round-trip.
2022-01-17 17:43:51 +01:00
Vadim Zeitlin
74e1404a5a
Document using wxWindow::{From,To}Phys() for LP<->PP conversions
...
This is simpler and more clear than dividing or multiplying by
GetContentScaleFactor().
2022-01-17 17:43:51 +01:00
Vadim Zeitlin
b4f0ddd81e
Add wxBitmapBundle section to high DPI overview
...
Explain how it can be created and used.
2022-01-17 17:43:51 +01:00
Vadim Zeitlin
c1532c8d3c
Fix table of contents generation for high DPI overview
...
Add the required anchors, just the headers are not taken into account
for TOC generation.
2022-01-17 17:42:32 +01:00
Vadim Zeitlin
caec339bc1
Improve documentation of various pixel types
...
Also add a diagram showing the functions to use to convert between them,
perhaps this can be more clear than textual description.
Co-Authored-By: Stefan Csomor <csomor@advancedconcepts.ch >
2022-01-17 17:42:01 +01:00
Vadim Zeitlin
42bdf924b1
Fix code snippets markup in Doxygen overviews
...
Markdown ``` doesn't work here, Doxygen-specific ~~~ needs to be used.
2022-01-13 00:52:40 +01:00
PB
e050c2a1b7
Fix link in High DPI Overview
...
Make MSW-specific link to point to Win32 documentation
instead of MacOS one.
Closes https://github.com/wxWidgets/wxWidgets/pull/2384
2021-05-31 16:35:07 +02:00
Vadim Zeitlin
4a7dc31153
Improve wxUSE_DPI_AWARE_MANIFEST description in high DPI overview
...
Make it more clear that wx/msw/wx.rc must be included for this option to
be taken into account.
2021-05-13 18:53:42 +02:00
Stefan Csomor
9aa5eb9c53
Add beginning of the artwork paragraph
...
This will be fleshed out later.
2020-09-29 03:46:23 +02:00
Vadim Zeitlin
ba547496f9
Minor edit to the high DPI overview
...
Provide some link between the end of the introduction and the main part
of the text.
2020-09-28 01:57:41 +02:00
Stefan Csomor
6a1e3fa232
Improve the introduction to the high DPI overview
...
Add images to show the difference between scaled text and text rendered
at the full resolution.
2020-09-28 01:57:37 +02:00
Vadim Zeitlin
44c2671e7b
Add initial draft of high DPI overview
...
Add a topic covering high DPI support.
2020-09-21 02:15:08 +02:00