Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
platform
active.directory
adsi
adsi.iis-admin
base
com_ole
complus_mts
component_svcs
database
directx
gdi
graphics_mm
internet.client
internet.server
internet.server.isapi-dev
localization
mapi
messaging
msi
mslayerforunicode
multimedia
networking
networking.ipv6
sdk_install
security
shell
telephony.tapi_2
telephony.tapi_3
telephony.tsp
telephony.wte
tools
ui
ui_shell
win_base_svcs
win16
  
 
date: Tue, 29 Jan 2008 14:42:02 -0800,    group: microsoft.public.platformsdk.gdi        back       


SDK Halftone Functions   
Hi,

I notice that print drivers, through the DDK, have access to some pretty 
neat halftone functions, with various halftone patters like these...

HT_PATSIZE_2x2
HT_PATSIZE_2x2_M
HT_PATSIZE_4x4
HT_PATSIZE_4x4_M
HT_PATSIZE_6x6
HT_PATSIZE_6x6_M
HT_PATSIZE_8x8
HT_PATSIZE_8x8_M
HT_PATSIZE_10x10
HT_PATSIZE_10x10_M
HT_PATSIZE_12x12
HT_PATSIZE_12x12_M
HT_PATSIZE_14x14
HT_PATSIZE_14x14_M
HT_PATSIZE_16x16
HT_PATSIZE_16x16_M
HT_PATSIZE_SUPERCELL
HT_PATSIZE_SUPERCELL_M
HT_PATSIZE_AUTO

Is it possible to access these same halftone patterns throguh the regular 
Win32 API or SDK? I am not writing a driver, but I am trying to add halftone 
capabilities to an old legacy C Win32 application, and I thought there might 
be a way to leverage these pre existing microsoft halftone functions in the 
app.

Is it possible to get these same patterns through BitBlt, or StretchBlt, etc?

Thanks in advance, Skeet
date: Tue, 29 Jan 2008 14:42:02 -0800   author:   Skeet

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us