raylib/src
Ray bb2841a26d WARNING: Support high DPI displays
This change could break things. So, I created SUPPORT_HIGH_DPI flag to enable it (disabled by default).

Basically, it detects HighDPI display and scales all drawing (and mouse input) appropiately to match the equivalent "standardDPI" screen size on highDPI. It uses screenScaling matrix to do that.

This scaling comes with some undesired effects, like aliasing on default font text (keep in mind that font is pixel-perfect, not intended for any non-rounded scale factor).

The only solution for this aliasing would be some AA postpro filter or implementing the highDPI scaling in a different way: rendering to a texture and scaling it with FILTER_BILINEAR, check `core_window_scale_letterbox.c` example for reference.

Use at your own risk.
2019-05-01 14:30:36 +02:00
..
external UWP Support Overhaul (#819) 2019-04-27 20:33:51 +02:00
camera.h UWP Support Overhaul (#819) 2019-04-27 20:33:51 +02:00
CMakeLists.txt Resolve CI failure with MinGW 2019-04-09 20:41:40 +08:00
CMakeOptions.txt WARNING: Renamed module: audio -> raudio 2019-01-10 16:32:40 +01:00
config.h WARNING: Support high DPI displays 2019-05-01 14:30:36 +02:00
config.h.in WARNING: Renamed module: audio -> raudio 2019-01-10 16:32:40 +01:00
core.c WARNING: Support high DPI displays 2019-05-01 14:30:36 +02:00
easings.h Working on file header comments... 2017-03-19 12:52:58 +01:00
gestures.h Happy new year 2019 2019-04-07 17:49:12 +02:00
Makefile WARNING: Issues on web building 2019-04-23 18:10:38 +02:00
models.c Support custom memory management macros 2019-04-23 14:55:35 +02:00
physac.h Physac.h fix for variable array size declaration. 2018-10-10 21:52:50 +02:00
raudio.c Correct RL_FREE bug 2019-04-23 15:07:28 +02:00
raudio.h Support custom memory management macros 2019-04-23 14:55:35 +02:00
raylib.h Review formatting to follow raylib style 2019-04-28 18:23:21 +02:00
raylib.ico Updated icon data 2018-09-26 16:02:42 +02:00
raylib.rc Start setting things up for raylib 2.5 2019-04-05 13:44:04 +02:00
raymath.h Merge pull request #799 from flashjaysan/master 2019-04-13 15:08:28 +02:00
rglfw.c Happy new year 2019 2019-04-07 17:49:12 +02:00
rlgl.h Some formatting review 2019-04-28 16:45:23 +02:00
rnet.c.review Renamed file to avoid breaking build 2019-04-22 22:47:50 +02:00
rnet.h More rnet review to avoid warnings/errors 2019-04-22 21:50:45 +02:00
shapes.c WARNING: Functions renamed 2019-04-28 14:45:46 +02:00
text.c Fixed selection in DrawTextRecEx() 2019-04-24 22:08:57 +03:00
textures.c Support custom memory management macros 2019-04-23 14:55:35 +02:00
utils.c Some formatting review 2019-04-28 16:45:23 +02:00
utils.h Review UWP implementation 2019-04-27 22:47:03 +02:00