✘✘ GRAYBYTE WORDPRESS FILE MANAGER ✘✘

​🇳​​🇦​​🇲​​🇪♯➤ server.blackpussy.asia ​🇻​♯➤ 5.14.0-611.20.1.el9_7.x86_64 #1 SMP 🇾​♯➤ 2026

𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 163.245.207.76 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.216.243
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗞 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ mail,mb_send_mail
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /usr/share/doc/libicu-devel/samples/layout//GDIFontInstance.h
/*
 *******************************************************************************
 *
 *   © 2016 and later: Unicode, Inc. and others.
 *   License & terms of use: http://www.unicode.org/copyright.html#License
 *
 *******************************************************************************
 *******************************************************************************
 *
 *   Copyright (C) 1999-2003, International Business Machines
 *   Corporation and others.  All Rights Reserved.
 *
 *******************************************************************************
 *   file name:  GDIFontInstance.h
 *
 *   created on: 08/09/2000
 *   created by: Eric R. Mader
 */

#ifndef __GDIFONTINSTANCE_H
#define __GDIFONTINSTANCE_H

#include <windows.h>

#include "layout/LETypes.h"
#include "layout/LEFontInstance.h"
#include "RenderingSurface.h"
#include "FontTableCache.h"
#include "cmaps.h"

class GDIFontInstance;

class GDISurface : public RenderingSurface
{
public:
    GDISurface(HDC theHDC);
    virtual ~GDISurface();

    virtual void drawGlyphs(const LEFontInstance *font, const LEGlyphID *glyphs, le_int32 count,
        const float *positions, le_int32 x, le_int32 y, le_int32 width, le_int32 height);

    void setFont(const GDIFontInstance *font);
    HDC  getHDC() const;
    void setHDC(HDC theHDC);

private:
    HDC fHdc;
    const GDIFontInstance *fCurrentFont;
};

inline HDC GDISurface::getHDC() const
{
    return fHdc;
}

class GDIFontInstance : public LEFontInstance, protected FontTableCache
{
protected:
    GDISurface *fSurface;
    HFONT fFont;

    le_int32 fPointSize;
    le_int32 fUnitsPerEM;
    le_int32 fAscent;
    le_int32 fDescent;
    le_int32 fLeading;

    float fDeviceScaleX;
    float fDeviceScaleY;

    CMAPMapper *fMapper;

    virtual const void *readFontTable(LETag tableTag) const;

    virtual LEErrorCode initMapper();

public:
    GDIFontInstance(GDISurface *surface, TCHAR *faceName, le_int16 pointSize, LEErrorCode &status);
    GDIFontInstance(GDISurface *surface, const char *faceName, le_int16 pointSize, LEErrorCode &status);
    //GDIFontInstance(GDISurface *surface, le_int16 pointSize);

    virtual ~GDIFontInstance();

    HFONT getFont() const;

    virtual const void *getFontTable(LETag tableTag) const;

    virtual le_int32 getUnitsPerEM() const;

    virtual le_int32 getAscent() const;

    virtual le_int32 getDescent() const;

    virtual le_int32 getLeading() const;

    virtual LEGlyphID mapCharToGlyph(LEUnicode32 ch) const;

    virtual void getGlyphAdvance(LEGlyphID glyph, LEPoint &advance) const;

    virtual le_bool getGlyphPoint(LEGlyphID glyph, le_int32 pointNumber, LEPoint &point) const;

    float getXPixelsPerEm() const;

    float getYPixelsPerEm() const;

    float getScaleFactorX() const;

    float getScaleFactorY() const;
};

inline HFONT GDIFontInstance::getFont() const
{
    return fFont;
}

inline le_int32 GDIFontInstance::getUnitsPerEM() const
{
    return fUnitsPerEM;
}

inline le_int32 GDIFontInstance::getAscent() const
{
    return fAscent;
}

inline le_int32 GDIFontInstance::getDescent() const
{
    return fDescent;
}

inline le_int32 GDIFontInstance::getLeading() const
{
    return fLeading;
}

inline LEGlyphID GDIFontInstance::mapCharToGlyph(LEUnicode32 ch) const
{
    return fMapper->unicodeToGlyph(ch);
}

inline float GDIFontInstance::getXPixelsPerEm() const
{
    return (float) fPointSize;
}

inline float GDIFontInstance::getYPixelsPerEm() const
{
    return  (float) fPointSize;
}

inline float GDIFontInstance::getScaleFactorX() const
{
    return fDeviceScaleX;
}

inline float GDIFontInstance::getScaleFactorY() const
{
    return fDeviceScaleY;
}

#endif

Current_dir [ 𝗡𝗢𝗧 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]

