Please make all example code DPI aware

Found an issue in the documentation ? Please report it here !

Moderator: Documentation Editors

User avatar
Saki
Addict
Addict
Posts: 830
Joined: Sun Apr 05, 2020 11:28 am
Location: Pandora

Re: Please make all example code DPI aware

Post by Saki »

Yes, but think of the beginners who read through the manual.
Just have a look at the forum,
DPI aware is not necessary and for someone who starts to hardly understand.
地球上の平和
Little John
Addict
Addict
Posts: 4519
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: Please make all example code DPI aware

Post by Little John »

Good example code is welcome for beginners and advanced programmers alike.
User avatar
Saki
Addict
Addict
Posts: 830
Joined: Sun Apr 05, 2020 11:28 am
Location: Pandora

Re: Please make all example code DPI aware

Post by Saki »

In this respect it is good to discuss it.
Maybe one should create a Toppic thread in the Windows Forum,
similar to the modules, with many examples and explanations.

This would also have the advantage that the codes are immediately executable.
In the manual copying the codes is rather annoying because of the numbering.
地球上の平和
Little John
Addict
Addict
Posts: 4519
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: Please make all example code DPI aware

Post by Little John »

Saki wrote:In this respect it is good to discuss it.
Maybe one should create a Toppic thread in the Windows Forum,
similar to the modules, with many examples and explanations.

This would also have the advantage that the codes are immediately executable.
In the manual copying the codes is rather annoying because of the numbering.
This is a different topic.
Please create a new thread for discussing it. Thank you.
User avatar
Saki
Addict
Addict
Posts: 830
Joined: Sun Apr 05, 2020 11:28 am
Location: Pandora

Re: Please make all example code DPI aware

Post by Saki »

I myself have no further interest in it,
because I have already been busy with it,
but maybe someone will pick it up.

It would certainly be a good and useful thing.

But thanks for the goal-oriented discussion
地球上の平和
User avatar
Andre
PureBasic Team
PureBasic Team
Posts: 2050
Joined: Fri Apr 25, 2003 6:14 pm
Location: Germany (Saxony, Deutscheinsiedel)
Contact:

Re: Please make all example code DPI aware

Post by Andre »

I'm not sure would to do here in the docs.... extending all 2DDrawing examples using DesktopScaledX/Y() would generate better looking graphics on higher DPI resolutions. But it's only needed on Windows... so it's a more general question.... maybe there is needed such a DPI-aware example on a separate page and the 2DDrawing commands link to it (Windows-only)?
Bye,
...André
(PureBasicTeam::Docs & Support - PureArea.net | Order:: PureBasic | PureVisionXP)
Post Reply