X



【XML】SVGってどうなの2【DOM】
■ このスレッドは過去ログ倉庫に格納されています
0150Name_Not_Found
垢版 |
2015/09/22(火) 11:28:06.98ID:???
<path d="M0,-150 L0,150 z" fill=red stroke=red stroke-width=2><animateMotion dur=20s repeatCount=indefinite rotate=none><mpath xlink:href=#path2 /></animateMotion></path>
<path d="M-150,0 L150,0 z" fill=red stroke=red stroke-width=2><animateMotion dur=20s repeatCount=indefinite rotate=none><mpath xlink:href=#path3 /></animateMotion></path>
<text x=-10 y=20 font-family=Verdana font-size=16 fill=blue>t →<animateMotion dur=10s repeatCount=indefinite rotate=auto><mpath xlink:href=#path1 /></animateMotion></text>
<text x=-10 y=170 font-family=Verdana font-size=16 fill=blue>t →<animateMotion dur=20s repeatCount=indefinite rotate=auto><mpath xlink:href=#path2 /></animateMotion></text>
<text x=-10 y=-162 font-family=Verdana font-size=16 fill=blue>t →<animateMotion dur=20s repeatCount=indefinite rotate=auto><mpath xlink:href=#path3 /></animateMotion></text>
<text x=-51 y=4 font-family=Verdana font-size=16 fill=blue>sin(t)<animateMotion dur=20000s repeatCount=indefinite rotate=auto><mpath xlink:href=#path4 /></animateMotion></text>
<text x=-55 y=-146 font-family=Verdana font-size=16 fill=blue>cos(t)<animateMotion dur=20000s repeatCount=indefinite rotate=auto><mpath xlink:href=#path5 /></animateMotion></text>
</svg>
0158Name_Not_Found
垢版 |
2015/09/23(水) 20:05:12.22ID:???
>>155 かなり小さくなった
<svg width=800 height=800 viewBox="70 70 1069 1069"><desc>sin(p)</desc>
<path d="M-700,0 -500,0" fill=none stroke=none stroke-width=2 id=path1 /><path d="M0,0 200,0 0,0 -200,0 z" fill=none stroke=none stroke-width=2 id=path2 />
<path d="M500,250 c96,-518 104,518 200,0 c96,-518 104,518 200,0 c96,-518 104,518 200,0 c96,-518 104,518 200,0 c96,-518 104,518 200,0 c96,-518 104,518 200,0 c96,-518 104,518 200,0 " fill=none stroke=black stroke-width=2>
<animateMotion dur=1s repeatCount=indefinite rotate=auto><mpath xlink:href=#path1 /></animateMotion></path>
<path d="M400,400 l0,-300 z" fill=green stroke=green stroke-width=2></path><text x=390 y=420 font-family=Verdana font-size=16 fill=green>p+λ</text>
<path d="M800,400 l0,-300 z" fill=green stroke=green stroke-width=2></path><text x=790 y=420 font-family=Verdana font-size=16 fill=green>p-λ</text>
<path d="M600,400 l0,-300 z" fill=blue stroke=blue stroke-width=2></path><text x=595 y=420 font-family=Verdana font-size=16 fill=blue>p</text>
<path d="M600,400 l0,-300 z" fill=red stroke=red stroke-width=2><animateMotion dur=15s repeatCount=indefinite rotate=none><mpath xlink:href=#path2 /></animateMotion></path>
<text x=595 y=420 font-family=Verdana font-size=16 fill=red>p'<animateMotion dur=15s repeatCount=indefinite rotate=none><mpath xlink:href=#path2 /></animateMotion></text>
</svg>
0159Name_Not_Found
垢版 |
2015/10/12(月) 19:02:00.76ID:dsv23UAz
スクリプトインストーラ
Tampermonkey  Chrome用 Sleipnir用 Tungsten用 Slimjet用 順序設定可能
https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo
Greasemonkey  Firefox用 PaleMoon用 Lunascape用 Cyberfox用 順序設定可能
https://addons.mozilla.org/ja/firefox/addon/greasemonkey/versions/
Violentmonkey  Opera用
https://addons.opera.com/ja/extensions/details/violent-monkey/
Scriptish  SeaMonkey用
https://addons.mozilla.org/ja/seamonkey/addon/scriptish
NinjaKit  Safari用
http://os0x.hatenablog.com/entry/20100612/1276330696
0163Name_Not_Found
垢版 |
2018/02/18(日) 20:27:56.22ID:???
☆ 日本の、改憲を行いましょう。現在、衆議員と参議院の
両院で、改憲議員が3分の2を超えております。
『憲法改正国民投票法』、でググってみてください。国会の発議は
すでに可能です。平和は勝ち取るものです。お願い致します。☆☆
0164Name_Not_Found
垢版 |
2018/05/01(火) 21:51:38.56ID:l1wYHpV1
誰でもできる在宅ワーク儲かる方法
少しでも多くの方の役に立ちたいです
グーグルで検索するといいかも『金持ちになりたい 鎌野介メソッド』

