| |
|
|
- Page 1 - |
|
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 ▲ |
|
|
|
|
| |
|
- Page 1 - |
|
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 ▲ |
|
|
|
| |
|
- Page 2 - |
|
|
Jac de Lad | Habs ausprobiert, runs primst!
another latest question: I Have attempts whom Text big To make, goes but not. I Have any Parameter with 0 with HDCFont an so on on 1 set (nacheinander), but since is either underlined, striked, italic or again the normal Text rausgekommen...you know still sure where the Error stick!?
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 ▲ |
|
|
|
|
Frank Abbing | |
|
| |
|
|
|
Jac de Lad | what, so GEHTS too? I Have me with CreateHDCFont and so floundered. OK, so dürften really any my ask clarified his. Vielen Thanks for Help!!!
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/25/06 ▲ |
|
|
|