synctex.h 469 Bytes
Newer Older
1 2 3 4 5 6 7
/* See LICENSE file for license and copyright information */

#ifndef SYNCTEX_H
#define SYNCTEX_H

#include "types.h"

8 9 10 11 12
typedef struct synctex_page_rect_s {
  int                 page;
  zathura_rectangle_t rect;
} synctex_page_rect_t;

13
void synctex_edit(zathura_t* zathura, zathura_page_t* page, int x, int y);
14
girara_list_t* synctex_rectangles_from_position(const char* filename,
15
    const char* position, unsigned int* page, girara_list_t** secondary_rects);
16 17

#endif