MCPcopy Create free account
hub / github.com/Aloshi/EmulationStation / getTextureSize

Method getTextureSize

src/components/ImageComponent.cpp:9–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7#include "../Window.h"
8
9Eigen::Vector2i ImageComponent::getTextureSize() const
10{
11 if(mTexture)
12 return mTexture->getSize();
13 else
14 return Eigen::Vector2i(0, 0);
15}
16
17Eigen::Vector2f ImageComponent::getCenter() const
18{

Callers 2

Calls 1

getSizeMethod · 0.45

Tested by

no test coverage detected