[Lazarus] TImage - Getting image properties in 'canvas space'

Reimar Grabowski reimgrab at web.de
Tue Apr 17 03:17:32 CEST 2012


On Mon, 16 Apr 2012 18:12:32 +0200 (CEST)
Mattias Gaertner <nc-gaertnma at netcologne.de> wrote:

> The image is painted to the area defined by the protected method DestRect.
> Maybe this can be made public.
Sounds like a good idea to me, as it is very useful information.
 
> At the moment you have to descend your own TImage class to access it or write a
> hack class (e.g. via a class helper).
Class helpers are a new concept to me and IMHO quite a strange one. I can understand why you call this a hack but at least it works. Thanks.
It looks like they aren't fully supported by the code tools with regard to code completion.

R.




More information about the Lazarus mailing list