BTW. This magic statement sequence is expected always to set the correct canvas size (i.e., in any mode, interactive or batch):
c->SetWindowSize(w, h); c->SetWindowSize(w + (w - c->GetWw()), h + (h - c->GetWh()));
BTW. This magic statement sequence is expected always to set the correct canvas size (i.e., in any mode, interactive or batch):
c->SetWindowSize(w, h); c->SetWindowSize(w + (w - c->GetWw()), h + (h - c->GetWh()));