Einzelnen Beitrag anzeigen

Prototypjack

Registriert seit: 2. Feb 2003
611 Beiträge
 
Delphi 2009 Professional
 
#5

Re: Berechnung von Seitenlängen(Seitenverhältnis)

  Alt 29. Mär 2005, 19:33
Hallo,
Also ich habe bisher das:
Delphi-Quellcode:
newx :=round(bmp.width * main_frm.scrollbox1.width / bmp.width);
newy :=round(bmp.height * main_frm.scrollbox1.height / bmp.height);
Joar funktionieren tut es schon aber: Die Proportionen, sprich das Verhältnis wird ausser Acht gelassen...
Irgendwie drehen sich da meine Gedanken im Kreis...
Bitte um Hilfe
Max
„If you have any great suggestions, feel free to mail me, and I'll probably feel free to ignore you.“ . Linus Torvalds
  Mit Zitat antworten Zitat