libgeda

s_papersizes.c File Reference

#include <config.h>
#include <stdio.h>
#include <sys/types.h>
#include "libgeda_priv.h"
Include dependency graph for s_papersizes.c:

Go to the source code of this file.

Data Structures

struct  st_papersizes_names

Defines

#define MAX_PAGESIZES   60

Functions

int s_papersizes_add_entry (char *new_papersize, int width, int height)
void s_papersizes_print ()
int s_papersizes_uniq (char *name)
void s_papersizes_free ()
void s_papersizes_init ()
char * s_papersizes_get (int counter)
void s_papersizes_get_size (char *string, int *width, int *height)

Variables

static int papersizes_index = 0
static struct st_papersizes_names papersizes [60]
 and eventually make this unlimited hack hack

Define Documentation

#define MAX_PAGESIZES   60

Definition at line 47 of file s_papersizes.c.


Function Documentation

int s_papersizes_add_entry ( char *  new_papersize,
int  width,
int  height 
)
Todo:
Finish function documentation!!!
Function Description
width and height in portrait mode

Definition at line 60 of file s_papersizes.c.

void s_papersizes_print ( void  )
Todo:
Finish function documentation!!!
Function Description

Definition at line 84 of file s_papersizes.c.

int s_papersizes_uniq ( char *  name)
Todo:
Finish function documentation!!!
Function Description
true for uniqueness, zero for duplication

Definition at line 98 of file s_papersizes.c.

void s_papersizes_free ( void  )
Todo:
Finish function documentation!!!
Function Description

Definition at line 116 of file s_papersizes.c.

void s_papersizes_init ( void  )
Todo:
Finish function documentation!!!
Function Description

Definition at line 132 of file s_papersizes.c.

char* s_papersizes_get ( int  counter)
Todo:
Finish function documentation!!!
Function Description

Definition at line 145 of file s_papersizes.c.

void s_papersizes_get_size ( char *  string,
int *  width,
int *  height 
)
Todo:
Finish function documentation!!!
Function Description

Definition at line 159 of file s_papersizes.c.


Variable Documentation

int papersizes_index = 0 [static]

Definition at line 44 of file s_papersizes.c.

struct st_papersizes_names papersizes[60] [static]

Definition at line 53 of file s_papersizes.c.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines