MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / getCrop

Method getCrop

src/Engine/Surface.cpp:685–688  ·  view source on GitHub ↗

* Returns the cropping rectangle for this surface. * @return Pointer to the cropping rectangle. */

Source from the content-addressed store, hash-verified

683 * @return Pointer to the cropping rectangle.
684 */
685SDL_Rect *Surface::getCrop()
686{
687 return &_crop;
688}
689
690/**
691 * Replaces a certain amount of colors in the surface's palette.

Callers 8

ShaderCropFunction · 0.80
getCharMethod · 0.80
fixMethod · 0.80
BattlescapeStateMethod · 0.80
DogfightStateMethod · 0.80
ArticleStateUfoMethod · 0.80
addRowMethod · 0.80
drawMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected