printing xpm with white ground

new topic     » topic index » view thread      » older message » newer message

I have a formula_xpm.

The formula_xpm header:

global constant
formula_xpm = {
"177 70 2 1",
".        c #000000",
"         c #FFFFFF", 

constant
	 hDib_formula = createDIB( xpmToEuBmp( formula_xpm ))
	
I can draw in the screen:	  
	setTransparentColor(rgb(255,255,255))
	transBlt(tbl2_T, 660, 485, hDib_szoras)
	
If I print it alone,  the paper ground remain white,
but if I print it in text environment, the ground become gray.

 stretchBlt( Printer, floor(157*Hor_dotpermm), floor(y1*Ver_dotpermm),
 	   floor(40*Hor_dotpermm), floor(15.8*Ver_dotpermm), 
 	  hDib_formula, 0, 0, 177, 70, SrcCopy )

How can I print it always with white ground?

Thanks!

Attila Kondor
--

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu