app: add (disabled) support for rendering the image at high resolution
for what Apple calls "Retina". Disabled because the GDK API to figure the scale factor doesn't exist yet.
This commit is contained in:
@ -19,9 +19,17 @@
|
||||
#define __GIMP_DISPLAY_SHELL_RENDER_H__
|
||||
|
||||
|
||||
/* #define GIMP_DISPLAY_RENDER_ENABLE_SCALING 1 */
|
||||
|
||||
#define GIMP_DISPLAY_RENDER_BUF_WIDTH 256
|
||||
#define GIMP_DISPLAY_RENDER_BUF_HEIGHT 256
|
||||
|
||||
#ifdef GIMP_DISPLAY_RENDER_ENABLE_SCALING
|
||||
#define GIMP_DISPLAY_RENDER_MAX_SCALE 2.0
|
||||
#else
|
||||
#define GIMP_DISPLAY_RENDER_MAX_SCALE 1.0
|
||||
#endif
|
||||
|
||||
|
||||
void gimp_display_shell_render (GimpDisplayShell *shell,
|
||||
cairo_t *cr,
|
||||
|
||||
Reference in New Issue
Block a user