Lines Matching defs:escapement
1719 \returns 0 on success, !0 on error. -1 means that the escapement is different from the objects already loaded.
1722 \param escapement angle in degrees of the text object.
1726 int trinfo_load_textrec(TR_INFO *tri, const TCHUNK_SPECS *tsp, double escapement, int flags){
1758 tri->esc = escapement;
1762 if(tri->esc != escapement)return(-1);
1775 escapement *= 2.0 * M_PI / 360.0; /* degrees to radians */
1778 tpi->chunks[current].x = x * cos(escapement) - y * sin(escapement); /* coordinate transformation */
1779 tpi->chunks[current].y = x * sin(escapement) + y * cos(escapement);
2707 double escapement = 0.0; /* degrees */
2727 printf(" ESC:(escapement angle degrees of text line, up from X axis)\n");
2821 if(1 != sscanf(data,"%lf",&escapement))boom("Invalid ESC:",lineno);
2838 status = trinfo_load_textrec(tri, &tsp, escapement,flags);
2839 if(status==-1){ // change of escapement, emit what we have and reset
2844 if(trinfo_load_textrec(tri, &tsp, escapement,flags)){ boom("Text load failed",lineno); }