On Sun, 4 Nov 2007, Mattias Gaertner wrote:

> On Sun, 4 Nov 2007 13:33:06 +0100 (CET)
> Michael Van Canneyt <[EMAIL PROTECTED]> wrote:
> 
> > 
> > 
> > On Sun, 4 Nov 2007, Mattias Gaertner wrote:
> > 
> > > On Sun, 4 Nov 2007 12:46:29 +0100 (CET)
> > > Michael Van Canneyt <[EMAIL PROTECTED]> wrote:
> > > 
> > > > 
> > > > 
> > > > On Sun, 4 Nov 2007, Tobias Giesen wrote:
> > > > 
> > > > > > AFAIK other widgetsets have fractionals too and you don't
> > > > > > need a parameter.
> > > > > 
> > > > > OK then we'll call the new property
> > > > > AllowCarbonFractionalPositioning
> > > > > 
> > > > > > - either implement scale factors for TCanvas
> > > > > > - or add TextOut/TextExtent/... functions with floats to
> > > > > > TCanvas.
> > > > > 
> > > > > Sounds like long-term solutions ... a new property could make
> > > > > everybody happy _today_.
> > > > 
> > > > And everybody unhappy in the future because it is very ad-hoc, and
> > > > bound to disappear, backwards compatibility issues etc etc etc. 
> > > > It's also highly non portable, and the LCL is about portability.
> > > > 
> > > > A long-term solution is always to be preferred. 
> > > > 
> > > > On top:
> > > > I fail to see how you can use fractions, you cannot draw or
> > > > position on half a pixel...
> > > 
> > > Antialising
> > 
> > That's just playing with colors, not positioning on half a pixel...
> 
> Each character has a default width. If you set the Font Size the width
> is scaled and normally you will not get an integer value. With
> antialiasing you don't need to round, but you can paint the characters
> nicely at half pixels.

Correct, but it remains only an emulation using colors, not real screen pixels.

Michael.

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to