MCPcopy Create free account
hub / github.com/AppleWin/AppleWin / GetConsoleTopPixels

Function GetConsoleTopPixels

source/Debugger/Debugger_Display.cpp:1278–1283  ·  view source on GitHub ↗

===========================================================================

Source from the content-addressed store, hash-verified

1276
1277//===========================================================================
1278int GetConsoleTopPixels( int y )
1279{
1280 int nLineHeight = GetConsoleLineHeightPixels();
1281 int nTop = DISPLAY_HEIGHT - ((y + 1) * nLineHeight);
1282 return nTop;
1283}
1284
1285//===========================================================================
1286void DrawConsoleCursor ()

Callers 5

_UpdateWindowFontHeightsFunction · 0.85
DrawConsoleCursorFunction · 0.85
GetConsoleRectFunction · 0.85

Calls 1

Tested by

no test coverage detected