Re: How to get the pixel width of a string?
From: Luca (info_at_luispereira.net)
Date: 10/18/04
- Next message: Just Me: "Re: How to change "Full Screen" to "Windowed" if some key is pressed."
- Previous message: Fabian Schmied: "Re: How to get the pixel width of a string?"
- In reply to: Fabian Schmied: "Re: How to get the pixel width of a string?"
- Next in thread: Fabian Schmied: "Re: How to get the pixel width of a string?"
- Reply: Fabian Schmied: "Re: How to get the pixel width of a string?"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 18 Oct 2004 18:45:29 +0100
Thanks Fabian!
I got it. Now I have another related question.
I am working with the managed Direct 3D framework. How do I create a
System.Drawing.Graphics from a Direct3D Device?
Thanks again.
Luca
"Fabian Schmied" <REMOVETHISfabianDOTschmied@fhs-hagenbergDOTacDOTat> wrote
in message news:opsf2rv3nqomq5fb@alaska.chello.at...
>> I am trying to get the pixel width of a string. It's probably a very
>> simple
>> task, but I cannot figure it out easily.
>> The class I am using is: System.Drawing.Font
>
> This is not a DirectX question, but a GDI+ question. (Hint: Take a look at
> Graphics.MeasureString.)
>
> Fabian
- Next message: Just Me: "Re: How to change "Full Screen" to "Windowed" if some key is pressed."
- Previous message: Fabian Schmied: "Re: How to get the pixel width of a string?"
- In reply to: Fabian Schmied: "Re: How to get the pixel width of a string?"
- Next in thread: Fabian Schmied: "Re: How to get the pixel width of a string?"
- Reply: Fabian Schmied: "Re: How to get the pixel width of a string?"
- Messages sorted by: [ date ] [ thread ]