Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
public function vkf_viewer_set_pixel_ratio(viewer, ratio) bind(C, name="vkf_viewer_set_pixel_ratio")
Arguments
Type
Intent
Optional
Attributes
Name
type(c_ptr),
value
::
viewer
viewer handle (vkf_viewer_create)
real(kind=c_double),
value
::
ratio
framebuffer pixels per window unit (> 0)
Return Value integer(kind=c_int)
Description
A host's window now has ratio framebuffer pixels per window unit.
(Qt's devicePixelRatio changed: moved to a screen of another scale, or the display's scaling
changed.) Sizes in window units (line widths, markers, labels) are scaled by it; the host also
resizes (vkf_viewer_resize) to the new framebuffer size. Returns 0, or -1 on failure.