%%
%% This is file `dvipdfm.def',
%% Copyright (C) 1994      David Carlisle Sebastian Rahtz
%% Copyright (C) 1995 1996 1997 1998 1999 David Carlisle
%% Copyright (C) 1989 1999 Mark Wicks
%%
%%
%% This file is part of the Standard LaTeX `Graphics Bundle'.
%% It may be distributed under the terms of the LaTeX Project Public
%% License, as described in lppl.txt in the base LaTeX distribution.
%% Either version 1.0 or, at your option, any later version.
%%
%% In addition to the copy in the standard latex graphics distribution,
%% the master copy of this file is available at the following URL
%% http://odo.kettering.edu/dvipdfm/
%%
\ProvidesFile{dvipdfm.def}
        [1998/11/24 vx.x Driver-dependant file]
\def\c@lor@arg#1{%
  \dimen@#1\p@
  \ifdim\dimen@<\z@\dimen@\maxdimen\fi
  \ifdim\dimen@>\p@
    \PackageError{color}{Argument `#1' not in range [0,1]}\@ehd
  \fi}
\def\color@gray#1#2{%
  \c@lor@arg{#2}%
  \edef#1{bg #2}%
  }
\def\color@cmyk#1#2{\c@lor@@cmyk#2\@@#1}
\def\c@lor@@cmyk#1,#2,#3,#4\@@#5{%
  \c@lor@arg{#4}%
  \c@lor@arg{#1}%
  \c@lor@arg{#2}%
  \c@lor@arg{#3}%
  \edef#5{ [ #1 #2 #3 #4 ] }%
  }
\def\color@rgb#1#2{\c@lor@@rgb#2\@@#1}
\def\c@lor@@rgb#1,#2,#3\@@#4{%
  \c@lor@arg{#1}%
  \c@lor@arg{#2}%
  \c@lor@arg{#3}%
  \edef#4{[ #1 #2 #3 ]}%
  }
\def\color@RGB#1#2{\c@lor@@RGB#2\@@#1}
\def\c@lor@@RGB#1,#2,#3\@@#4{%
 \c@lor@RGB@rgb{#1}\@tempa
 \c@lor@RGB@rgb{#2}\@tempb
 \c@lor@RGB@rgb{#3}\@tempc
 \c@lor@@rgb\@tempa,\@tempb,\@tempc\@@#4%
  }
\def\c@lor@RGB@rgb#1#2{%
  \dimen@#1\p@
  \divide\dimen@\@cclv
  \edef#2{\strip@pt\dimen@}}
\def\color@hsb#1#2{\c@lor@@hsb#2\@@#1}
\def\c@lor@@hsb#1,#2,#3\@@#4{%
  \c@lor@arg{#1}%
  \c@lor@arg{#2}%
  \c@lor@arg{#3}%
  \edef#4{(not implemented yet) [ #1 #2 #3 ] }%
  }
\def\color@named#1#2{\c@lor@@named#2,,\@@#1}
\def\c@lor@@named#1,#2,#3\@@#4{%
  \@ifundefined{col@#1}%
    {\PackageError{color}{Undefined color `#1'}\@ehd}%
  {\edef#4{ #1}}%
  }
% \def\c@lor@to@ps#1 #2\@@{\csname c@lor@ps@#1\endcsname#2 \@@}
% \def\c@lor@ps@#1 #2\@@{TeXDict begin #1 end}
% \def\c@lor@ps@rgb#1\@@{#1 setrgbcolor}
% \def\c@lor@ps@hsb#1\@@{#1 sethsbcolor}
% \def\c@lor@ps@cmyk#1\@@{#1 setcmykcolor}
% \def\c@lor@ps@gray#1\@@{#1 setgray}
\def\current@color{0}
\def\set@color{%
            \special{pdf: bc \current@color}\aftergroup\reset@color}
\def\reset@color{\special{pdf:ec}}
\def\set@page@color{\special{%
         pdf: bgc \current@color}}
\def\define@color@named#1#2{%
  \expandafter\let\csname col@#1\endcsname\@nnil}
\def\Ginclude@bmp#1{%
  \special{pdf: image width \the\Gin@req@width\space height
\the\Gin@req@height\space depth \the\z@ (#1)}}
\def\Ginclude@pdf#1{%
  \special{pdf: epdf width \the\Gin@req@width\space height
\the\Gin@req@height\space depth \the\z@ (#1)}}
\def\Grot@start{%
\special{pdf: bt rotate \Grot@angle\space }}
\def\Grot@end{\special{pdf: et}}
\def\Gscale@start{\special{pdf: bt xscale \Gscale@x\space yscale \Gscale@y}}
\def\Gscale@end{\special{pdf: et}}
% \def\Gin@PS@raw#1{\special{ps: #1}}
% \def\Gin@PS@restored#1{\special{" #1}}
% \def\Gin@PS@literal@header#1{\AtBeginDvi{\special{! #1}}}
% \def\Gin@PS@file@header#1{\AtBeginDvi{\special{header=#1}}}
\def\Gin@extensions{.jpg,.jpeg,.pdf}
\@namedef{Gin@rule@.jpg}#1{{bmp}{.bb}{#1}}
\@namedef{Gin@rule@.jpeg}#1{{bmp}{.bb}{#1}}
\@namedef{Gin@rule@.pdf}#1{{pdf}{.bb}{#1}}
\@namedef{Gin@rule@*}#1{{eps}{\Gin@ext}{#1}}
\endinput
%%
%% End of file `dvipdfm.def'.
