| |
|
|
Jac de Lad | Hello Frank,
do you know How I a Text into Image, I with LoadExtImage loaded or with CreateExtBmp created Have or hold what in the manner, have write can?
Jac |
|
|
| Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE) Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP | 01/19/06 ▲ |
|
|
|
|
| i'm of course not Frank - but möglicherweise falls its response similar from.
1. load your Image by Mloadbmp 2. write your Text by drawtext the Image after You by startpaint -1 the with mloadbmp loaded Image umgeschaltet have. 3. save the image under one temporären names to $tempdir 4. load the gespeicherte presentment by loadextimage 5. Hüpfe umher. |
|
|
| |
|
|
|
Frank Abbing | Hi,
nene, my response falls quite different from ProSpeed has two Examples parat, The Texts on Bitmaps settle:
FA_Textscroller.prf FA_Zeichnen.prf
Siehs you there simply on. |
|
|
| |
|
|
|
Jac de Lad | thanks iF, that white I pointed goes. but I wished not first the Pic Save, loading, manipulating, Save, loading...this is me To umständlich.
thanks Frank, I schaus me same on!
Jac |
|
|
| Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE) Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP | 01/21/06 ▲ |
|
|
|
|
Jac de Lad | @Frank: thanks, Frank functions really primst!
yet ne question: can I The Backgroundcolor on transparent to put? (i know, I too one other Image take can and then by Prospeed reinkopieren can, with CopyExtBmp and last Parameter -1, but the I will grade bypass!)?
Jac |
|
|
| Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE) Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP | 01/21/06 ▲ |
|
|
|
|
Frank Abbing | Hi,
for there The API SetBkColor() and SetBkMode(). |
|
|
| |
|
|
|
Jac de Lad | Hello Frank,
jaja, the Have I already seen. but I war with the SetBkColor not there. there come How lustigsten colours out, but not transparent. with -1 works How said neither...
Jac |
|
|
| Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE) Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP | 01/22/06 ▲ |
|
|
|
|
Frank Abbing | Hi,
stell first time SetBkMode() on transparent. |
|
|
| |
|
|
|
Jac de Lad | but WIE does it? I Have already so quite everything probiert???
Jac |
|
|
| Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE) Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP | 01/22/06 ▲ |
|
|
|
|
Frank Abbing | I probier time, time as soon as I find. |
|
|
| |
|
|
|
Frank Abbing | Hmm, is still not so heavy. I find, is in the Demosource but well described and comes well rüber CompileMarkSeparationDeclare neu&,x&,y&,z&,text$,background&,font&,oldfont&
$I Prospeed_Funktionen.inc
DEF SetTextColor(2) !"GDI32","SetTextColor"
DEF SetBkColor(2) !"GDI32","SetBkColor"
DEF SetBkMode(2) !"GDI32","SetBkMode"
DEF TextOut(5) !"GDI32","TextOutA"
DEF SelectObject(2) !"GDI32","SelectObject"
SetTrueColor 1
neu&=usedll("ProSpeed.dll")
text$="bmps/Hintergrund.jpg"
background&=LoadExtImage(Addr(text$))
Window (%maxx/2-400),(%maxy/2-200)-800,400
font&=Create("Font","Lucida Console",24,0,0,0,0)
oldfont&=SelectObject(background&,font&)
text$="Probetext mit der ProSpeed.dll. Ohne Sprite :-)"
SetTextColor(background&,Rgb(255,255,255))
SetBkMode(background&,1)
SetBkColor(background&,0)
TextOut(background&,30,30,addr(text$),len(text$))
selectObject(background&,oldfont&)
DeleteObject font&
CopyExtBmp(%hdc2,0,0,GetBmpWidth(background&),GetBmpHeight(background&),background&,0,0,0)
Repaint
WaitInput
FreeAllExtBmps()
freedll neu&
END
|
|
|
| |
|
|
|
Jac de Lad | Ui, I Have nothing of the sort discover can and my Tests having too only Mist yield...thanks for trouble, I probiers same from! Perhaps could you the Yes as function into Prospeed to assimilate, if You still time yet what moreover dran etnwickeln want...
Jac |
|
|
| Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE) Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP | 01/24/06 ▲ |
|
|
|