Changeset 4500 for docs


Ignore:
Timestamp:
Feb 11, 2015, 4:46:00 PM (4 years ago)
Author:
nmedfort
Message:

CLearly identify phases of compilation

Location:
docs/Working/icGrep
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • docs/Working/icGrep/fig-compiler.tex

    r4499 r4500  
    22\begin{figure}[tbh]
    33\begin{center}
     4
     5\pgfdeclarelayer{phases}
     6\pgfsetlayers{phases,main}
     7\tikzfading[name=fade down,
     8  top color=transparent!0, bottom color=transparent!100]
     9
    410% Define block styles
    511%\tikzstyle{decision} = [diamond, shape aspect=2, rotate=30, draw, text width=4.5em, text badly centered, inner sep=0pt, thick]
    6 \tikzstyle{block} = [rectangle, draw, text width=12em, text centered, minimum height=1.75em, thick, font=\ttfamily\bfseries, node distance=3.5em]
     12\tikzstyle{block} = [rectangle, draw, fill=white, text width=12em, text centered, minimum height=1.75em, thick, font=\ttfamily\bfseries, node distance=3.5em]
    713\tikzstyle{line} = [draw, ->, line width=1.4pt]
    814\tikzstyle{separator} = [draw, line width=0.125em, dashed]
     
    3743    \path [line] (LLVMCompiler) -- (Matcher);
    3844   
    39     % Draw separators
     45    % Draw layers
    4046    \coordinate[right of=REParser, node distance=15em] (SR);
    4147    \coordinate[left of=REParser, node distance=15em] (SL);
     
    6571    \node [draw=none,anchor=west] at ($(PL)!0.5!(LL)$) {2)~\Pablo{}};
    6672    \node [draw=none,anchor=west] at ($(LL)!0.5!(OL)$) {3)~LLVM};
    67    
    68    
     73
     74    \begin{pgfonlayer}{phases}
     75        \path[fill=green!20,path fading=fade down, draw=none] (SL) rectangle (PR);
     76        \path[fill=blue!20,path fading=fade down, draw=none] (PL) rectangle (LR);
     77        \path[fill=red!20,path fading=fade down, draw=none] (LL) rectangle (OR);
     78    \end{pgfonlayer}
     79
    6980\end{tikzpicture}
    7081
  • docs/Working/icGrep/icgrep.tex

    r4499 r4500  
    11\documentclass{llncs}
    22\usepackage{tikz}
    3 \usetikzlibrary{shapes,positioning,arrows,calc}
     3\usetikzlibrary{shapes,positioning,arrows,calc,fadings}
    44\usepackage{pgfplots}
    55\usepackage{pgfplotstable}
Note: See TracChangeset for help on using the changeset viewer.