win_magnification.const
Aug 11, 2023
Author: MaxBQb | Microsoft Docs | Header
- WC_MAGNIFIER = 'Magnifier'
Window Class of Magnifier
Warning
Class registered only after
initialize()
call
- MS_SHOWMAGNIFIEDCURSOR = 1
Magnifier Window Style: Displays the magnified system cursor along with the magnified screen content.
- MS_CLIPAROUNDCURSOR = 2
Magnifier Window Style: Clips the area of the magnifier window that surrounds the system cursor. This style enables the user to see screen content that is behind the magnifier window.
- MS_INVERTCOLORS = 4
Magnifier Window Style: Displays the magnified screen content using inverted colors.
- COLOR_NO_EFFECT = (1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0)
Color transformation matrix which does nothing with colors
1.0
0.0
0.0
0.0
0.0
0.0
1.0
0.0
0.0
0.0
0.0
0.0
1.0
0.0
0.0
0.0
0.0
0.0
1.0
0.0
0.0
0.0
0.0
0.0
1.0
- Type
- COLOR_INVERSION_EFFECT = (-1.0, 0.0, 0.0, 0.0, 0.0, 0.0, -1.0, 0.0, 0.0, 0.0, 0.0, 0.0, -1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 1.0, 1.0, 1.0, 0.0, 1.0)
- Color transformation matrix which inverts colorsBlack -> WhiteWhite -> BlackAnd so on…
-1.0
0.0
0.0
0.0
0.0
0.0
-1.0
0.0
0.0
0.0
0.0
0.0
-1.0
0.0
0.0
0.0
0.0
0.0
1.0
0.0
1.0
1.0
1.0
0.0
1.0
- Type
- COLOR_GRAYSCALE_EFFECT = (0.3, 0.3, 0.3, 0.0, 0.0, 0.6, 0.6, 0.6, 0.0, 0.0, 0.1, 0.1, 0.1, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0)
Color transformation matrix which convert colors into shades of gray
0.3
0.3
0.3
0.0
0.0
0.6
0.6
0.6
0.0
0.0
0.1
0.1
0.1
0.0
0.0
0.0
0.0
0.0
1.0
0.0
0.0
0.0
0.0
0.0
1.0
- Type
- COLOR_INVERTED_GRAYSCALE_EFFECT = (-0.3, -0.3, -0.3, 0.0, 0.0, -0.6, -0.6, -0.6, 0.0, 0.0, -0.1, -0.1, -0.1, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 1.0, 1.0, 1.0, 0.0, 1.0)
Color transformation matrix which convert inverted colors into shades of gray
-0.3
-0.3
-0.3
0.0
0.0
-0.6
-0.6
-0.6
0.0
0.0
-0.1
-0.1
-0.1
0.0
0.0
0.0
0.0
0.0
1.0
0.0
1.0
1.0
1.0
0.0
1.0
- Type
- COLOR_SEPIA_EFFECT = (0.393, 0.349, 0.272, 0.0, 0.0, 0.769, 0.686, 0.534, 0.0, 0.0, 0.189, 0.168, 0.131, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0)
Color transformation matrix which convert colors into shades of brown
0.393
0.349
0.272
0.0
0.0
0.769
0.686
0.534
0.0
0.0
0.189
0.168
0.131
0.0
0.0
0.0
0.0
0.0
1.0
0.0
0.0
0.0
0.0
0.0
1.0
- Type
- COLOR_BLIND_DEUTERANOPIA_EFFECT = (0.8, 0.258, 0.0, 0.0, 0.0, 0.2, 0.742, 0.142, 0.0, 0.0, 0.0, 0.0, 0.858, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0)
Color blindness: Deuteranomaly (green-weak)
0.8
0.258
0.0
0.0
0.0
0.2
0.742
0.142
0.0
0.0
0.0
0.0
0.858
0.0
0.0
0.0
0.0
0.0
1.0
0.0
0.0
0.0
0.0
0.0
1.0
- Type
- COLOR_BLIND_PROTANOPIA_EFFECT = (0.817, 0.333, 0.0, 0.0, 0.0, 0.183, 0.667, 0.125, 0.0, 0.0, 0.0, 0.0, 0.875, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0)
Color blindness: Protanomaly (red-weak)
0.817
0.333
0.0
0.0
0.0
0.183
0.667
0.125
0.0
0.0
0.0
0.0
0.875
0.0
0.0
0.0
0.0
0.0
1.0
0.0
0.0
0.0
0.0
0.0
1.0
- Type
- COLOR_BLIND_TRITANOPIA_EFFECT = (0.967, 0.0, 0.0, 0.0, 0.0, 0.033, 0.733, 0.183, 0.0, 0.0, 0.0, 0.267, 0.817, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0)
Color blindness: Tritanomaly (blue-yellow weak)
0.967
0.0
0.0
0.0
0.0
0.033
0.733
0.183
0.0
0.0
0.0
0.267
0.817
0.0
0.0
0.0
0.0
0.0
1.0
0.0
0.0
0.0
0.0
0.0
1.0
- Type
- ZERO_RECT = (0, 0, 0, 0)
Rectangle of zeros
- Type
RectangleRaw
- DEFAULT_COLOR_EFFECT = (1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0)
Default color transformation matrix which does nothing with colors
1.0
0.0
0.0
0.0
0.0
0.0
1.0
0.0
0.0
0.0
0.0
0.0
1.0
0.0
0.0
0.0
0.0
0.0
1.0
0.0
0.0
0.0
0.0
0.0
1.0
- Type
- DEFAULT_TRANSFORM = (1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0)
Default transformation matrix which does nothing with magnification factor
1.0
0.0
0.0
0.0
1.0
0.0
0.0
0.0
1.0
- Type
- DEFAULT_TRANSFORM_EXTRACTION_PATTERN = (0, 4, 2, 5)
Default transformation matrix extraction pattern Allows to extract (scale_x, scale_y, offset_x, offset_y)
- DEFAULT_TRANSFORM_PAIR: Tuple[Tuple[float, float], Tuple[float, float]] = ((1.0, 1.0), (0.0, 0.0))
Default transformation which does nothing with magnification factor tuple of (scale, offset)
- Type
SimpleTransformation
- DEFAULT_FULLSCREEN_TRANSFORM = (1.0, (0, 0))
Default fullscreen transformation which does nothing with magnification factor
- Type
FullscreenTransformRaw
- DEFAULT_INPUT_TRANSFORM = (False, (0, 0, 0, 0), (0, 0, 0, 0))
Default input transformation which does nothing with magnification factor
- Type
InputTransformRaw
- DEFAULT_SOURCE = (0, 0, 0, 0)
Default rectangle of zeros
- Type
RectangleRaw