Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Multimedia (https://www.delphipraxis.net/16-multimedia/)
-   -   Delphi Bitmap Font ???? (https://www.delphipraxis.net/61110-bitmap-font.html)

Bernd29bln 17. Jan 2006 08:04


Bitmap Font ????
 
Hallo,

Ich habe ein image auf meiner Form und Zeichne zur Laufzeit ein Hintergrung Bild und die Bitmap Font. Functioniert super, Mein Problem Ich mochte den inhalt meiner ListBox anzeigen , Momentan zeichnet er alles übereiander. :gruebel:

Delphi-Quellcode:
var i : Integer;
     begin

         ListBuffer.Canvas.CopyRect(Rect(0, 0, 385, 177), BGBitmap.Canvas, Rect(0,0,385,177));
         PrintText1(ListBuffer.Canvas, '----------  Test ----------', 50, 3);
          for i := 0 to Test.List.Count-1 do
            begin

         BitmapFont (ListBuffer.Canvas, (Test.List.GetText(i)), 10, 50); <-- BitmapFont
                                                                               Ausgabe



         BitBlt(HWND, 0, 0, 385, 177, ListBuffer.Canvas.Handle, 0, 0, srccopy)
      end;
    end;

Wie könnte Ich meinen BitmapFont mehr Zeilig Hinbekommen?

Mfg Bernd

Kroko1999 17. Jan 2006 09:10

Re: Bitmap Font ????
 
Delphi-Quellcode:
BitmapFont (ListBuffer.Canvas, (Test.List.GetText(i)), 10, 50+I*20); <-- BitmapFont
                                                                               Ausgabe


Alle Zeitangaben in WEZ +1. Es ist jetzt 16:06 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz