⇤ ← Revision 1 as of 2016-09-05 19:34:59
Size: 1453
Comment:
|
Size: 1496
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
= Chapter 5 Notes = | = Chapter 5 Notes (staqrt on Fitting text to available size) = |
Chapter 5 Notes (staqrt on Fitting text to available size)
Title: Dealing with Sizes
Summary
This chapter covers the consequences of different sized pixels and how we treat them.
Oh that screen drivers were built report screen size and to take unchanging units like inches and translate them based on the hardware. This would be a non-issue as we would always specify things in inches. BUT of course we would be discussing the exponential scaling curve that dictates how much you can scale down... (think dpi as a scaling factor). Then the curve might be <<latex($ScaleFactor = B e^{-x}$)>>
Programming Concepts Summary
Concept |
Page |
Consequences of different sized pixels |
87-89 |
Orientation changes are supported by default, but can be turned off. |
95 |
Font Sizes |
97 |
Programs
WhatSizePage
Page 91.
Concepts:
- Demonstrates the different sizes on different screens. Note: THIS PROGRAM DOES NOT USE DUIs! Instead it uses
- Demonstrates the event pattern by responding to size changes.
Classes:
No new classes.
MetricalBoxViewPage
Page 96
Concepts:
Demonstrates the differences in platforms when setting the same value for the DUI unit on different platforms using a BoxView.
No new classes.
FonteSizesPage
Page 97
Concepts:
- Demonstrates the named font sizes compared to point font sizes.
No new classes.