Box.scaleByFactor

Scale the box by factor scaleX horizontally and scaleY vetically. Round the result to integer if needed.

  1. Box scaleByFactor(float scale)
  2. Box scaleByFactor(float scaleX, float scaleY)
    struct Box(T, int N)
    public @nogc const nothrow
    static if(N == 2)
    scaleByFactor
    (
    float scaleX
    ,
    float scaleY
    )

Meta