Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Windos
win32.3rdparty
win32.directx.audio
win32.directx.ddk
win32.directx.graphics
win32.directx.input
win32.directx.managed
win32.directx.misc
win32.directx.networking
win32.directx.sdk
win32.directx.video
win32.dirx.grap.shaders
win32.gdi
win32.international
win32.kernel
win32.messaging
win32.mmedia
win32.networks
win32.ole
win32.rtc
win32.tapi
win32.tapi.beta
win32.tools
win32.ui
win32.wince
win32.wmi
windows.mediacenter
winfx.aero
winfx.announcements
winfx.avalon
winfx.collaboration
winfx.fundamentals
winfx.general
winfx.indigo
winfx.sdk
winfx.winfs
  
 
date: Fri, 13 Jun 2008 17:01:46 -0400,    group: microsoft.public.win32.programmer.gdi        back       


FillRectangle misses top and left edges with SmoothingMode smoothing   
g.SetSmoothingMode(SmoothingModeHighQuality);
    g.FillRectangle(brush, ClipRectangle);

The top and left edges will not be filled in with the brush color, but will 
let the background show through.

If you turn off SmoothingMode:
    g.SetSmoothingMode(SmoothingModeDefault);

it works fine.

How can i fill an entire rectangle, while still allowing the caller 3 
modules away to use the high quality smoothing mode or lines and rectangles?
date: Fri, 13 Jun 2008 17:01:46 -0400   author:   Ian Boyd

Re: FillRectangle misses top and left edges with SmoothingMode smoothing   
> How can i fill an entire rectangle, while still allowing the caller 3 
> modules away to use the high quality smoothing mode or lines and 
> rectangles?

"...smoothing mode *for* lines and rectangles..."
date: Fri, 13 Jun 2008 17:07:39 -0400   author:   Ian Boyd

Google
 
Web ureader.com


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