Current_dir [ 𝗡𝗢𝗧 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
17 Jan 2026 3.22 PM
root / root
0755
FontMap.GDI
0.416 KB
22 Apr 2020 8.04 PM
root / root
0644
FontMap.Gnome
0.383 KB
22 Apr 2020 8.04 PM
root / root
0644
FontMap.cpp
7.341 KB
22 Apr 2020 8.04 PM
root / root
0644
FontMap.h
1.843 KB
22 Apr 2020 8.04 PM
root / root
0644
FontTableCache.cpp
2.37 KB
22 Apr 2020 8.04 PM
root / root
0644
FontTableCache.h
1.063 KB
22 Apr 2020 8.04 PM
root / root
0644
GDIFontInstance.cpp
9.596 KB
22 Apr 2020 8.04 PM
root / root
0644
GDIFontInstance.h
3.602 KB
22 Apr 2020 8.04 PM
root / root
0644
GDIFontMap.cpp
1.324 KB
22 Apr 2020 8.04 PM
root / root
0644
GDIFontMap.h
1.232 KB
22 Apr 2020 8.04 PM
root / root
0644
GDIGUISupport.cpp
0.842 KB
22 Apr 2020 8.04 PM
root / root
0644
GDIGUISupport.h
0.927 KB
22 Apr 2020 8.04 PM
root / root
0644
GUISupport.h
0.869 KB
22 Apr 2020 8.04 PM
root / root
0644
GnomeFontInstance.cpp
5.427 KB
22 Apr 2020 8.04 PM
root / root
0644
GnomeFontInstance.h
3.789 KB
22 Apr 2020 8.04 PM
root / root
0644
GnomeFontMap.cpp
1.394 KB
22 Apr 2020 8.04 PM
root / root
0644
GnomeFontMap.h
1.211 KB
22 Apr 2020 8.04 PM
root / root
0644
GnomeGUISupport.cpp
1.049 KB
22 Apr 2020 8.04 PM
root / root
0644
GnomeGUISupport.h
0.938 KB
22 Apr 2020 8.04 PM
root / root
0644
LayoutSample.rc
3.369 KB
22 Apr 2020 8.04 PM
root / root
0644
Makefile
2.913 KB
29 Jul 2025 4.16 PM
root / root
0644
Makefile.in
2.921 KB
22 Apr 2020 8.04 PM
root / root
0644
RenderingSurface.h
1.093 KB
22 Apr 2020 8.04 PM
root / root
0644
Sample.txt
1.657 KB
22 Apr 2020 8.04 PM
root / root
0644
ScriptCompositeFontInstance.cpp
3.197 KB
22 Apr 2020 8.04 PM
root / root
0644
ScriptCompositeFontInstance.h
6.154 KB
22 Apr 2020 8.04 PM
root / root
0644
Surface.cpp
0.871 KB
22 Apr 2020 8.04 PM
root / root
0644
Surface.h
0.507 KB
22 Apr 2020 8.04 PM
root / root
0644
UnicodeReader.cpp
4.104 KB
22 Apr 2020 8.04 PM
root / root
0644
UnicodeReader.h
0.976 KB
22 Apr 2020 8.04 PM
root / root
0644
arraymem.h
0.631 KB
22 Apr 2020 8.04 PM
root / root
0644
cgnomelayout.c
8.445 KB
22 Apr 2020 8.04 PM
root / root
0644
clayout.c
9.824 KB
22 Apr 2020 8.04 PM
root / root
0644
cmaps.cpp
5.301 KB
22 Apr 2020 8.04 PM
root / root
0644
cmaps.h
2.057 KB
22 Apr 2020 8.04 PM
root / root
0644
gdiglue.cpp
1.667 KB
22 Apr 2020 8.04 PM
root / root
0644
gdiglue.h
0.96 KB
22 Apr 2020 8.04 PM
root / root
0644
gnomeglue.cpp
1.643 KB
22 Apr 2020 8.04 PM
root / root
0644
gnomeglue.h
0.963 KB
22 Apr 2020 8.04 PM
root / root
0644
gnomelayout.cpp
8.497 KB
22 Apr 2020 8.04 PM
root / root
0644
gsupport.h
0.361 KB
22 Apr 2020 8.04 PM
root / root
0644
layout.cpp
9.797 KB
22 Apr 2020 8.04 PM
root / root
0644
layout.sln
1.174 KB
22 Apr 2020 8.04 PM
root / root
0644
layout.vcxproj
12.924 KB
22 Apr 2020 8.04 PM
root / root
0644
layout.vcxproj.filters
3.059 KB
22 Apr 2020 8.04 PM
root / root
0644
paragraph.cpp
7.583 KB
22 Apr 2020 8.04 PM
root / root
0644
paragraph.h
2.18 KB
22 Apr 2020 8.04 PM
root / root
0644
pflow.c
9.268 KB
22 Apr 2020 8.04 PM
root / root
0644
pflow.h
0.918 KB
22 Apr 2020 8.04 PM
root / root
0644
readme.html
7.324 KB
22 Apr 2020 8.04 PM
root / root
0644
resource.h
0.886 KB
22 Apr 2020 8.04 PM
root / root
0644
rsurface.cpp
0.695 KB
22 Apr 2020 8.04 PM
root / root
0644
rsurface.h
0.516 KB
22 Apr 2020 8.04 PM
root / root
0644
sfnt.h
4.903 KB
22 Apr 2020 8.04 PM
root / root
0644
ucreader.cpp
0.497 KB
22 Apr 2020 8.04 PM
root / root
0644
ucreader.h
0.412 KB
22 Apr 2020 8.04 PM
root / root
0644

✘✘ GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME ✘✘
Static GIF Static GIF