AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

Firemonkey - Auf Bitmap + Canvas zeichnen

Ein Thema von Neutral General · begonnen am 13. Sep 2011 · letzter Beitrag vom 16. Okt 2011
Antwort Antwort
Benutzerbild von Neutral General
Neutral General

Registriert seit: 16. Jan 2004
Ort: Bendorf
5.219 Beiträge
 
Delphi 10.2 Tokyo Professional
 
#1

Firemonkey - Auf Bitmap + Canvas zeichnen

  Alt 13. Sep 2011, 09:30
Hallo,

Wie ist es möglich auf ein Bitmap bzw. ein Canvas zu zeichnen?
Alles was ich bisher probiert hatte als Resultat nur ein schwarzes Bitmap

Noch nicht einmal das hier funktioniert:

Delphi-Quellcode:
Bitmap := TBitmap.Create(400,400);
Bitmap.Canvas.Clear(TAlphaColorRec.Coral);
Bitmap.SaveToFile('...');
Michael
"Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination,
but because their imagination reveals worlds that others cannot see."
  Mit Zitat antworten Zitat
Darlo

Registriert seit: 28. Jul 2008
Ort: München
1.196 Beiträge
 
Delphi 10.2 Tokyo Enterprise
 
#2

AW: Firemonkey - Auf Bitmap + Canvas zeichnen

  Alt 13. Sep 2011, 23:24
bmp := TBitmap.Create(400,400);
bmp.Canvas.BeginScene;
bmp.Canvas.Clear($FFF19595);
bmp.Canvas.EndScene;
bmp.BitmapChanged;
Philip
  Mit Zitat antworten Zitat
Benutzerbild von Union
Union

Registriert seit: 18. Mär 2004
Ort: Luxembourg
3.487 Beiträge
 
Delphi 7 Enterprise
 
#3

AW: Firemonkey - Auf Bitmap + Canvas zeichnen

  Alt 16. Okt 2011, 10:37
Hihi, gut dass Du es weisst - bei Emb wissen sie's wohl nicht
Ibi fas ubi proxima merces
sudo /Developer/Library/uninstall-devtools --mode=all
  Mit Zitat antworten Zitat
Benutzerbild von MEissing
MEissing

Registriert seit: 19. Jan 2005
Ort: Egelsbach
1.384 Beiträge
 
Delphi 12 Athens
 
#4

AW: Firemonkey - Auf Bitmap + Canvas zeichnen

  Alt 16. Okt 2011, 16:21
Hihi, gut dass Du es weisst - bei Emb wissen sie's wohl nicht
http://docwiki.embarcadero.com/VCL/e...vas.BeginScene
Matthias Eißing
cu://Matthias.Eißing.de [Embarcadero]
Kein Support per PN
  Mit Zitat antworten Zitat
Benutzerbild von Union
Union

Registriert seit: 18. Mär 2004
Ort: Luxembourg
3.487 Beiträge
 
Delphi 7 Enterprise
 
#5

AW: Firemonkey - Auf Bitmap + Canvas zeichnen

  Alt 16. Okt 2011, 18:19
Ja, es steht da. Man kann aber mit FM unter Windows auch ohne die BeginScene und EndScene auf den Canvas zeichnen.
Ibi fas ubi proxima merces
sudo /Developer/Library/uninstall-devtools --mode=all
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 07:18 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