magnification topic
Magnification API
The Magnification API enables applications to magnify the entire screen or portions of the screen, and to apply color effects.
Functions
-
MagGetColorEffect(
int hwnd, Pointer< magnificationMAGCOLOREFFECT> pEffect) → int - Gets the color transformation matrix for a magnifier control.
-
MagGetFullscreenColorEffect(
Pointer< magnificationMAGCOLOREFFECT> pEffect) → int - Retrieves the color transformation matrix associated with the full-screen magnifier.
-
MagGetFullscreenTransform(
Pointer< magnificationFloat> pMagLevel, Pointer<Int32> pxOffset, Pointer<Int32> pyOffset) → int - Retrieves the magnification settings for the full-screen magnifier.
-
MagGetImageScalingCallback(
int hwnd) → Pointer< magnificationNativeFunction< MagImageScalingCallback> > - Retrieves the registered callback function that implements a custom transform for image scaling.
-
MagGetInputTransform(
Pointer< magnificationInt32> pfEnabled, Pointer<RECT> pRectSource, Pointer<RECT> pRectDest) → int - Retrieves the current input transformation for pen and touch input, represented as a source rectangle and a destination rectangle.
-
MagGetWindowFilterList(
int hwnd, Pointer< magnificationUint32> pdwFilterMode, int count, Pointer<IntPtr> pHWND) → int - Retrieves the list of windows that are magnified or excluded from magnification.
-
MagGetWindowSource(
int hwnd, Pointer< magnificationRECT> pRect) → int - Gets the rectangle of the area that is being magnified.
-
MagGetWindowTransform(
int hwnd, Pointer< magnificationMAGTRANSFORM> pTransform) → int - Retrieves the transformation matrix associated with a magnifier control.
-
MagInitialize(
) → int magnification - Creates and initializes the magnifier run-time objects.
-
MagSetColorEffect(
int hwnd, Pointer< magnificationMAGCOLOREFFECT> pEffect) → int - Sets the color transformation matrix for a magnifier control.
-
MagSetFullscreenColorEffect(
Pointer< magnificationMAGCOLOREFFECT> pEffect) → int - Changes the color transformation matrix associated with the full-screen magnifier.
-
MagSetFullscreenTransform(
double magLevel, int xOffset, int yOffset) → int magnification - Changes the magnification settings for the full-screen magnifier.
-
MagSetImageScalingCallback(
int hwnd, Pointer< magnificationNativeFunction< callback) → intMagImageScalingCallback> > - Sets the callback function for external image filtering and scaling.
-
MagSetInputTransform(
int fEnabled, Pointer< magnificationRECT> pRectSource, Pointer<RECT> pRectDest) → int - Sets the current active input transformation for pen and touch input, represented as a source rectangle and a destination rectangle.
-
MagSetWindowFilterList(
int hwnd, int dwFilterMode, int count, Pointer< magnificationIntPtr> pHWND) → int - Sets the list of windows to be magnified or the list of windows to be excluded from magnification.
-
MagSetWindowSource(
int hwnd, RECT rect) → int magnification - Sets the source rectangle for the magnification window.
-
MagSetWindowTransform(
int hwnd, Pointer< magnificationMAGTRANSFORM> pTransform) → int - Sets the transformation matrix for a magnifier control.
-
MagShowSystemCursor(
int fShowCursor) → int magnification - Shows or hides the system cursor.
-
MagUninitialize(
) → int magnification - Destroys the magnifier run-time objects.