Home
last modified time | relevance | path

Searched refs:ctow_y (Results 1 – 20 of 20) sorted by relevance

/dports/cad/tkgate/tkgate-2.1/src/tkgate/
H A Dled.c525 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 Dwiresdraw.c194 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 Dedit.c48 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 Djkff.c280 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 Dascii.c245 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 Dflipflop.c251 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 Dgates.c460 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 Dand.c155 y1 = ctow_y(y1); in AOX_extBarCoords()
157 y2 = ctow_y(y2); in AOX_extBarCoords()
H A Ddip.c219 ctow_x(g->xpos),ctow_y(g->ypos)); in Dip_SimHitFunc()
H A Dframe.c286 ctow_x(g->xpos),ctow_y(g->ypos), in Frame_Draw()
291 int y = ctow_y(g->ypos); in Frame_Draw()
H A Dswitch.c223 Icon_draw(TkGate.D,TkGate.W,TkGate.instGC,ctow_x(x),ctow_y(y),C); in Switch_Draw()
H A Dblock.c538 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 Dtkgate.h125 #define ctow_y(y) ((y) + TkGate.circuit->org_y) macro
H A Dcomment.c431 ctow_x(g->xpos),ctow_y(g->ypos),g->u.comment.width,g->u.comment.height); in Comment_Draw()
H A Dnet.c406 int wy = ctow_y(y-50); in net_editProps()
H A Dmodsym.c843 iy = ctow_y(y) + ms->ms_iy[isBold][r]; in GModSymbol_draw()
H A Dconcat.c290 y = ctow_y(g->ypos); in Concat_Draw()
H A Dhtml.c1347 y = ctow_y(y)*TkGate.circuit->zoom_factor; in Html_draw()
H A Dgeneric.c763 y = ctow_y(g->ypos-50); in Generic_editPropsDLBasics()
H A Dsimulate.c450 Icon_draw(TkGate.D,TkGate.W,TkGate.toolGC,ctow_x(P->x),ctow_y(P->y),probe_icon); in GSimProbe_draw()