Home
last modified time | relevance | path

Searched refs:tmpanchor (Results 1 – 12 of 12) sorted by relevance

/dports/cad/xcircuit/xcircuit-3.10.30/
H A Dsvg.c546 short fstyle, ffont, tmpanchor, baseline, deltay; in SVGDrawString() local
621 tmpanchor = flipadjust(drawlabel->anchor); in SVGDrawString()
638 newpoint.x = (tmpanchor & NOTLEFT ? in SVGDrawString()
639 (tmpanchor & RIGHT ? -tmpext.maxwidth : -tmpext.maxwidth >> 1) : 0); in SVGDrawString()
640 newpoint.y = (tmpanchor & NOTBOTTOM ? in SVGDrawString()
641 (tmpanchor & TOP ? -tmpext.ascent : -(tmpext.ascent + tmpext.base) >> 1) in SVGDrawString()
648 pinadjust(tmpanchor, &(newpoint.x), &(newpoint.y), 1); in SVGDrawString()
661 if (tmpanchor & JUSTIFYRIGHT) in SVGDrawString()
663 else if (tmpanchor & TEXTCENTERED) in SVGDrawString()
850 if (tmpanchor & JUSTIFYRIGHT) in SVGDrawString()
[all …]
H A Dtext.c1501 short fstyle, ffont, tmpanchor; in UDrawString0() local
1552 tmpanchor = flipadjust(drawlabel->anchor); in UDrawString0()
1561 newpoint.x = (tmpanchor & NOTLEFT ? in UDrawString0()
1562 (tmpanchor & RIGHT ? -tmpext.maxwidth : -tmpext.maxwidth >> 1) : 0); in UDrawString0()
1563 newpoint.y = (tmpanchor & NOTBOTTOM ? in UDrawString0()
1564 (tmpanchor & TOP ? -tmpext.ascent : -(tmpext.ascent + tmpext.base) >> 1) in UDrawString0()
1574 pinadjust(tmpanchor, &p.x, &p.y, 1); in UDrawString0()
1601 if (tmpanchor & JUSTIFYRIGHT) in UDrawString0()
1603 else if (tmpanchor & TEXTCENTERED) in UDrawString0()
1695 if (tmpanchor & JUSTIFYRIGHT) in UDrawString0()
[all …]
H A Dfunctions.c1028 short tmpanchor = anchor & (~FLIPINV); in flipadjust() local
1033 if ((tmpanchor & (RIGHT | NOTLEFT)) != NOTLEFT) in flipadjust()
1034 tmpanchor ^= (RIGHT | NOTLEFT); in flipadjust()
1039 if ((tmpanchor & (TOP | NOTBOTTOM)) != NOTBOTTOM) in flipadjust()
1040 tmpanchor ^= (TOP | NOTBOTTOM); in flipadjust()
1044 return tmpanchor; in flipadjust()
2125 short tmpanchor, xbase; in UDrawTextLine() local
2139 tmpanchor = flipadjust(curlabel->anchor); in UDrawTextLine()
2153 points[0].x = (tmpanchor & NOTLEFT ? in UDrawTextLine()
2155 if ((tmpanchor & JUSTIFYRIGHT) && tlinfo.padding) in UDrawTextLine()
[all …]
H A Dundo.c827 int tmpanchor; in undo_one_action() local
831 tmpanchor = (int)elab->anchor; in undo_one_action()
836 thisrecord->idata = tmpanchor; in undo_one_action()
1286 int tmpanchor; in redo_one_action() local
1290 tmpanchor = (int)elab->anchor; in redo_one_action()
1295 thisrecord->idata = tmpanchor; in redo_one_action()
/dports/www/lynx/lynx2.8.9rel.1/src/
H A DLYGetFile.c529 HTParentAnchor *tmpanchor = HTAnchor_findAddress(&WWWDoc); in getfile() local
534 if (HTAnchor_title(tmpanchor)) { in getfile()
535 title = HTAnchor_title(tmpanchor); in getfile()
979 HTParentAnchor *tmpanchor = HTAnchor_findAddress(&WWWDoc); in getfile() local
986 if (HTAnchor_SugFname(tmpanchor) != NULL) { in getfile()
987 StrAllocCopy(fname, HTAnchor_SugFname(tmpanchor)); in getfile()
996 HTCheckFnameForCompression(&fname, tmpanchor, FALSE); in getfile()
H A DLYBookmark.c216 HTParentAnchor *tmpanchor; in save_bookmark_link() local
427 tmpanchor = HTAnchor_findAddress(&WWWDoc); in save_bookmark_link()
428 if ((text = (HText *) HTAnchor_document(tmpanchor)) != NULL) { in save_bookmark_link()
H A DLYHistory.c729 HTParentAnchor *tmpanchor; in historytarget() local
783 tmpanchor = HTAnchor_findAddress(&WWWDoc); in historytarget()
784 text = (HText *) HTAnchor_document(tmpanchor); in historytarget()
H A DLYMainLoop.c4200 HTParentAnchor *tmpanchor; in handle_PREV_DOC() local
4216 tmpanchor = HTAnchor_findAddress(&WWWDoc); in handle_PREV_DOC()
4217 if (HTAnchor_safe(tmpanchor)) { in handle_PREV_DOC()
4220 if ((HTAnchor_document(tmpanchor) == NULL && in handle_PREV_DOC()
5757 HTParentAnchor *tmpanchor; in mainloop() local
5765 tmpanchor = HTAnchor_findAddress(&WWWDoc); in mainloop()
5766 if ((HText *) HTAnchor_document(tmpanchor) == NULL) { in mainloop()
/dports/www/lynx-current/lynx2.9.0dev.9/src/
H A DLYGetFile.c529 HTParentAnchor *tmpanchor = HTAnchor_findAddress(&WWWDoc); in getfile() local
534 if (HTAnchor_title(tmpanchor)) { in getfile()
535 title = HTAnchor_title(tmpanchor); in getfile()
979 HTParentAnchor *tmpanchor = HTAnchor_findAddress(&WWWDoc); in getfile() local
986 if (HTAnchor_SugFname(tmpanchor) != NULL) { in getfile()
987 StrAllocCopy(fname, HTAnchor_SugFname(tmpanchor)); in getfile()
996 HTCheckFnameForCompression(&fname, tmpanchor, FALSE); in getfile()
H A DLYBookmark.c216 HTParentAnchor *tmpanchor; in save_bookmark_link() local
429 tmpanchor = HTAnchor_findAddress(&WWWDoc); in save_bookmark_link()
430 if ((text = (HText *) HTAnchor_document(tmpanchor)) != NULL) { in save_bookmark_link()
H A DLYHistory.c726 HTParentAnchor *tmpanchor; in historytarget() local
780 tmpanchor = HTAnchor_findAddress(&WWWDoc); in historytarget()
781 text = (HText *) HTAnchor_document(tmpanchor); in historytarget()
H A DLYMainLoop.c4200 HTParentAnchor *tmpanchor; in handle_PREV_DOC() local
4216 tmpanchor = HTAnchor_findAddress(&WWWDoc); in handle_PREV_DOC()
4217 if (HTAnchor_safe(tmpanchor)) { in handle_PREV_DOC()
4220 if ((HTAnchor_document(tmpanchor) == NULL && in handle_PREV_DOC()
5757 HTParentAnchor *tmpanchor; in mainloop() local
5765 tmpanchor = HTAnchor_findAddress(&WWWDoc); in mainloop()
5766 if ((HText *) HTAnchor_document(tmpanchor) == NULL) { in mainloop()