zathura
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
types.h
Go to the documentation of this file.
1 /* See LICENSE file for license and copyright information */
2 
3 #ifndef TYPES_H
4 #define TYPES_H
5 
6 #include <girara/datastructures.h>
7 
8 #include "macros.h"
9 
13 typedef struct zathura_document_s zathura_document_t;
17 typedef struct zathura_page_s zathura_page_t;
21 typedef struct zathura_page_widget_s ZathuraPage;
22 typedef struct zathura_page_widget_class_s ZathuraPageClass;
26 typedef struct zathura_s zathura_t;
27 
31 typedef struct zathura_plugin_manager_s zathura_plugin_manager_t;
32 
36 typedef struct zathura_renderer_s ZathuraRenderer;
37 
41 typedef struct zathura_dbus_s ZathuraDbus;
42 
46 typedef enum zathura_plugin_error_e
47 {
55 
59 typedef enum zathura_document_information_type_e
60 {
71 
75 typedef struct zathura_plugin_s zathura_plugin_t;
76 
83 typedef struct zathura_document_information_entry_s zathura_document_information_entry_t;
84 
88 typedef struct zathura_image_buffer_s
89 {
90  unsigned char* data;
91  unsigned int height;
92  unsigned int width;
93  unsigned int rowstride;
95 
99 typedef enum zathura_adjust_mode_e
100 {
106 
114 zathura_image_buffer_t* zathura_image_buffer_create(unsigned int width, unsigned int height);
115 
122 
128 typedef struct zathura_rectangle_s
129 {
130  double x1;
131  double y1;
132  double x2;
133  double y2;
135 
139 typedef struct zathura_image_s
140 {
142  void* data;
144 
148 typedef enum zathura_link_type_e
149 {
158 
159 typedef enum zathura_link_destination_type_e
160 {
171 
172 typedef struct zathura_link_target_s
173 {
175  char* value;
176  unsigned int page_number;
177  double left;
178  double right;
179  double top;
180  double bottom;
181  double scale;
183 
187 typedef struct zathura_link_s zathura_link_t;
188 
192 typedef struct zathura_index_element_s
193 {
194  char* title;
195  zathura_link_t* link;
197 
201 typedef enum zathura_form_type_e
202 {
206 
210 typedef struct zathura_form_s
211 {
215 
223 
230 
238 
247 zathura_document_information_entry_t*
249  type, const char* value);
250 
256 void zathura_document_information_entry_free(zathura_document_information_entry_t* entry);
257 
258 #endif // TYPES_H