- Is DrvRealizeBrush a must-implemented DDI function in monolithic printer driver?
- Posted by DriverStarter on September 12th, 2005
my monolithic printer driver print a line-filled pattern CORRECTLY under MS
Word, but print Patten is much denser (10 times dense) under Adobe
PageMaker,
My question is, do I have to apply DDI function DrvRealizeBrush () in my
printer driver?
or any body has any idea what's different with PageMaker?
- Posted by Caz Yokoyama[MSFT] on September 12th, 2005
Have you found which function is called on PageMaker? Is that same as the
one you tested on a line-filled pattern?
gThis posting is provided "AS IS" with no warranties, and confers no
rights.h
- Posted by Vipin on September 13th, 2005
what does your printer driver do in first place. What does it generate?
"DriverStarter" <driverstarter@newsgroup.nospam> wrote in message
news:OUp4bt8tFHA.2160@TK2MSFTNGP10.phx.gbl...
- Posted by DriverStarter on September 13th, 2005
for a line-filled patten, Ms word calls different DDI function from Page
Maker.
MS Word calls DrvStrechBilblt(), Pagemaker calls DrvFillpath(). both
pbo's brush color value are 0xffffffff, which means a bitmap brush. I punt
both DDI function to GDI for rendering.
I am thinking if a brush value (pbo's) is 0xffffffff, I must supply a
DrvRealizeBrush(), even I punt rendering to GDI. correct me if I am wrong.
but MS word works fine.
Regards
"Vipin" <Vipin@nospam.com> wrote in message
news:enLyPHCuFHA.444@TK2MSFTNGP15.phx.gbl...
- Posted by DriverStarter on September 13th, 2005
Sorry, this is correct:
MS Word calls DrvstretchBlt(), and no brush value for this DDI function.
PageMaker Calls DrvFillPath(), with pbo->iSolidColor == 0xffffffff
currectly I did not apply DrvRealizeBrush(), since I think as long as I
punt to GDI, GDI will take care of it.
"DriverStarter" <driverstarter@newsgroup.nospam> wrote in message
news:uAm9NBHuFHA.2568@TK2MSFTNGP15.phx.gbl...
- Posted by DriverStarter on September 13th, 2005
my driver is for raster printers. it lets GDI do all the rendering, but does
halftoning after GDI renders each object to the GDI managed DIB surface
(24bit DIB).
"Vipin" <Vipin@nospam.com> wrote in message
news:enLyPHCuFHA.444@TK2MSFTNGP15.phx.gbl...