Results 1 to 2 of 2

Thread: TCanvas

  1. #1

    TCanvas

    Hi guys.

    Is there a way to tell delphi that I don't want him to allocate memory and don't want to use the TCanvas class of a TPanel?

    I would like to use GDI Win-API functions directly, and I think the TCanvas is making my application lose some of its capabilities. In other words, my application has a bug when it's drawing graphics, and I think that's because I mixed TCanvas with direct access to the GDI.

    Do you think Am' I wrong?
    Is there a way to discard TCanvas?

    Thank you

  2. #2

    TCanvas

    TCanvas is not slower than directly using GDI. Also, you can combine TCanvas with all Windows-API drawing functions since TCanvas is nothing but a wrapper for the GDI.
    Ask me about the xcess game development kit

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •