Mapper  0.9.0
API documentation
Functions
setup.c File Reference

(f662771 on 7 Mar 2013)

#include "libocad.h"
Include dependency graph for setup.c:

Functions

bool ocad_setup_world_matrix (OCADFile *pfile, Transform *matrix)
 Fills in the provided matrix with a transformation from map coordinates to real-world coordinates. More...
 
bool ocad_setup_paper_matrix (OCADFile *pfile, Transform *matrix)
 

Function Documentation

◆ ocad_setup_paper_matrix()

bool ocad_setup_paper_matrix ( OCADFile pfile,
Transform matrix 
)

◆ ocad_setup_world_matrix()

bool ocad_setup_world_matrix ( OCADFile pfile,
Transform matrix 
)

Fills in the provided matrix with a transformation from map coordinates to real-world coordinates.

Returns TRUE if the matrix was computed, FALSE if it could not be computed because the file is invalid or the real-world coordinate flag is unset (in which case the parameters are invalid.)