|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T a
Length: 1366 (0x556) Types: TextFile Names: »arrow.c«
└─⟦52210d11f⟧ Bits:30007239 EUUGD2: TeX 3 1992-12 └─⟦c319c2751⟧ »unix3.0/TeX3.0.tar.Z« └─⟦036c765ac⟧ └─⟦this⟧ »TeX3.0/TeXgraphics/transfig/fig2dev/arrow.c« └─⟦52210d11f⟧ Bits:30007239 EUUGD2: TeX 3 1992-12 └─⟦63303ae94⟧ »unix3.14/TeX3.14.tar.Z« └─⟦c58930e5c⟧ └─⟦this⟧ »TeX3.14/TeXgraphics/transfig/fig2dev/arrow.c«
#include <stdio.h> #include "alloc.h" #include "object.h" static double forward_arrow_wid = 4; static double forward_arrow_ht = 8; static int forward_arrow_type = 0; static int forward_arrow_style = 0; static double forward_arrow_thickness = 1; static double backward_arrow_wid = 4; static double backward_arrow_ht = 8; static int backward_arrow_type = 0; static int backward_arrow_style = 0; static double backward_arrow_thickness = 1; F_arrow * forward_arrow() { F_arrow *a; if (NULL == (Arrow_malloc(a))) { put_msg(Err_mem); return(NULL); } a->type = forward_arrow_type; a->style = forward_arrow_style; a->thickness = forward_arrow_thickness; a->wid = forward_arrow_wid; a->ht = forward_arrow_ht; return(a); } F_arrow * backward_arrow() { F_arrow *a; if (NULL == (Arrow_malloc(a))) { put_msg(Err_mem); return(NULL); } a->type = backward_arrow_type; a->style = backward_arrow_style; a->thickness = backward_arrow_thickness; a->wid = backward_arrow_wid; a->ht = backward_arrow_ht; return(a); } F_arrow * make_arrow(type, style, thickness, wid, ht) int type, style; double thickness, wid, ht; { F_arrow *a; if (NULL == (Arrow_malloc(a))) { put_msg(Err_mem); return(NULL); } a->type = type; a->style = style; a->thickness = thickness; a->wid = wid; a->ht = ht; return(a); }