drawing_ctx: use the new Dpi struct

7 jobs from dpi in 33 minutes and 27 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Test
passed #163246
fedora test

00:07:58

 
  Lint
manual #163248
allowed to fail manual
clippy
passed #163247
rustfmt

00:00:22

passed #163249
tarball

00:11:52

 
  Cross Distro
passed #163252
debian_i386:testing

00:12:09

passed #163251
debian:testing

00:12:40

passed #163250
fedora:rawhide

00:07:58