EV332
0165Name_Not_Found
垢版 |
2018/08/03(金) 09:05:26.40ID:ilUNb57d
lineにつけるmarkerについて
markerのfillって後で指定できないのかな?
fillの色だけ違う使いまわしができる矢印を管理する場合になるべく重複コード減らしたいんだがどうもうまくいかない
定義はこんな感じ
<style type="text/css">
.a_arrow01 { marker-start:url(#a_mk); marker-end:url(#a_mk); }
.b_arrow01 { marker-start:url(#b_mk); marker-end:url(#b_mk); }
</style>
<defs>
<polygon id="marker_p" points="10, 0 0,5 0,-5" />
<marker id="a_mk" viewBox="0 -5 10 10" refX="5" refY="0" markerWidth="10" markerHeight="10" orient="auto-start-reverse">
<use xlink:href="#marker_p" /></marker>
<marker id="b_mk" viewBox="0 -5 10 10" refX="5" refY="0" markerWidth="10" markerHeight="10" orient="auto-start-reverse">
<use xlink:href="#marker_p" /></marker>
</defs>

使う場所(前後のコードははしょったがこの関係性だと問題なく動く)
<line id="a_s" x1="5" y1="5" x2="5" y2="103" class="a_arrow01" />
<line id="b_s" x1="5" y1="5" x2="5" y2="245" class="b_arrow01" />
0166Name_Not_Found
垢版 |
2018/08/03(金) 23:44:50.53ID:???
XMLなんだし、実態参照を使えば。
0167Name_Not_Found
垢版 |
2018/08/05(日) 11:45:57.56ID:rQaUg0Ep
>>166
実体参照が何か知らないんですねw
0168Name_Not_Found
垢版 |
2018/08/05(日) 14:14:23.91ID:???
>>167
おまえこそ、XMLにおける実体参照を知らんだろ。w
わからんなら黙ってろよ。
0169Name_Not_Found
垢版 |
2018/08/06(月) 00:17:29.03ID:???
>>168
実体参照を、何処かの定義を使い回すものだって思ってるでしょ?
だから>>166みたいなレスしちゃったんでしょ?
0171Name_Not_Found
垢版 |
2018/08/06(月) 04:03:18.73ID:???
なんだ?なんだ?>>166
実体参照でなんの問題を解決しようとしたんだ?
ちょっと言ってみ
0172Name_Not_Found
垢版 |
2018/09/25(火) 13:28:46.87ID:???
勘違いするな
実態参照は実体参照とは全然違うものだよ
0173Name_Not_Found
垢版 |
2023/01/03(火) 14:11:54.44ID:???
← とかを使えって意味かと思った
■ このスレッドは過去ログ倉庫に格納されています

ニューススポーツなんでも実況