Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
2397 connectés 

  FORUM HardWare.fr
  Programmation
  C++

  WaterMark Borland C++

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

WaterMark Borland C++

n°1188636
squelletto​r
Posté le 31-08-2005 à 14:11:14  profilanswer
 

Bonjour,
 
Je cherche a faire des WaterMark sous Borland C++. J'arrive a ecrire du texte sur une image grace a la fonction Textout, mais pas a rendre le text transparent.
 
Voila le code pour afficher un texte de travers :
 
 

Code :
  1. ZeroMemory(&lf, sizeof(LOGFONT));
  2.     lf.lfHeight = 50;
  3.     lf.lfEscapement = 10 * 45; // Nombre de degrés de rotation
  4.     lf.lfOrientation = 10 * 45;
  5.     lf.lfCharSet = DEFAULT_CHARSET;
  6.     strcpy(lf.lfFaceName, "Tahoma" );
  7.     ImageThumbCdrom->Canvas->Font->Handle = CreateFontIndirect(&lf);
  8.     ImageThumbCdrom->Canvas->Font->Color=clYellow;
  9.     ImageThumbCdrom->Canvas->TextOut(20, 200, "Oh yeah !!!" ); // Affiche le texte pivoté


 
Merci de votre aide!

mood
Publicité
Posté le 31-08-2005 à 14:11:14  profilanswer
 


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Programmation
  C++

  WaterMark Borland C++

 

Sujets relatifs
Application Multilangage (Borland C++ Builder)FreeImage et utilisation de BDE borland c++
installshield et borland c++ builder 6[C++ Borland / OpenGL]
Ouvrir une anim flash avec borland c++rendre exportable un programme avec borland
[STL] warning génants avec borlandcomment agrandir la console sous Borland
Borland BCC5.5 inclure une librairie à un projet borland c++ 5.5 ou MinGw (Gcc), lequel choisir ?
Plus de sujets relatifs à : WaterMark Borland C++


Copyright © 1997-2025 Groupe LDLC (Signaler un contenu illicite / Données personnelles)