\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{upgreek}
\usepackage{fp}
\usepackage{tikz}
\usetikzlibrary{arrows,arrows.meta,arrows.spaced,bending,babel,calc,fit,positioning,scopes,intersections,through,backgrounds,matrix,chains,quotes,angles,math,topaths,plotmarks,decorations,decorations.pathmorphing,decorations.markings,decorations.pathreplacing,decorations.shapes,decorations.text,decorations.footprints,decorations.fractals,shapes,shapes.geometric,shapes.symbols,shapes.arrows,shapes.multipart,shapes.callouts,shapes.misc,shapes.gates.logic.US,shapes.gates.logic.IEC,patterns,patterns.meta,fadings,shadings,shadows,shadows.blur,mindmap,calendar,folding,trees,automata,petri,er,turtle,lindenmayersystems,spy,svg.path,bbox,external,fixedpointarithmetic,fpu,circuits.logic.US,circuits.logic.IEC,circuits.logic.CDH,circuits.ee.IEC,datavisualization,datavisualization.polar,datavisualization.formats.functions,3d,perspective,views,graphs,graphs.standard,rdf}
\usepackage{amsmath,amssymb}
\usepackage{xcolor}
\def\TikZ{Ti\emph{k}
Z}\def\tikzname{Ti\emph{k}
Z}\def\pgfname{PGF}
\def\ConTeXt{Con\TeX t}
\makeatletter\tikzset{help lines/.style={gray,very thin}
,important line/.style={thick},information text/.style={rounded corners,fill=red!10,inner sep=1ex},Karl's grid/.style={help lines,color=blue!50},Karl's axes/.style={<->},place/.style={circle,draw=blue!50,fill=blue!20,thick,minimum size=6mm},transition/.style={rectangle,draw=black!50,fill=black!20,thick,minimum size=4mm},pre/.style={<-,shorten <=1pt,>=stealth',semithick},post/.style={->,shorten >=1pt,>=stealth',semithick},state/.style={draw,circle,minimum size=0.6cm},initial text={},level distance=1cm,sibling distance=1cm,dot/.style={circle,fill,inner sep=0pt,minimum size=4pt},small dot/.style={circle,fill,inner sep=0pt,minimum size=2pt},shape example/.style={}}\newcommand{\drawgrid}[2][]{\draw[help lines,#1] #2}\colorlet{concept color}{blue!40}
\tikzset{spy using outlines/.style={spy scope={magnification=4, size=2cm, connect spies}
}}\newcommand{\face}[1]{\draw (0,0) circle (0.5);
\fill (#1+0.2,0.2) circle (0.05);
\fill (#1-0.2,0.2) circle (0.05);
\draw (#1-0.2,-0.15) .. controls (#1,-0.3) .. (#1+0.2,-0.15);
}
\newcommand{\showcode}[1]{\texttt{#1}
}\newcommand{\showbb}{\draw[red,thin] (current bounding box.south west) rectangle (current bounding box.north east);
}
\newcommand{\animation}[1]{#1}
\newcommand{\tikzsectionname}{Section}
\newcommand{\convmark}[1]{\draw[thick] (#1) +(-0.1,-0.1) -- +(0.1,0.1) (#1) +(-0.1,0.1) -- +(0.1,-0.1);
}
\newcommand{\holidaycalendar}{}
\newcommand{\showvalue}[1]{#1}
\pgfkeys{/pgf/decoration/.unknown/.code={}}\makeatother\colorlet{anglecolor}{green!50!black}
\colorlet{sincolor}{red}
\colorlet{tancolor}{orange!80!black}
\colorlet{coscolor}{blue}
\begin{document}
\Huge
\begin{tikzpicture}
\node[name=s,shape=nand gate IEC ,shape example, inner xsep=1cm, inner ysep=1cm, minimum height=6cm, nand gate IEC symbol=\color{black!30}\char`\&, logic gate inputs={in}, logic gate inverted radius=0.65cm]{Nand Gate\vrule width1pt height2cm};
\foreach \anchor/\placement in {center/above, text/above, 30/above right, mid/right, mid east/left, mid west/above, base/below, base east/below, base west/left, north/above, south/below, east/above, west/above, north east/above, south east/below, south west/below, north west/above, output/right, input 1/above, input 2/below}
\draw[shift=(s.\anchor)] plot[mark=x] coordinates{(0,0)} node[\placement] {\scriptsize\texttt{(s.\anchor)}};
\end{tikzpicture}
\end{document}