/dports/cad/tkgate/tkgate-2.1/src/tkgate/ |
H A D | led.c | 525 ZDrawRectangle(TkGate.D,TkGate.W,TkGate.instGC,ctow_x(x),ctow_y(y),w,h); in Led_Draw_bar() 527 ZDrawRectangle(TkGate.D,TkGate.W,TkGate.instGC,ctow_x(x)+1,ctow_y(y)+1,w-2,h-2); in Led_Draw_bar() 539 ZFillRectangle(TkGate.D,TkGate.W,TkGate.instGC,ctow_x(x+dx),ctow_y(y),3,10); in Led_Draw_bar() 551 ZFillRectangle(TkGate.D,TkGate.W,TkGate.instGC,ctow_x(x+dx),ctow_y(y),3,10); in Led_Draw_bar() 563 ZFillRectangle(TkGate.D,TkGate.W,TkGate.instGC,ctow_x(x+dx),ctow_y(y),3,10); in Led_Draw_bar() 590 ZDrawRectangle(TkGate.D,TkGate.W,TkGate.instGC,ctow_x(x),ctow_y(y),w,h); in Led_Draw_7segs() 592 ZDrawRectangle(TkGate.D,TkGate.W,TkGate.instGC,ctow_x(x+1),ctow_y(y+1),w-2,h-2); in Led_Draw_7segs() 596 ZDrawRectangle(TkGate.D,TkGate.W,TkGate.instGC,ctow_x(x+dx+3),ctow_y(y+3),17,25); in Led_Draw_7segs() 627 Icon_draw(TkGate.D,TkGate.W,TkGate.instGC,ctow_x(x+dx+5),ctow_y(y+5),seg_icon[j]); in Led_Draw_7segs() 636 Icon_draw(TkGate.D,TkGate.W,TkGate.instGC,ctow_x(x+dx+5),ctow_y(y+5),seg_icon[j]); in Led_Draw_7segs() [all …]
|
H A D | wiresdraw.c | 194 Icon_draw(TkGate.D,TkGate.W,TkGate.busGC,ctow_x(x+TKGATE_BUSW_VERT-1),ctow_y(y),SIZEHASH); in GWireNode_displaySize() 197 Icon_draw(TkGate.D,TkGate.W,TkGate.busGC,ctow_x(x),ctow_y(y+TKGATE_BUSW_HORZ-1),SIZEHASH); in GWireNode_displaySize() 218 ctow_x(n->x + 2*xval[d]),ctow_y(n->y + 2*yval[d]), in wire_drawend() 226 y1 = y2 = ctow_y(n->y + yval[d]*5); in wire_drawend() 281 p[k].y = ctow_y(n->y); in GWire_draw()
|
H A D | edit.c | 48 ZDrawLine(TkGate.D,TkGate.W,TkGate.toolGC,ctow_x(x1), ctow_y(y1), ctow_x(x2), ctow_y(y2)); in line() 59 ZDrawRectangle(TkGate.D,TkGate.W,TkGate.toolGC,ctow_x(x),ctow_y(y),w,h); in box() 74 Icon_draw(TkGate.D,TkGate.W,TkGate.instGC,ctow_x(x),ctow_y(y),gi->icon[idx]); in mk_gate() 84 …Icon_draw(TkGate.D,TkGate.W,TkGate.toolGC,ctow_x(TkGate.ed->mark_x),ctow_y(TkGate.ed->mark_y),Mark… in mark_draw() 322 …ate.D,TkGate.W,TkGate.toolGC,ctow_x(TkGate.ed->sx),ctow_y(TkGate.ed->sy),ctow_x(TkGate.ed->tx),cto… in setrubberband() 332 …ate.D,TkGate.W,TkGate.toolGC,ctow_x(TkGate.ed->sx),ctow_y(TkGate.ed->sy),ctow_x(TkGate.ed->lx),cto… in moverubberband() 333 …ate.D,TkGate.W,TkGate.toolGC,ctow_x(TkGate.ed->sx),ctow_y(TkGate.ed->sy),ctow_x(TkGate.ed->tx),cto… in moverubberband() 344 int y = ctow_y(TkGate.ed->sy); in setRubberBox() 368 int y = ctow_y(TkGate.ed->sy); in moveRubberBox() 370 int ly = ctow_y(TkGate.ed->sy); in moveRubberBox()
|
H A D | jkff.c | 280 Icon_draw(TkGate.D,TkGate.W,TkGate.instGC,ctow_x(x),ctow_y(y),gi->altIcon[idx]); in JKFF_Draw() 282 Icon_draw(TkGate.D,TkGate.W,TkGate.instGC,ctow_x(x),ctow_y(y),gi->icon[idx]); in JKFF_Draw()
|
H A D | ascii.c | 245 return PosDrawString(TkGate.painterW,0,gc,ctow_x(x),ctow_y(y),s,p); in dce_DrawString() 250 int ex = PosDrawString(painter,F,gc,ctow_x(x),ctow_y(y),S,p); in RelPosDrawString()
|
H A D | flipflop.c | 251 Icon_draw(TkGate.D,TkGate.W,TkGate.instGC,ctow_x(x),ctow_y(y),gi->altIcon[idx]); in FF_Draw() 253 Icon_draw(TkGate.D,TkGate.W,TkGate.instGC,ctow_x(x),ctow_y(y),gi->icon[idx]); in FF_Draw()
|
H A D | gates.c | 460 Icon_draw(TkGate.D,TkGate.W,TkGate.toolGC,ctow_x(x),ctow_y(y),REPCOUNTMARK); in displayRepCount() 472 …ate.D,TkGate.W,TkGate.toolGC,ctow_x(TkGate.ed->sx),ctow_y(TkGate.ed->sy),ctow_x(TkGate.ed->tx),cto… in gate_doReplication() 1336 Icon_draw(TkGate.D,TkGate.W,gc,ctow_x(x),ctow_y(y),arrow); in DrawPinIOMark()
|
H A D | and.c | 155 y1 = ctow_y(y1); in AOX_extBarCoords() 157 y2 = ctow_y(y2); in AOX_extBarCoords()
|
H A D | dip.c | 219 ctow_x(g->xpos),ctow_y(g->ypos)); in Dip_SimHitFunc()
|
H A D | frame.c | 286 ctow_x(g->xpos),ctow_y(g->ypos), in Frame_Draw() 291 int y = ctow_y(g->ypos); in Frame_Draw()
|
H A D | switch.c | 223 Icon_draw(TkGate.D,TkGate.W,TkGate.instGC,ctow_x(x),ctow_y(y),C); in Switch_Draw()
|
H A D | block.c | 538 ctow_x(g->xpos),ctow_y(g->ypos), in Block_Draw() 553 ctow_x(g->xpos+1),ctow_y(g->ypos+1), in Block_Draw() 1176 DoTcl("PortEdit::post [offsetgeometry . %d %d] -ismodule 1",ctow_x(x+125),ctow_y(y+50)); in block_setPortName() 1178 …DoTcl("PortEdit::post [offsetgeometry . %d %d] -ismodule 1 -showsig 0",ctow_x(x+125),ctow_y(y+50)); in block_setPortName() 1296 uy[NUMSQRS-1] = ctow_y(g->ypos); in block_explode() 1557 ctow_x(x+125),ctow_y(y+50)); in block_getNewPortProperties()
|
H A D | tkgate.h | 125 #define ctow_y(y) ((y) + TkGate.circuit->org_y) macro
|
H A D | comment.c | 431 ctow_x(g->xpos),ctow_y(g->ypos),g->u.comment.width,g->u.comment.height); in Comment_Draw()
|
H A D | net.c | 406 int wy = ctow_y(y-50); in net_editProps()
|
H A D | modsym.c | 843 iy = ctow_y(y) + ms->ms_iy[isBold][r]; in GModSymbol_draw()
|
H A D | concat.c | 290 y = ctow_y(g->ypos); in Concat_Draw()
|
H A D | html.c | 1347 y = ctow_y(y)*TkGate.circuit->zoom_factor; in Html_draw()
|
H A D | generic.c | 763 y = ctow_y(g->ypos-50); in Generic_editPropsDLBasics()
|
H A D | simulate.c | 450 Icon_draw(TkGate.D,TkGate.W,TkGate.toolGC,ctow_x(P->x),ctow_y(P->y),probe_icon); in GSimProbe_draw()
|