Madrix script - GetMatrixWidth() and mapping
Posted: Thu May 31, 2018 10:11 am
Hi,
GetMatrixWidth() should 'Returns the horizontal pixel count of the matrix.'
Instead it returns the horizontal pixel count in the active mapping.
If you change the 'Size X' in the mapping the GetMatrixWidth() changes.
Expected result: The width of the matrix defined in Patch Editor.
Returns: The width of the active mapping
You can get the mapping width with void MapDlgGetMapPixel(int map[]).
I want to write a script that 'overscans' the active layer. By scaling it 10% and then center it again.
GetMatrixWidth() should 'Returns the horizontal pixel count of the matrix.'
Instead it returns the horizontal pixel count in the active mapping.
If you change the 'Size X' in the mapping the GetMatrixWidth() changes.
Expected result: The width of the matrix defined in Patch Editor.
Returns: The width of the active mapping
You can get the mapping width with void MapDlgGetMapPixel(int map[]).
I want to write a script that 'overscans' the active layer. By scaling it 10% and then center it again.