Kodi Documentation 23.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
TestGraphicContext.cpp File Reference
#include "utils/Geometry.h"
#include "windowing/GuiGeometry.h"
#include "windowing/Resolution.h"
#include <cmath>
#include <gtest/gtest.h>

Functions

 TEST (TestGraphicContext, RasterUnstatedIsWholeDisplay)
 
 TEST (TestGraphicContext, RasterStatedMatchingShapeIsWholeDisplay)
 
 TEST (TestGraphicContext, RasterScopeLetterboxes)
 
 TEST (TestGraphicContext, RasterNarrowerThanDisplayPillarboxes)
 
 TEST (TestGraphicContext, RasterHonoursPixelRatio)
 
 TEST (TestGraphicContext, RasterIsCentredInTheCalibratedArea)
 
 TEST (TestGraphicContext, RasterMatchingCalibratedShapeIsTheCalibratedArea)
 
 TEST (TestGraphicContext, ViewWindowKeepsACalibrationPastTheDisplay)
 
 TEST (TestGraphicContext, ViewWindowIsBoundedByAStatedRaster)
 
 TEST (TestGraphicContext, GuiRectDefaultIsIdentity)
 
 TEST (TestGraphicContext, GuiRectDefaultIsIdentityAtAnyWindowShape)
 
 TEST (TestGraphicContext, GuiRectOutwardCalibrationIsUntouchedWhenUnstated)
 
 TEST (TestGraphicContext, GuiRectHeldShapeFollowsTheSkinVariant)
 
 TEST (TestGraphicContext, GuiRectHeldShapeFillsWhenAlreadyThatShape)
 
 TEST (TestGraphicContext, GuiRectIntersectsThePlaybackConfinement)
 
 TEST (TestGraphicContext, GuiRectZoomGrowsAroundTheCentre)
 
 TEST (TestGraphicContext, ScreenToolSuspendsTheStatedShape)
 
 TEST (TestGraphicContext, ScreenToolHoldsNoShape)
 
 TEST (TestGraphicContext, ClipIsTheWholeDisplayWhileAScreenToolIsUp)
 
 TEST (TestGraphicContext, AShapeThatRoundsToNoAreaLeavesTheInterfaceWhereItWas)
 
 TEST (TestGraphicContext, ClipIsTheDisplayWhenNothingNarrows)
 
 TEST (TestGraphicContext, ClipHoldsTheRasterWithoutKeepShape)
 
 TEST (TestGraphicContext, ClipNarrowsToTheHeldInterface)
 
 TEST (TestGraphicContext, ClipCutsAZoomedInterfaceAtTheRaster)
 

Function Documentation

◆ TEST() [1/24]

TEST ( TestGraphicContext ,
AShapeThatRoundsToNoAreaLeavesTheInterfaceWhereItWas  )

◆ TEST() [2/24]

TEST ( TestGraphicContext ,
ClipCutsAZoomedInterfaceAtTheRaster  )

◆ TEST() [3/24]

TEST ( TestGraphicContext ,
ClipHoldsTheRasterWithoutKeepShape  )

◆ TEST() [4/24]

TEST ( TestGraphicContext ,
ClipIsTheDisplayWhenNothingNarrows  )

◆ TEST() [5/24]

TEST ( TestGraphicContext ,
ClipIsTheWholeDisplayWhileAScreenToolIsUp  )

◆ TEST() [6/24]

TEST ( TestGraphicContext ,
ClipNarrowsToTheHeldInterface  )

◆ TEST() [7/24]

TEST ( TestGraphicContext ,
GuiRectDefaultIsIdentity  )

◆ TEST() [8/24]

TEST ( TestGraphicContext ,
GuiRectDefaultIsIdentityAtAnyWindowShape  )

◆ TEST() [9/24]

TEST ( TestGraphicContext ,
GuiRectHeldShapeFillsWhenAlreadyThatShape  )

◆ TEST() [10/24]

TEST ( TestGraphicContext ,
GuiRectHeldShapeFollowsTheSkinVariant  )

◆ TEST() [11/24]

TEST ( TestGraphicContext ,
GuiRectIntersectsThePlaybackConfinement  )

◆ TEST() [12/24]

TEST ( TestGraphicContext ,
GuiRectOutwardCalibrationIsUntouchedWhenUnstated  )

◆ TEST() [13/24]

TEST ( TestGraphicContext ,
GuiRectZoomGrowsAroundTheCentre  )

◆ TEST() [14/24]

TEST ( TestGraphicContext ,
RasterHonoursPixelRatio  )

◆ TEST() [15/24]

TEST ( TestGraphicContext ,
RasterIsCentredInTheCalibratedArea  )

◆ TEST() [16/24]

TEST ( TestGraphicContext ,
RasterMatchingCalibratedShapeIsTheCalibratedArea  )

◆ TEST() [17/24]

TEST ( TestGraphicContext ,
RasterNarrowerThanDisplayPillarboxes  )

◆ TEST() [18/24]

TEST ( TestGraphicContext ,
RasterScopeLetterboxes  )

◆ TEST() [19/24]

TEST ( TestGraphicContext ,
RasterStatedMatchingShapeIsWholeDisplay  )

◆ TEST() [20/24]

TEST ( TestGraphicContext ,
RasterUnstatedIsWholeDisplay  )

◆ TEST() [21/24]

TEST ( TestGraphicContext ,
ScreenToolHoldsNoShape  )

◆ TEST() [22/24]

TEST ( TestGraphicContext ,
ScreenToolSuspendsTheStatedShape  )

◆ TEST() [23/24]

TEST ( TestGraphicContext ,
ViewWindowIsBoundedByAStatedRaster  )

◆ TEST() [24/24]

TEST ( TestGraphicContext ,
ViewWindowKeepsACalibrationPastTheDisplay  )