MCPcopy Create free account
hub / github.com/CloverHackyColor/CloverBootloader / RepositionFixedByCenter

Function RepositionFixedByCenter

rEFIt_UEFI/refit/screen.cpp:383–386  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

381}
382
383static INTN RepositionFixedByCenter(INTN Value, INTN ScreenDimension, INTN DesignScreenDimension)
384{
385 return (Value + ((ScreenDimension - DesignScreenDimension) / 2));
386}
387
388static INTN RepositionRelativeByGapsOnEdges(INTN Value, INTN ImageDimension, INTN ScreenDimension, INTN DesignScreenDimension)
389{

Callers 1

HybridRepositioningFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected