GDI/GDI+ interoperability and clipping

Multi tool use
Multi tool use
The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


GDI/GDI+ interoperability and clipping



I am trying to draw text using Uniscribe in an application that uses GDI+ so I call Graphics::GetHDC and then use the returned HDC for calling ScriptTextOut.
I noticed that setting a clip (through Graphics::SetClip) or a transformation before calling Graphics::GetHDC does not affect the text.
So how do I make GDI respect the clipping region and transformation that I set in GDI+?


Graphics::GetHDC


HDC


ScriptTextOut


Graphics::SetClip


Graphics::GetHDC









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

D,aLgFEdhE8TKrBRHXoawirj1G45W
pYfZi09n,ZEsG,IU0EF,OMVF,r adnNI TrO

Popular posts from this blog

Makefile test if variable is not empty

Visual Studio Code: How to configure includePath for better IntelliSense results

Will Oldham