summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGfx/Emoji.h
blob: 804d7e4680d9f9c304c23870b436b33d8be4f3f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * Copyright (c) 2019-2020, Sergey Bugaev <bugaevc@serenityos.org>
 * Copyright (c) 2022, Linus Groh <linusg@serenityos.org>
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#pragma once

#include <AK/Forward.h>
#include <AK/Types.h>

namespace Gfx {

class Bitmap;

class Emoji {
public:
    static Gfx::Bitmap const* emoji_for_code_point(u32 code_point);
    static Gfx::Bitmap const* emoji_for_code_points(Span<u32> const&);
    static Gfx::Bitmap const* emoji_for_code_point_iterator(Utf8CodePointIterator&);
};

}