[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft] I have and a slot object, and must make an image ...
From: |
Werner LEMBERG |
Subject: |
Re: [ft] I have and a slot object, and must make an image ... |
Date: |
Thu, 25 Feb 2010 16:21:48 +0100 (CET) |
> FT_Render_Glyph(face->glyph,FT_RENDER_MODE_MONO);
> FT_GlyphSlot slot = face->glyph;
> I have and a slot object, and must make an image and save to disk
> with sf::Image::LoadFromPixels. How must i do it?
I have no idea what `sf::Image::LoadFromPixels' is. However, if you
have a slot object, simply copy the FT_Bitmap structure (or directly
the bitmap within this structure).
Werner