Add other font size scaling
Minor fixes: - Fixes some incorrect cast - fixes some incorrect comments
This commit is contained in:
@@ -248,9 +248,8 @@ int RTScalable::getScale ()
|
||||
|
||||
double RTScalable::getGlobalScale()
|
||||
{
|
||||
return (static_cast<double>(RTScalable::getDPI()) /
|
||||
static_cast<double>(RTScalable::baseDPI) *
|
||||
RTScalable::getScale());
|
||||
return (RTScalable::getDPI() / RTScalable::baseDPI *
|
||||
static_cast<double>(RTScalable::getScale()));
|
||||
}
|
||||
|
||||
int RTScalable::scalePixelSize(const int pixel_size)
|
||||
|
Reference in New Issue
Block a user