Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Affine Transform
Search
USAMI Kosuke
June 25, 2014
Programming
210
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Affine Transform
Lightning Talk
フェンリル社内勉強会
USAMI Kosuke
June 25, 2014
More Decks by USAMI Kosuke
See All by USAMI Kosuke
Onsager代数とその周辺 / Onsager algebra tsudoi
usamik26
0
730
Apple HIG 正式名称クイズ結果発表 / HIG Quiz Result
usamik26
0
290
ゆめみ大技林製作委員会の立ち上げの話 / daigirin project
usamik26
0
420
@ViewLoadingプロパティラッパの紹介と自前で実装する方法 / @ViewLoading property wrapper implementation
usamik26
0
570
これからUICollectionViewを実践活用する人のためのガイド / Guide to UICollectionView
usamik26
1
840
Xcodeとの最近の付き合い方のはなし / Approach To Xcode
usamik26
2
750
UICollectionView Compositional Layout
usamik26
0
900
Coding Swift with Visual Studio Code and Docker
usamik26
0
620
Swift Extension for Visual Studio Code
usamik26
2
1.2k
Other Decks in Programming
See All in Programming
當我們開始不讀 Code - AI Agent 時代,Code Review 與 Clean Code 還剩下什麼?
jame2408
1
140
月間100万人のサービス刷新で、 技術選定をHonoに振り切った話
yutobara
8
6.6k
見えないものを探る要求要件定義に必要な基本的思考 / invisible-requirement-thinking
minodriven
15
8.4k
The Rails Doctrine Decade
koic
2
580
Findy - エンジニア向け会社紹介/Findy Company Deck
findyinc
6
400k
コードレビューのボトルネックを"する側"と"される側"の両面から解消する
yub0n
2
1.6k
パズルゲームの作り方 / how to make puzzle games
kaityo256
PRO
2
290
Atomic Design, Enforced: Scaling Mobile Design Systems (next.app devCon / droidCon Berlin 2026)
steliosf
PRO
0
170
JIS keyboard support in Omarchy
lef237
0
110
JAWS-UG 東京支部が始める、JAWS-UG支部コラボ / JAWS-UG lunchtime LT Collaboration
y0hgi
0
270
phperだってパンチカードでコーディングしたい
o0h
PRO
0
330
全ての永続トークンを、生まれる前に消し去りたい!
sylph01
2
780
Featured
See All Featured
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
New Earth Scene 8
popppiees
4
2.7k
Believing is Seeing
oripsolob
1
240
SEO for Brand Visibility & Recognition
aleyda
0
4.8k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.8k
Deep Space Network (abreviated)
tonyrice
0
370
Exploring anti-patterns in Rails
aemeredith
4
540
Visualization
eitanlees
153
17k
Crafting Experiences
bethany
1
380
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
430
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.6k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
7k
Transcript
ΞϑΟϯมͷ Ӊࠤݟ ެี
Ͳ͜Ͱग़ͯ͘Δ͔
ϏϡʔΛมܗ͢Δ • iOS Ͱͷྫ : CGAffineTransform • UIView ͷ transform
ϓϩύςΟɿฏߦҠಈɺ ֦େॖখɺճసɺͳͲ
ϑΥϯτΛมܗ͢Δ • CTFontCreate ͷҾʹ͢ : ࣼମϑΥϯτΛ ࡞Δ
ΞϑΟϯม ਤܗͷมܗʹΘΕ͍ͯΔ
ਤܗͷมܗ
ਤܗͷมܗ • ߹ಉมʢϢʔΫϦουมʣ • ૬ࣅม • ΞϑΟϯม • ࣹӨม
߹ಉม • ฏߦҠಈɺճసɺస • ͞Λอͭ • ֯Λอͭ • → ਤܗͷܗେ͖͞Λม͑ͳ͍
૬ࣅม • ߹ಉม + ֦େɾॖখ • ͞ͷൺΛอͭʢ͞Λอͨͳ͍ʣ • ֯Λอͭ •
→ ਤܗͷܗΛม͑ͳ͍ʢେ͖͞มΘΔʣ
ΞϑΟϯม • ૬ࣅม + Ⴉஅมܗʢਖ਼ํܗΛඛܗʹʣ • ͞ͷൺΛอͭ • ฏߦੑΛอͭʢ֯ੑΛอͨͳ͍ʣ •
→ ਤܗͷܗ͕มΘΔʢࣼΊʹͳΔʣ
ࣹӨม • ΞϑΟϯม + ઔܗมܗ • ͞ͷൺΛอͨͳ͍ • ઢੑΛอͭʢฏߦੑɾ֯ੑΛอͨͳ͍ʣ •
→ ਤܗͷܗ͕มΘΔ
ΞϑΟϯมͷΠϝʔδ ܗมΘΔ͚Ͳɺฏߦͳͷฏߦͳ··
ΞϑΟϯม = ฏߦҠಈɺճసɺసɺ ֦େॖখɺႩஅ
มͷࣜ
Lightning Talk ͳͷͰܰΊʹ
ճసͷࣜ ✓ x 0 y 0 ◆ = ✓ cos(t)
sin(t) sin(t) cos(t) ◆ ✓ x y ◆
ฏߦҠಈʴճసͷࣜ ✓ x 0 y 0 ◆ = ✓ cos(t)
sin(t) sin(t) cos(t) ◆ ✓ x y ◆ + ✓ e f ◆
ΞϑΟϯมͷࣜ ✓ x 0 y 0 ◆ = ✓ a
b c d ◆ ✓ x y ◆ + ✓ e f ◆
มͷ߹ ʢߦྻදݱͷϝϦοτʣ ✓ a1 b1 c1 d1 ◆ ✓ a2
b2 c2 d2 ◆
ಉ࣍࠲ඪʹΑΔදݱ ʢฏߦҠಈߦྻʹؚΊΔʣ 0 @x 0 y 0 1 1 A
= 0 @a b e c d f 0 0 1 1 A 0 @x y 1 1 A
·ͱΊ
ΞϑΟϯม ؆୯ʹ͑ͯศརͳͷͰ ͓ͬͯ͘ͱΑ͍