• Tidak ada hasil yang ditemukan

box transformation2 in pdf-trans.tex

N/A
N/A
Nguyễn Gia Hào

Academic year: 2023

Membagikan "box transformation2 in pdf-trans.tex"

Copied!
50
0
0

Teks penuh

(1)

box tra N

sfo R mation S in pdf-trans.tex

g

before

g

after

bounding box

[email protected]

(2)

Yogg a

\boxflipx <box>

\boxflipx

(3)

Yog g a

\boxflipy <box>

\boxflipy

(4)

Yog g a

\boxflipxy <box>

\boxflipxy

(5)

Yog ga

\boxflipbase <box>

\boxflipbase

(6)

Yog ga

\bboxtrans {<trans>} <box>

\bboxtrans \boxflipbase

(7)

Yog ga

\cboxtrans {<trans>} <box>

\cboxtrans \boxflipbase

(8)

Yog g a

\boxtranslate {<dimexpr>}{<dimexpr>} <box>

\boxtranslate {3mm}{2mm}

(9)

Yog g a

\boxrevolveleft <box>

\boxrevolveleft

(10)

Yog g

a

\boxrevolveright <box>

\boxrevolveright

(11)

Yog g a

\boxrotate {<angle>} <box>

\boxrotate {394.7}

(12)

Yog g a

\boxrotatexy {<angle>}{<dimexpr>}{<dimexpr>} <box>

\boxrotatexy {34.2}{\wd \transbox }{\ht \transbox }

(13)

Yog g a

\boxrotatec {<angle>} <box>

\boxrotatec {90}

(14)

Yog g a

\boxrotatebbl {<angle>} <box>

\boxrotatebbl {-34.1}

(15)

Yog g a

\boxrotatebbr {<angle>} <box>

\boxrotatebbr {-34.2}

(16)

Yog g a

\boxslantx {<angle>} <box>

\boxslantx {15.2}

(17)

Yog ga

\boxslanty {<angle>} <box>

\boxslanty {25.3}

(18)

Yog g a

\boxslantbbl {<angle>}{<angle>} <box>

\boxslantbbl {15}{25}

(19)

Yog g a

\boxslantbbr {<angle>}{<angle>} <box>

\boxslantbbr {15}{25}

(20)

Yog ga

\boxscalex {<numexpr>} <box>

\boxscalex {75}

(21)

Yog g a

\boxscaley {<numexpr>} <box>

\boxscaley {75}

(22)

Yog g a

\boxscalexy {<numexpr>}{<numexpr>} <box>

\cboxtransoff \boxscalexy {150}{75}

(23)

Yog g a

\boxscale {<numexpr>} <box>

\bboxtransoff \boxscale {75}

(24)

Yog ga

\boxscalexto {<dimexpr>} <box>

\boxscalexto {.5in+.1cm}

(25)

Yog g a

\boxscaleyto {<dimexpr>} <box>

\boxscaleyto {.5in+.1cm}

(26)

Yog g a

\boxscalexyto {<dimxpr>}{<dimexpr>} <box>

\boxscalexyto {.5in+.1cm}{1in/2}

(27)

Yog g a

\boxscalehtto {<dimexpr>} <box>

\boxscalehtto {.5in+.1cm}

(28)

Yog g a

\boxscaledpto {<dimexpr>} <box>

\boxscaledpto {.5in+.1cm}

(29)

Yog g a

\boxuniscalexto {<dimexpr>} <box>

\boxuniscalexto {.5in+.1cm}

(30)

Yog g a

\boxuniscaleyto {<dimexpr>} <box>

\boxuniscaleyto {.5in+.1cm}

(31)

Yog g a

\boxuniscalehtto {<dimexpr>} <box>

\boxuniscalehtto {.5in+.1cm}

(32)

Yog g a

\boxuniscaledpto {<dimexpr>} <box>

\boxuniscaledpto {.5in+.1cm}

(33)

Yog g a

\boxextscale {<dimexpr>}{<dimexpr>}{<dimexpr>} <box>

\boxextscale {2mm}{5mm}{8mm}

(34)

Yog g a

\boxextscaleto {<dimexpr>}{<dimexpr>}{<dimexpr>} <box>

\boxextscaleto {3cm}{1cm}{2cm}

(35)

Yog g a

\boxexts {<dimexpr>}{<dimexpr>}{<dimexpr>}{<dimexpr>} <box>

\boxexts {3mm}{3mm}{5mm}{5mm}

(36)

Yog g a

\boxextents {<dimexpr>}{<dimexpr>}{<dimexpr>}{<dimexpr>} <box>

\boxextents {2mm}{4mm}{6mm}{8mm}

(37)

Yog g a

\boxxformspec resources{/Foo /Bar} \boxxform <box>

\boxxformspec resources{\the \pdfpageresources } \boxxform \boxresizeto {11mm}{8mm}{3mm}

(38)

Yog ga

\boxclip <box>

\boxclip \boxresizeto {}{8mm}{3mm}

(39)

Yog ga

\boxmoveleft {<dimexpr>} <box>

\boxmoveleft {.3\wd \transbox }

(40)

Yog ga

\boxmoveright {<dimexpr>} <box>

\boxmoveright {.3\wd \transbox }

(41)

Yog g a

\boxlower {<dimexpr>} <box>

\boxlower {\dp \transbox }

(42)

Yog g a

\boxraise {<dimexpr>} <box>

\boxraise {\dp \transbox }

(43)

Yog g a

\boxbaselineat {<numexpr>} <box>

\boxbaselineat {50}

(44)

Yog

\boxsh->\boxshow->\hbox wd 60.0pt

ht 51.66595pt

dp 23.33313pt

a

\boxinfo <box>

\boxinfo \boxsh

(45)

Yoga

\boxshow {<gsspec>}{<gsspec>}{<gsspec>} <box>

\boxshow {0 1 0 RG}{[1 1]0 d}{}

(46)

Yoga

\boxmarkers {<dimexpr>}{<dimexpr>}{<gsspec>} <box>

\boxmarkers {-12pt}{3pt}{1 0 0 RG 1 J}

(47)

Yoga

\boxpath {<gsspec>}{<paintop>} <box>

\boxpath {3 w .7 0 0 rg 1 .8 0 RG}{B}\bboxtrans {\boxextscale {3mm}{3mm}{3mm}}\boxmoveright {3mm}

(48)

Yoga

\boxroundpath {<dimexpr>}{<gsspec>}{<paintop>} <box>

\boxroundpath {4mm}{3 w .7 0 0 rg 1 .8 0 RG}{B}\boxextent {3mm}

(49)

Yoga

\boxedgypath {<dimexpr>}{<gsspec>}{<paintop>} <box>

\boxedgypath {4mm}{3 w .7 0 0 rg 1 .8 0 RG}{B}\boxextent {3mm}

(50)

Each transformation expands to <box> (\hbox in most cases).

Each transformation must be followed by a <box>.

<box> states for any kind of TEX box; \hbox, \vbox, \vtop, \box, \copy

<trans> is a list of box transformations

<dimexpr> states for dimen in eTeX form

<numexpr> states for integer in eTeX form

<angle> is an integer or float-like string

<gsspec> is a literal pdf content stream

<paintop> means pdf painting operator (S, f, B, W...)

See the code for more.

Referensi

Dokumen terkait