Re: Text in Gdiplus
- From: IanB <olias@xxxxxxxxxxxx>
- Date: Sun, 11 Mar 2007 14:45:06 +0000
Chris,
Thanks for the reply.
I vaguely remember having done this. Once you acquire a GdiplusGraphics
from the bitmap do some form of rotate on it and then drawString. I was
using a dedicated transparent graphic solely for my text so it might
affect other detail on said graphic and you need to combine two.
I was drawing text (in 3 different orientations) and images to a
printer canvas. I couldn't really combine bitmaps as the different
resolutions (printer vs screen) were causing a problem and I couldn't
see how to specify a resolution to use in a GdiplusGraphic object?
I got there in the end by using the #transform operation with a matrix
to rotate the text to the correct orientation and position. I still
have no idea what the transform and matrix parameters were doing but
with trial and error (and a lot of paper) I got the page drawn
correctly.
--
Ian
The From address is valid
.
- Follow-Ups:
- Re: Text in Gdiplus
- From: John Rubier
- Re: Text in Gdiplus
- References:
- Text in Gdiplus
- From: IanB
- Re: Text in Gdiplus
- From: ChrisB
- Text in Gdiplus
- Prev by Date: Re: Text in Gdiplus
- Next by Date: Re: Trying to understand MVP
- Previous by thread: Re: Text in Gdiplus
- Next by thread: Re: Text in Gdiplus
- Index(es):
Relevant Pages
|