realbasic-nug
[Top] [All Lists]

Graphics.DrawRoundRect and scaling

To: REALbasic Network Users <realbasic-nug at lists dot realsoftware dot com>
Subject: Graphics.DrawRoundRect and scaling
From: Francois Van Lerberghe <fvanlerberghe at freegates dot be>
Date: Sat, 29 Apr 2006 11:42:25 +0200
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Hi all,

I'm currently coding some printing routine. In order to take into account
multiple resolution, I use a scaling factor with the drawing methods.
My question is : with the Graphics.DrawRoundRect method, must I apply this
scaling factor to the OvalWidth and OvalHeight parameters too like the code
below ?

g.DrawRoundRect(x * scale, y * scale, w * scale, h * scale, OvalWidth *
scale, OvalHeight *scale)

Thank you.

François Van Lerberghe
Rue Thier Monty, 15 A
4570 Marchin
Belgique

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>
  • Graphics.DrawRoundRect and scaling, Francois Van Lerberghe <=