godot/thirdparty/graphite/src/gr_slot.cpp

// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
// Copyright 2010, SIL International, All rights reserved.

#include "graphite2/Segment.h"
#include "inc/Segment.h"
#include "inc/Slot.h"
#include "inc/Font.h"


extern "C" {


const gr_slot* gr_slot_next_in_segment(const gr_slot* p/*not NULL*/)
{}

const gr_slot* gr_slot_prev_in_segment(const gr_slot* p/*not NULL*/)
{}

const gr_slot* gr_slot_attached_to(const gr_slot* p/*not NULL*/)        //returns NULL iff base. If called repeatedly on result, will get to a base
{}


const gr_slot* gr_slot_first_attachment(const gr_slot* p/*not NULL*/)        //returns NULL iff no attachments.
{}


const gr_slot* gr_slot_next_sibling_attachment(const gr_slot* p/*not NULL*/)        //returns NULL iff no more attachments.
{}


unsigned short gr_slot_gid(const gr_slot* p/*not NULL*/)
{}


float gr_slot_origin_X(const gr_slot* p/*not NULL*/)
{}


float gr_slot_origin_Y(const gr_slot* p/*not NULL*/)
{}


float gr_slot_advance_X(const gr_slot* p/*not NULL*/, const gr_face *face, const gr_font *font)
{}

float gr_slot_advance_Y(const gr_slot *p/*not NULL*/, GR_MAYBE_UNUSED const gr_face *face, const gr_font *font)
{}

int gr_slot_before(const gr_slot* p/*not NULL*/)
{}


int gr_slot_after(const gr_slot* p/*not NULL*/)
{}

unsigned int gr_slot_index(const gr_slot *p/*not NULL*/)
{}

int gr_slot_attr(const gr_slot* p/*not NULL*/, const gr_segment* pSeg/*not NULL*/, gr_attrCode index, gr_uint8 subindex)
{}


int gr_slot_can_insert_before(const gr_slot* p/*not NULL*/)
{}


int gr_slot_original(const gr_slot* p/*not NULL*/)
{}

void gr_slot_linebreak_before(gr_slot* p/*not NULL*/)
{}

#if 0       //what should this be
size_t id(const gr_slot* p/*not NULL*/)
{
    return (size_t)p->id();
}
#endif


} // extern "C"