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
AIエージェント、”どう作るか”で差は出るか? / AI Agents: Does the "How" Make a Difference?
rkaga
4
2k
Implementation Patterns
denyspoltorak
0
280
AI & Enginnering
codelynx
0
110
AIと一緒にレガシーに向き合ってみた
nyafunta9858
0
180
メルカリのリーダビリティチームが取り組む、AI時代のスケーラブルな品質文化
cloverrose
2
510
CSC307 Lecture 08
javiergs
PRO
0
670
Oxlint JS plugins
kazupon
1
800
CSC307 Lecture 05
javiergs
PRO
0
500
Package Management Learnings from Homebrew
mikemcquaid
0
210
Oxlintはいいぞ
yug1224
5
1.3k
副作用をどこに置くか問題:オブジェクト指向で整理する設計判断ツリー
koxya
1
600
IFSによる形状設計/デモシーンの魅力 @ 慶應大学SFC
gam0022
1
300
Featured
See All Featured
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
200
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
0
250
WCS-LA-2024
lcolladotor
0
450
Ruling the World: When Life Gets Gamed
codingconduct
0
140
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.1k
Skip the Path - Find Your Career Trail
mkilby
0
53
Automating Front-end Workflow
addyosmani
1371
200k
Facilitating Awesome Meetings
lara
57
6.7k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
110
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
270
Balancing Empowerment & Direction
lara
5
880
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
·ͱΊ
ΞϑΟϯม ؆୯ʹ͑ͯศརͳͷͰ ͓ͬͯ͘ͱΑ͍