On 5/27/06, Mattias Gaertner <[EMAIL PROTECTED]> wrote:
Thanks for the trick.
I added it to the gtk2 interface.
You can now take a screenshot with:

  MyBitmap:=TBitmap.Create;
  ScreenDC:=GetDC(0);
  MyBitmap.LoadFromDevice(ScreenDC);
  ReleaseDC(ScreenDC);

Thank you very much. This just eliminated ImageMagick dependency for
the magnifier, and also improved the performance dramatically.

--
Felipe Monteiro de Carvalho

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

Reply via email to