Recent content by chubbychub
-
C
Undergrad I need to write a function for DPI screen scaling with parameters
why is the .5 added on either equation? what does this means? its increments of 25% at a time, starting at 100% all the way to 350%- chubbychub
- Post #11
- Forum: General Math
-
C
Undergrad I need to write a function for DPI screen scaling with parameters
what about the limitations of 100 lowest bound and 350 highest bound?- chubbychub
- Post #8
- Forum: General Math
-
C
Undergrad I need to write a function for DPI screen scaling with parameters
no its not homework, i am trying to simplify a small script for macros, to detect screen size at different resolutions, using a function instead so that the script will work all the different monitor size and at different DPI scale for windows 11, if someone can help me write it please- chubbychub
- Post #6
- Forum: General Math
-
C
Undergrad I need to write a function for DPI screen scaling with parameters
but how can i write that into a function? that at every 25% increase, it should add 1 to subtract from?- chubbychub
- Post #3
- Forum: General Math
-
C
Undergrad I need to write a function for DPI screen scaling with parameters
i need to write a function for DPI screen scaling, so the parameters is from 100 (percentage) to 350 (percentage) and increases at 25 (percentage) increase, it will subtract additional 1 DPI so for example: 100% = 96 DPI which is -4 125% =120 DPI which is -5 150% =144 DPI which is -6 175%...- chubbychub
- Thread
- Function Parameters
- Replies: 11
- Forum: General Math