Pixel Scale Web Widget

Version 1.2   22 November 2019

Summary

Pixel Scale is a screen ruler.

Description

Pixel Scale is a screen ruler with major scale divisions at 40, 96 or 100 pixels.

It can also be set so that the major scale divisions are at one centimeter or one inch intervals.

Double-click the ruler to cycle around the 40, 96 and 100 pixel modes, or around the one centimeter and the various one inch modes.

To move the ruler over the window, double-click near to the (black circle ) button, then drag near to the button to move the ruler to the desired location, then double-click again.

The ruler can be rotated to any angle - click-down near the button and drag left or right to rotate the ruler.

The ruler can be rotated to the 0, 90, 180 and 270 degree positions by clicking near to the button with the shift key pressed.

The length of the ruler can be changed - click-down near the button with the alt key pressed and drag left or right to alter the length of the ruler.

In the one centimeter and one inch modes, the scaling can be adjusted by up to plus or minus one percent - click-down near to the button with the shift+alt keys pressed and drag left or right to alter the scaling/calibration of the ruler.

This version also has four architect's scales, based on the inch scales:

one-quarter-inch-to-the-foot (1:48)

three-sixteenths-inch-to-the-foot (1:64)

one-eighth-inch-to-the-foot (1:96)

three-thirty-seconds-inch-to-the-foot (1:128)

To achieve correct scaling of the centimeter and inch scales, the user must enter correct values for the Screen Width and Screen Height. These can be acquired by measuring the screen with a tape measure. The Widget cannot obtain this information from the browser.

The calibration allows for an adjustment of up to plus or minus one percent. If that is not enough to achieve exact calibration of the centimeter and inch scales, the user should change the Screen Width and Screen Height fields a little until correct calibration is achieved.

License

The Pixel Scale Web Widget is Copyright © 2011-2019 Harry Whitfield (G6AUC).

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Widget Concept, Coding and Documentation

Harry Whitfield (G6AUC)