Computer Science 1033A/B Lecture Notes - Lecture 3: Pixel, 5,6,7,8

37 views3 pages
mikekuo58 and 38820 others unlocked
COMPSCI 1033A/B Full Course Notes
25
COMPSCI 1033A/B Full Course Notes
Verified Note
25 documents

Document Summary

Font size can be measured in different units: points, pixels, percentage(ems), inches/centimeters. Points: these are a unit for printing: 72 points are 1 inch tall, to measure using points, you measure the vertical distance from the bottom of the lowest letter to the tip of the highest letter. Only use points for printing not for webpage. Use pixels if you want the layout to be precise. But if the person is using a different resolution that the one you used, the text will have a different size. Use ems or % if you want the font to be more accessible to the user. The digits are: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, a, b, c, d, e, f. Need 2 digit for red, 2 digits for green, and 2 digits for blue. Hexadecimal is based on the colours red, green and blue.