getWidth function

double getWidth(
  1. double width
)

Implementation

double getWidth(double width){
  if(useOriginSize){
    return width;
  }
  return width.w;
}