Hi Christof,
I've just noticed that we have the xfcSize.Ceiling method.
So, instead of using
loNewBmp = .Bitmap.New(CEILING(loSize.Width), CEILING(loSize.Height))
we can just create the empty bitmap like this:
loNewBmp = .Bitmap.New(loSize.Ceiling)
---------- InĂcio da mensagem original -----------
De: [EMAIL PROTECTED]
Para: [EMAIL PROTECTED]
Cc:
Data: Mon, 26 Nov 2007 19:25:35 +0100
Assunto: RE: GDI+
> Hi Cesar,
>
> > In my tests, using CEILING() the problem was fixed.
> > What do you think Christof ???
>
> Yes, for dimensions CEILING() seems to be a good choice. For positions I'd
> probably use ROUND(). Same when I need to position something inside a fixed
> boundary.
>
>
> --
> Christof
>
>
>
[excessive quoting removed by server]
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.