Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Affine Transform
Search
USAMI Kosuke
June 25, 2014
Programming
0
210
Affine Transform
Lightning Talk
フェンリル社内勉強会
USAMI Kosuke
June 25, 2014
Tweet
Share
More Decks by USAMI Kosuke
See All by USAMI Kosuke
Onsager代数とその周辺 / Onsager algebra tsudoi
usamik26
0
680
Apple HIG 正式名称クイズ結果発表 / HIG Quiz Result
usamik26
0
220
ゆめみ大技林製作委員会の立ち上げの話 / daigirin project
usamik26
0
360
@ViewLoadingプロパティラッパの紹介と自前で実装する方法 / @ViewLoading property wrapper implementation
usamik26
0
530
これからUICollectionViewを実践活用する人のためのガイド / Guide to UICollectionView
usamik26
1
780
Xcodeとの最近の付き合い方のはなし / Approach To Xcode
usamik26
2
700
UICollectionView Compositional Layout
usamik26
0
840
Coding Swift with Visual Studio Code and Docker
usamik26
0
540
Swift Extension for Visual Studio Code
usamik26
2
1.1k
Other Decks in Programming
See All in Programming
Fragmented Architectures
denyspoltorak
0
150
AgentCoreとHuman in the Loop
har1101
5
230
AtCoder Conference 2025
shindannin
0
1k
0→1 フロントエンド開発 Tips🚀 #レバテックMeetup
bengo4com
0
550
そのAIレビュー、レビューしてますか? / Are you reviewing those AI reviews?
rkaga
6
4.5k
フロントエンド開発の勘所 -複数事業を経験して見えた判断軸の違い-
heimusu
7
2.8k
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
510
CSC307 Lecture 09
javiergs
PRO
1
830
2026年 エンジニアリング自己学習法
yumechi
0
130
今こそ知るべき耐量子計算機暗号(PQC)入門 / PQC: What You Need to Know Now
mackey0225
3
370
今から始めるClaude Code超入門
448jp
8
8.5k
FOSDEM 2026: STUNMESH-go: Building P2P WireGuard Mesh Without Self-Hosted Infrastructure
tjjh89017
0
160
Featured
See All Featured
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Abbi's Birthday
coloredviolet
1
4.7k
Exploring anti-patterns in Rails
aemeredith
2
250
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
The SEO Collaboration Effect
kristinabergwall1
0
350
エンジニアに許された特別な時間の終わり
watany
106
230k
Git: the NoSQL Database
bkeepers
PRO
432
66k
SEO for Brand Visibility & Recognition
aleyda
0
4.2k
How GitHub (no longer) Works
holman
316
140k
Done Done
chrislema
186
16k
Art, The Web, and Tiny UX
lynnandtonic
304
21k
Between Models and Reality
mayunak
1
180
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
·ͱΊ
ΞϑΟϯม ؆୯ʹ͑ͯศརͳͷͰ ͓ͬͯ͘ͱΑ͍