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
Transcript
22 slides
ΞϑΟϯมͷ Ӊࠤݟ ެี
Ͳ͜Ͱग़ͯ͘Δ͔
ϏϡʔΛมܗ͢Δ • 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
·ͱΊ
ΞϑΟϯม ؆୯ʹ͑ͯศརͳͷͰ ͓ͬͯ͘ͱΑ͍
More Decks by USAMI Kosuke
See All by USAMI Kosuke
Onsager代数とその周辺 / Onsager algebra tsudoi
usamik26
0
740
Apple HIG 正式名称クイズ結果発表 / HIG Quiz Result
usamik26
0
300
ゆめみ大技林製作委員会の立ち上げの話 / daigirin project
usamik26
0
430
@ViewLoadingプロパティラッパの紹介と自前で実装する方法 / @ViewLoading property wrapper implementation
usamik26
0
580
これからUICollectionViewを実践活用する人のためのガイド / Guide to UICollectionView
usamik26
1
850
Xcodeとの最近の付き合い方のはなし / Approach To Xcode
usamik26
2
760
UICollectionView Compositional Layout
usamik26
0
920
Coding Swift with Visual Studio Code and Docker
usamik26
0
630
Swift Extension for Visual Studio Code
usamik26
2
1.2k
Other Decks in Programming
See All in Programming
protojson における文字化けの扱い
kazuki1023
0
410
SFCで実現する病院・医療システムの動的組み立て式UI
koukimiura
1
180
AIで開発が速くなった先で、開発チームは何を目指すか
shihochan
1
2k
Railsのためのパスキー実践入門 〜マルチテナントSaaSでの意思決定〜
utakaha
4
4.2k
Getting Started with Vibe Coding
miccheng
0
220
まずはコードより業務と向き合う:テーブル解体のためにPdMを呼んだ話
sakawe_ee
0
220
ActionController meets Protocol Buffers
sorah
1
800
作って学ぶSpring BootのAuto Configuration / JJUG Night Seminar 2026-10-19
rshindo
0
230
AI-Powered Domain-Driven Design
ziobrando
0
440
AI時代のFlutter品質設計 — アプリ品質を守るQuality Layers
omatty198
0
370
止まらない比較を止める — 余帰納法で無限ストリームを比べる
tarao
0
120
Web3Dライブラリを作ってVue Custom Rendererの仕組みを理解しよう / lets learn vue custom renderer by making 3d library
drumath2237
1
130
Featured
See All Featured
Documentation Writing (for coders)
carmenintech
77
5.6k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
The Curse of the Amulet
leimatthew05
4
17k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
320
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
620
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
33
5.7k
How Software Deployment tools have changed in the past 20 years
geshan
3
35k
Amusing Abliteration
ianozsvald
1
390
Leo the Paperboy
mayatellez
11
2.5k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
31k
Embracing the Ebb and Flow
colly
88
5.2k