MKI_WindowGetMatrix (Display) Changed in Version 2019.0

www.CAD6.com

C++ Syntax

bool

MKI_WindowGetMatrix(

 __int32 f_nWindowNum,

 MKI_MATRIX_PTR f_pMatrixMMToPixel,

 MKI_MATRIX_PTR f_pMatrixPixelToMM );

 

Retrieves the current display matrices of the given window.

 

Parameters

WindowNum

[__int32] Zero-based index of the window whose view shall be returned. The windows are numbered in reading direction, i.e. left to right and top to bottom. Valid range: 0 <= Value < MKI_WINDOW_MAX (standard windows) or Value = MKI_WINDOW_VIEW (view window).

MatrixMMToPixel

[MKI_MATRIX_PTR] Address of a matrix buffer to receive the current matrix for Millimeter to Pixel conversion. If nullptr, the matrix is not copied.

MatrixPixelToMM

[MKI_MATRIX_PTR] Address of a matrix buffer to receive the current matrix for Pixel to Millimeter conversion. If nullptr, the matrix is not copied.

 

Return Value

Returns true if successful, false if not.

 

CAD6interface 2026.0 - Copyright 2026 Malz++Kassner® GmbH