# HG changeset patch # User kent@teto.cr.ie.u-ryukyu.ac.jp # Date 1253891840 -32400 # Node ID fa9dd91bc77d810286ca286a5c99a816fed0c5fc # Parent f47491f4e791d0b354a8b49bf8a9e6880cd143ff add Howto programming with Cerium. diff -r f47491f4e791 -r fa9dd91bc77d OSC2009_HowtoProgrammingwithCerium.graffle/Icon diff -r f47491f4e791 -r fa9dd91bc77d OSC2009_HowtoProgrammingwithCerium.graffle/data.plist --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/OSC2009_HowtoProgrammingwithCerium.graffle/data.plist Sat Sep 26 00:17:20 2009 +0900 @@ -0,0 +1,3303 @@ + + + + + ActiveLayerIndex + 0 + ApplicationVersion + + com.omnigroup.OmniGraffle + 129.18 + + AutoAdjust + + CanvasColor + + w + 1 + + CanvasOrigin + {0, 0} + CanvasScale + 1 + ColumnAlign + 1 + ColumnSpacing + 36 + CreationDate + 2008-07-18 12:29:35 +0900 + Creator + nunota takehiro + DisplayScale + 1 cm = 1 cm + GraphDocumentVersion + 5 + GraphicsList + + + Bounds + {{43.4379, 642.354}, {118, 18}} + Class + ShapedGraphic + FitText + YES + Flow + Resize + ID + 480 + Shape + Rectangle + Style + + shadow + + Draws + NO + + stroke + + Draws + NO + + + Text + + Text + {\rtf1\ansi\ansicpg932\cocoartf949\cocoasubrtf430 +{\fonttbl\f0\fnil\fcharset128 HiraKakuProN-W3;} +{\colortbl;\red255\green255\blue255;} +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc\pardirnatural + +\f0\fs24 \cf0 \'91\'53\'83\'5e\'83\'58\'83\'4e\'82\'f0\'8d\'c4\'82\'d1\'90\'b6\'90\'ac} + + Wrap + NO + + + Class + LineGraphic + Head + + ID + 3 + Info + 12 + + ID + 479 + Points + + {132.188, 632.908} + {83.344, 635} + {77.1889, 621.006} + + Style + + stroke + + GapRatio + 0.5 + HeadArrow + FilledArrow + HeadScale + 0.69999992847442627 + LineType + 1 + TailArrow + 0 + Width + 4 + + + Tail + + ID + 1 + + + + Bounds + {{158.188, 577.494}, {130, 18}} + Class + ShapedGraphic + FitText + YES + Flow + Resize + ID + 477 + Shape + Rectangle + Style + + shadow + + Draws + NO + + stroke + + Draws + NO + + + Text + + Text + {\rtf1\ansi\ansicpg932\cocoartf949\cocoasubrtf430 +{\fonttbl\f0\fnil\fcharset128 HiraKakuProN-W3;} +{\colortbl;\red255\green255\blue255;} +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc\pardirnatural + +\f0\fs24 \cf0 \'8f\'49\'97\'b9\'8c\'e3\'82\'c9\'8a\'d6\'90\'94\'8c\'c4\'82\'d1\'8f\'6f\'82\'b5} + + Wrap + NO + + + Class + LineGraphic + Head + + ID + 1 + + ID + 476 + Points + + {135.071, 595.361} + {168.938, 598.947} + {179.083, 612.954} + + Style + + stroke + + GapRatio + 0.5 + HeadArrow + FilledArrow + LineType + 1 + TailArrow + 0 + Width + 4 + + + Tail + + ID + 448 + + + + Bounds + {{211.86, 501.205}, {34, 18}} + Class + ShapedGraphic + FitText + YES + FontInfo + + Color + + w + 0 + + Font + Helvetica + Size + 12 + + ID + 475 + Line + + ID + 449 + Offset + 12 + Position + 0.75025653839111328 + RotationType + 0 + + Shape + Rectangle + Style + + fill + + Draws + NO + + shadow + + Draws + NO + + stroke + + Draws + NO + + + Text + + Text + {\rtf1\ansi\ansicpg932\cocoartf949\cocoasubrtf430 +{\fonttbl\f0\fnil\fcharset128 HiraKakuProN-W3;} +{\colortbl;\red255\green255\blue255;} +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc\pardirnatural + +\f0\fs24 \cf0 \'88\'cb\'91\'b6} + + + + Bounds + {{72.1882, 442.262}, {149, 42}} + Class + ShapedGraphic + FitText + YES + Flow + Resize + FontInfo + + Font + HiraKakuProN-W3 + Size + 12 + + ID + 474 + Shape + Rectangle + Style + + shadow + + Draws + NO + + stroke + + Draws + NO + + + Text + + Text + {\rtf1\ansi\ansicpg932\cocoartf949\cocoasubrtf430 +{\fonttbl\f0\fnil\fcharset128 HiraKakuProN-W3;} +{\colortbl;\red255\green255\blue255;} +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc\pardirnatural + +\f0\fs28 \cf0 \'83\'8c\'83\'93\'83\'5f\'83\'8a\'83\'93\'83\'4f\'83\'47\'83\'93\'83\'57\'83\'93\ +\'82\'c5\'82\'cc\'83\'5e\'83\'58\'83\'4e\'97\'e1} + + Wrap + NO + + + Bounds + {{132.688, 613.359}, {118, 34}} + Class + ShapedGraphic + ID + 1 + Shape + Rectangle + Text + + Text + {\rtf1\ansi\ansicpg932\cocoartf949\cocoasubrtf430 +{\fonttbl\f0\fswiss\fcharset0 Helvetica;} +{\colortbl;\red255\green255\blue255;} +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc\pardirnatural + +\f0\fs28 \cf0 run_loop} + + + + Bounds + {{34, 159}, {43, 53}} + Class + ShapedGraphic + ID + 472 + ImageID + 20 + Shape + Rectangle + Style + + fill + + Draws + NO + + shadow + + Draws + NO + + stroke + + Draws + NO + + + + + Bounds + {{125.188, 696.865}, {156, 84}} + Class + ShapedGraphic + FitText + YES + Flow + Resize + ID + 470 + Shape + Rectangle + Style + + fill + + Draws + NO + + shadow + + Draws + NO + + + Text + + Align + 0 + Text + {\rtf1\ansi\ansicpg932\cocoartf949\cocoasubrtf430 +{\fonttbl\f0\fswiss\fcharset0 Helvetica;} +{\colortbl;\red255\green255\blue255;} +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural + +\f0\fs20 \cf0 taskD->wait_for(taskB)\ +taskB->wait_for(taskA)\ +taskC->wait_for(taskA)\ +\ +taskD->spawn();taskB->spawn();\ +taskC->spawn();taskA->spawn();\ +} + + Wrap + NO + + + Class + LineGraphic + Head + + ID + 460 + + ID + 469 + Points + + {381.861, 764.547} + {365.276, 764.931} + {347.832, 744.705} + + Style + + stroke + + HeadArrow + FilledArrow + TailArrow + 0 + + + Tail + + ID + 462 + + + + Class + LineGraphic + Head + + ID + 461 + + ID + 468 + Points + + {440.847, 764.572} + {455.854, 764.931} + {475.228, 744.687} + + Style + + stroke + + HeadArrow + FilledArrow + TailArrow + 0 + + + Tail + + ID + 462 + + + + Bounds + {{338.939, 688.041}, {34, 18}} + Class + ShapedGraphic + FitText + YES + Flow + Resize + FontInfo + + Color + + w + 0 + + Font + Helvetica + Size + 12 + + ID + 467 + Shape + Rectangle + Style + + fill + + Draws + NO + + shadow + + Draws + NO + + stroke + + Draws + NO + + + Text + + Text + {\rtf1\ansi\ansicpg932\cocoartf949\cocoasubrtf430 +{\fonttbl\f0\fnil\fcharset128 HiraKakuProN-W3;} +{\colortbl;\red255\green255\blue255;} +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc\pardirnatural + +\f0\fs24 \cf0 \'88\'cb\'91\'b6} + + Wrap + NO + + + Bounds + {{453.768, 685.618}, {34, 18}} + Class + ShapedGraphic + FitText + YES + FontInfo + + Color + + w + 0 + + Font + Helvetica + Size + 12 + + ID + 466 + Line + + ID + 24 + Offset + 12 + Position + 0.27695220708847046 + RotationType + 0 + + Shape + Rectangle + Style + + fill + + Draws + NO + + shadow + + Draws + NO + + stroke + + Draws + NO + + + Text + + Text + {\rtf1\ansi\ansicpg932\cocoartf949\cocoasubrtf430 +{\fonttbl\f0\fnil\fcharset128 HiraKakuProN-W3;} +{\colortbl;\red255\green255\blue255;} +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc\pardirnatural + +\f0\fs24 \cf0 \'88\'cb\'91\'b6} + + + + Class + LineGraphic + Head + + ID + 459 + + ID + 464 + Points + + {350.747, 709.978} + {366.276, 694.931} + {382.072, 692.867} + + Style + + stroke + + HeadArrow + FilledArrow + TailArrow + 0 + + + Tail + + ID + 460 + + + + Class + LineGraphic + Head + + ID + 459 + + ID + 24 + Points + + {470.674, 710.035} + {455.854, 697.931} + {440.344, 694.832} + + Style + + stroke + + HeadArrow + FilledArrow + TailArrow + 0 + + + Tail + + ID + 461 + + + + Bounds + {{291.844, 651.041}, {164, 21}} + Class + ShapedGraphic + FitText + YES + Flow + Resize + FontInfo + + Font + HiraKakuProN-W3 + Size + 12 + + ID + 463 + Shape + Rectangle + Style + + fill + + Draws + NO + + shadow + + Draws + NO + + stroke + + Draws + NO + + + Text + + Text + {\rtf1\ansi\ansicpg932\cocoartf949\cocoasubrtf430 +{\fonttbl\f0\fnil\fcharset128 HiraKakuProN-W3;} +{\colortbl;\red255\green255\blue255;} +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc\pardirnatural + +\f0\fs28 \cf0 \'83\'5e\'83\'58\'83\'4e\'82\'cc\'88\'cb\'91\'b6\'8a\'d6\'8c\'57\'82\'cc\'8b\'4c\'8f\'71} + + Wrap + NO + + + Bounds + {{382.354, 746.865}, {58, 34}} + Class + ShapedGraphic + ID + 462 + Shape + RoundRect + Style + + fill + + Color + + b + 0.811567 + g + 0.547905 + r + 1 + + + + Text + + Text + {\rtf1\ansi\ansicpg932\cocoartf949\cocoasubrtf430 +{\fonttbl\f0\fswiss\fcharset0 Helvetica;} +{\colortbl;\red255\green255\blue255;} +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc\pardirnatural + +\f0\fs24 \cf0 TASK C} + + + + Bounds + {{462.844, 710.326}, {58, 34}} + Class + ShapedGraphic + ID + 461 + Shape + RoundRect + Style + + fill + + Color + + b + 1 + g + 0.786073 + r + 0 + + + + Text + + Text + {\rtf1\ansi\ansicpg932\cocoartf949\cocoasubrtf430 +{\fonttbl\f0\fswiss\fcharset0 Helvetica;} +{\colortbl;\red255\green255\blue255;} +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc\pardirnatural + +\f0\fs24 \cf0 TASK B} + + + + Bounds + {{303.844, 710.326}, {58, 34}} + Class + ShapedGraphic + ID + 460 + Shape + RoundRect + Style + + fill + + Color + + b + 1 + g + 0.823006 + r + 0 + + + + Text + + Text + {\rtf1\ansi\ansicpg932\cocoartf949\cocoasubrtf430 +{\fonttbl\f0\fswiss\fcharset0 Helvetica;} +{\colortbl;\red255\green255\blue255;} +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc\pardirnatural + +\f0\fs24 \cf0 TASK C} + + + + Bounds + {{382.354, 672.041}, {58, 34}} + Class + ShapedGraphic + ID + 459 + Shape + RoundRect + Style + + fill + + Color + + b + 0 + g + 1 + r + 0.762519 + + + + Text + + Text + {\rtf1\ansi\ansicpg932\cocoartf949\cocoasubrtf430 +{\fonttbl\f0\fswiss\fcharset0 Helvetica;} +{\colortbl;\red255\green255\blue255;} +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc\pardirnatural + +\f0\fs24 \cf0 TASK A} + + + + Bounds + {{127.488, 188.415}, {37, 14}} + Class + ShapedGraphic + FitText + YES + Flow + Resize + ID + 457 + Shape + Rectangle + Style + + fill + + Draws + NO + + shadow + + Draws + NO + + stroke + + Draws + NO + + + Text + + Text + {\rtf1\ansi\ansicpg932\cocoartf949\cocoasubrtf430 +{\fonttbl\f0\fswiss\fcharset0 Helvetica;} +{\colortbl;\red255\green255\blue255;} +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc\pardirnatural + +\f0\fs24 \cf0 cube} + + Wrap + NO + + + Bounds + {{147.5, 299.978}, {37, 14}} + Class + ShapedGraphic + FitText + YES + Flow + Resize + ID + 456 + Shape + Rectangle + Style + + fill + + Draws + NO + + shadow + + Draws + NO + + stroke + + Draws + NO + + + Text + + Text + {\rtf1\ansi\ansicpg932\cocoartf949\cocoasubrtf430 +{\fonttbl\f0\fswiss\fcharset0 Helvetica;} +{\colortbl;\red255\green255\blue255;} +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc\pardirnatural + +\f0\fs24 \cf0 cube} + + Wrap + NO + + + Bounds + {{211.078, 317.271}, {43, 14}} + Class + ShapedGraphic + FitText + YES + Flow + Resize + ID + 455 + Shape + Rectangle + Style + + fill + + Draws + NO + + shadow + + Draws + NO + + stroke + + Draws + NO + + + Text + + Text + {\rtf1\ansi\ansicpg932\cocoartf949\cocoasubrtf430 +{\fonttbl\f0\fswiss\fcharset0 Helvetica;} +{\colortbl;\red255\green255\blue255;} +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc\pardirnatural + +\f0\fs24 \cf0 ball_b} + + Wrap + NO + + + Bounds + {{47.922, 291.563}, {43, 14}} + Class + ShapedGraphic + FitText + YES + Flow + Resize + ID + 454 + Shape + Rectangle + Style + + fill + + Draws + NO + + shadow + + Draws + NO + + stroke + + Draws + NO + + + Text + + Text + {\rtf1\ansi\ansicpg932\cocoartf949\cocoasubrtf430 +{\fonttbl\f0\fswiss\fcharset0 Helvetica;} +{\colortbl;\red255\green255\blue255;} +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc\pardirnatural + +\f0\fs24 \cf0 ball_a} + + Wrap + NO + + + Class + LineGraphic + ID + 23 + Points + + {14.16, 430.354} + {541, 428} + + Style + + stroke + + HeadArrow + 0 + TailArrow + 0 + + + + + Bounds + {{311.344, 476.697}, {209.5, 120}} + Class + ShapedGraphic + FitText + Vertical + Flow + Resize + ID + 453 + Shape + Rectangle + Style + + fill + + Draws + NO + + shadow + + Draws + NO + + + Text + + Align + 0 + Text + {\rtf1\ansi\ansicpg932\cocoartf949\cocoasubrtf430 +{\fonttbl\f0\fswiss\fcharset0 Helvetica;\f1\fnil\fcharset128 HiraKakuProN-W3;} +{\colortbl;\red255\green255\blue255;} +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural + +\f0\fs20 \cf0 /* +\f1 \'83\'5e\'83\'58\'83\'4e +\f0 ID +\f1 \'82\'cc\'8e\'77\'92\'e8 +\f0 */\ +task = manager->create_task(SPU_TASK);\ +/* +\f1 \'93\'fc\'8f\'6f\'97\'cd\'90\'e6\'82\'cc\'8e\'77\'92\'e8 +\f0 */\ +task->add_inData(rbuff, rbuff_SIZE);\ +task->add_outData(wbuff, wbuff_SIZE);\ +task->set_cpu(SPE_ANY);\ +/* +\f1 \'83\'5e\'83\'58\'83\'4e\'93\'8a\'93\'fc +\f0 */\ +task->spawn();\ +} + + + + Class + LineGraphic + Head + + ID + 448 + Info + 1 + + ID + 450 + Points + + {125.9, 550.463} + {76.188, 552.547} + {70.578, 577.147} + + Style + + stroke + + HeadArrow + 0 + LineType + 1 + TailArrow + FilledArrow + + + Tail + + ID + 447 + Info + 20 + + + + Class + LineGraphic + Head + + ID + 447 + Info + 4 + + ID + 449 + Points + + {168.831, 504.686} + {212.188, 506.947} + {219.474, 531.151} + + Style + + stroke + + HeadArrow + 0 + LineType + 1 + TailArrow + FilledArrow + + + Tail + + ID + 4 + + + + Bounds + {{44.188, 577.147}, {91, 28}} + Class + ShapedGraphic + ID + 448 + Magnets + + {-0.51631, -1.22931} + {-0.184863, -1.32046} + {0.184864, -1.32046} + {0.516311, -1.22931} + {0.857808, -1.02076} + {0.985614, -0.897966} + {1.14877, -0.676835} + {1.27663, -0.384684} + {1.27663, 0.384688} + {1.12501, 0.715641} + {0.974719, 0.909781} + {0.849335, 1.02782} + {0.516308, 1.22931} + {0.184864, 1.32046} + {-0.184862, 1.32046} + {-0.516308, 1.22931} + {-0.857805, 1.02076} + {-0.985612, 0.897968} + {-1.14877, 0.676839} + {-1.27663, 0.384689} + {-1.27663, -0.384684} + {-1.12501, -0.715638} + {-0.974721, -0.909779} + {-0.849336, -1.02782} + + Shape + RoundRect + Style + + fill + + Color + + b + 0.831081 + g + 0.592406 + r + 1 + + + + Text + + Text + {\rtf1\ansi\ansicpg932\cocoartf949\cocoasubrtf430 +{\fonttbl\f0\fnil\fcharset128 HiraKakuProN-W3;} +{\colortbl;\red255\green255\blue255;} +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc\pardirnatural + +\f0\fs20 \cf0 \'83\'58\'83\'70\'83\'93\'82\'f0\'95\'60\'89\'e6} + + + + Bounds + {{125.188, 531.63}, {133, 28}} + Class + ShapedGraphic + ID + 447 + Magnets + + {-0.516309, -1.22931} + {-0.184864, -1.32046} + {0.184864, -1.32046} + {0.51631, -1.22931} + {0.841074, -1.03459} + {0.95341, -0.932088} + {1.10115, -0.751826} + {1.25844, -0.440575} + {1.2487, 0.467459} + {1.07737, 0.785522} + {0.943009, 0.942609} + {0.833021, 1.04108} + {0.516309, 1.22931} + {0.184864, 1.32046} + {-0.184864, 1.32046} + {-0.516309, 1.22931} + {-0.841072, 1.03459} + {-0.953408, 0.932089} + {-1.10115, 0.751829} + {-1.25844, 0.440575} + {-1.2487, -0.467455} + {-1.07738, -0.785519} + {-0.943011, -0.942607} + {-0.833023, -1.04108} + + Shape + RoundRect + Style + + fill + + Color + + b + 1 + g + 0.834562 + r + 0 + + + + Text + + Text + {\rtf1\ansi\ansicpg932\cocoartf949\cocoasubrtf430 +{\fonttbl\f0\fnil\fcharset128 HiraKakuProN-W3;} +{\colortbl;\red255\green255\blue255;} +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc\pardirnatural + +\f0\fs20 \cf0 \'83\'7c\'83\'8a\'83\'53\'83\'93\'82\'a9\'82\'e7\'83\'58\'83\'70\'83\'93\'82\'f0\'90\'b6\'90\'ac} + + + + Bounds + {{35.9379, 487.224}, {133, 28}} + Class + ShapedGraphic + ID + 4 + Shape + RoundRect + Style + + fill + + Color + + b + 0 + g + 1 + r + 0.713927 + + + + Text + + Text + {\rtf1\ansi\ansicpg932\cocoartf949\cocoasubrtf430 +{\fonttbl\f0\fswiss\fcharset0 Helvetica;\f1\fnil\fcharset128 HiraKakuProN-W3;} +{\colortbl;\red255\green255\blue255;} +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc\pardirnatural + +\f0\fs20 \cf0 SceneGraph\ +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc\pardirnatural + +\f1 \cf0 \'82\'a9\'82\'e7\'83\'7c\'83\'8a\'83\'53\'83\'93\'82\'f0\'90\'b6\'90\'ac} + + + + Bounds + {{319.594, 451.865}, {193, 23}} + Class + ShapedGraphic + FitText + YES + Flow + Resize + FontInfo + + Font + Helvetica + Size + 12 + + ID + 446 + Shape + Rectangle + Style + + fill + + Draws + NO + + shadow + + Draws + NO + + stroke + + Draws + NO + + + Text + + Text + {\rtf1\ansi\ansicpg932\cocoartf949\cocoasubrtf430 +{\fonttbl\f0\fswiss\fcharset0 Helvetica;\f1\fnil\fcharset128 HiraKakuProN-W3;} +{\colortbl;\red255\green255\blue255;} +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc\pardirnatural + +\f0\fs28 \cf0 SPU +\f1 \'82\'c5\'8b\'4e\'93\'ae\'82\'b7\'82\'e9\'83\'5e\'83\'58\'83\'4e\'82\'cc\'90\'b6\'90\'ac} + + Wrap + NO + + + Bounds + {{123.578, 244.563}, {66, 21}} + Class + ShapedGraphic + FitText + YES + Flow + Resize + FontInfo + + Font + HiraKakuProN-W3 + Size + 12 + + ID + 445 + Shape + Rectangle + Style + + fill + + Draws + NO + + shadow + + Draws + NO + + stroke + + Draws + NO + + + Text + + Text + {\rtf1\ansi\ansicpg932\cocoartf949\cocoasubrtf430 +{\fonttbl\f0\fnil\fcharset128 HiraKakuProN-W3;} +{\colortbl;\red255\green255\blue255;} +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc\pardirnatural + +\f0\fs28 \cf0 \'8e\'71\'82\'cc\'92\'c7\'89\'c1} + + Wrap + NO + + + Bounds + {{98.9885, 133}, {94, 21}} + Class + ShapedGraphic + FitText + YES + Flow + Resize + FontInfo + + Font + HiraKakuProN-W3 + Size + 14 + + ID + 444 + Shape + Rectangle + Style + + fill + + Draws + NO + + shadow + + Draws + NO + + stroke + + Draws + NO + + + Text + + Text + {\rtf1\ansi\ansicpg932\cocoartf949\cocoasubrtf430 +{\fonttbl\f0\fnil\fcharset128 HiraKakuProN-W3;} +{\colortbl;\red255\green255\blue255;} +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc\pardirnatural + +\f0\fs28 \cf0 \'83\'7c\'83\'8a\'83\'53\'83\'93\'8d\'ec\'90\'ac} + + Wrap + NO + + + Bounds + {{36.078, 346.489}, {234, 60}} + Class + ShapedGraphic + FitText + Vertical + Flow + Resize + ID + 442 + Shape + Rectangle + Style + + fill + + Draws + NO + + shadow + + Draws + NO + + + Text + + Align + 0 + Text + {\rtf1\ansi\ansicpg932\cocoartf949\cocoasubrtf430 +{\fonttbl\f0\fswiss\fcharset0 Helvetica;} +{\colortbl;\red255\green255\blue255;} +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural + +\f0\fs20 \cf0 ball_a = sgroot->createSceneGraph(BALL_A_ID);\ +ball_b = sgroot->createSceneGraph(BALL_B_ID);\ +cube->add_child(ball_a);\ +cube->add_child(ball_b);\ +} + + + + Class + LineGraphic + Head + + ID + 438 + + ID + 439 + Points + + {182.789, 288.278} + {219.155, 297.756} + + Style + + stroke + + GapRatio + 0.5 + HeadArrow + FilledArrow + LineType + 1 + TailArrow + 0 + Width + 4 + + + Tail + + ID + 419 + + + + Bounds + {{218.656, 290.271}, {27.844, 28}} + Class + ShapedGraphic + HFlip + YES + ID + 438 + Magnets + + {1, 0.5} + {1, -0.5} + {-1, 0.5} + {-1, -0.5} + {0.5, 1} + {-0.5, 1} + {0.5, -1} + {-0.5, -1} + + Shape + Circle + Style + + fill + + Color + + b + 0.489934 + g + 0 + r + 1 + + FillType + 3 + GradientAngle + 270 + GradientCenter + {0.228571, -0.247619} + GradientColor + + b + 0.023095 + g + 0.0396825 + r + 0.005354 + + + shadow + + Color + + a + 0.5 + b + 0.333333 + g + 0.333333 + r + 0.333333 + + + stroke + + Cap + 0 + Color + + b + 0.023095 + g + 0.0396825 + r + 0.005354 + + Join + 0 + Width + 2 + + + VFlip + YES + + + Class + LineGraphic + Head + + ID + 33 + Info + 6 + + ID + 436 + Points + + {148.5, 290.165} + {76.6086, 311.462} + + Style + + stroke + + GapRatio + 0.5 + HeadArrow + FilledArrow + LineType + 1 + TailArrow + 0 + Width + 4 + + + Tail + + ID + 419 + + + + Class + Group + Graphics + + + Class + LineGraphic + Head + + ID + 431 + + ID + 420 + Points + + {168.881, 299.978} + {168.881, 288.399} + + Style + + stroke + + HeadArrow + 0 + TailArrow + 0 + Width + 2 + + + Tail + + ID + 427 + Info + 1 + + + + Class + LineGraphic + Head + + ID + 425 + + ID + 421 + Points + + {168.88, 288.4} + {182.468, 288.078} + + Style + + stroke + + HeadArrow + 0 + TailArrow + 0 + Width + 2 + + + Tail + + ID + 430 + Info + 1 + + + + Class + LineGraphic + Head + + ID + 431 + + ID + 422 + Points + + {155.293, 297.083} + {168.881, 288.399} + + Style + + stroke + + HeadArrow + 0 + TailArrow + 0 + Width + 2 + + + Tail + + ID + 427 + + + + Class + LineGraphic + Head + + ID + 434 + Info + 1 + + ID + 423 + Points + + {155.293, 297.083} + {158.351, 283.575} + + Style + + stroke + + HeadArrow + 0 + TailArrow + 0 + Width + 2 + + + Tail + + ID + 428 + Info + 1 + + + + Class + LineGraphic + ID + 424 + Points + + {155.293, 297.083} + {148.5, 277.142} + + Style + + stroke + + HeadArrow + 0 + TailArrow + 0 + Width + 2 + + + Tail + + ID + 428 + Info + 1 + + + + Class + LineGraphic + ID + 425 + Points + + {182.468, 288.078} + {181.789, 271.996} + + Style + + stroke + + HeadArrow + 0 + TailArrow + 0 + Width + 2 + + + + + Class + LineGraphic + ID + 426 + Points + + {168.881, 299.656} + {182.467, 288.399} + + Style + + stroke + + HeadArrow + 0 + TailArrow + 0 + Width + 2 + + + + + Class + LineGraphic + ID + 427 + Points + + {155.293, 297.083} + {168.881, 299.978} + + Style + + stroke + + HeadArrow + 0 + TailArrow + 0 + Width + 2 + + + + + Class + LineGraphic + ID + 428 + Points + + {148.5, 290.972} + {155.293, 297.083} + + Style + + stroke + + HeadArrow + 0 + TailArrow + 0 + Width + 2 + + + + + Class + LineGraphic + Head + + ID + 434 + Info + 1 + + ID + 429 + Points + + {181.789, 271.996} + {158.351, 283.575} + + Style + + stroke + + HeadArrow + 0 + TailArrow + 0 + Width + 2 + + + Tail + + ID + 433 + Info + 1 + + + + Class + LineGraphic + ID + 430 + Points + + {158.351, 283.575} + {168.88, 288.4} + + Style + + stroke + + HeadArrow + 0 + TailArrow + 0 + Width + 2 + + + Tail + + ID + 434 + Info + 1 + + + + Class + LineGraphic + Head + + ID + 433 + Info + 1 + + ID + 431 + Points + + {168.881, 288.399} + {181.789, 271.996} + + Style + + stroke + + HeadArrow + 0 + TailArrow + 0 + Width + 2 + + + + + Class + LineGraphic + ID + 432 + Points + + {148.5, 277.142} + {148.5, 290.651} + + Style + + stroke + + HeadArrow + 0 + TailArrow + 0 + Width + 2 + + + Tail + + ID + 435 + + + + Class + LineGraphic + ID + 433 + Points + + {166.843, 265.563} + {181.789, 271.996} + + Style + + stroke + + HeadArrow + 0 + TailArrow + 0 + Width + 2 + + + Tail + + ID + 435 + Info + 1 + + + + Class + LineGraphic + ID + 434 + Points + + {148.5, 277.142} + {158.351, 283.575} + + Style + + stroke + + HeadArrow + 0 + TailArrow + 0 + Width + 2 + + + Tail + + ID + 435 + + + + Class + LineGraphic + ID + 435 + Points + + {148.5, 277.142} + {166.843, 265.563} + + Style + + stroke + + HeadArrow + 0 + TailArrow + 0 + Width + 2 + + + + + GroupConnect + YES + ID + 419 + + + Bounds + {{55.5, 310.271}, {27.844, 28}} + Class + ShapedGraphic + HFlip + YES + ID + 33 + Magnets + + {1, 0.5} + {1, -0.5} + {-1, 0.5} + {-1, -0.5} + {0.5, 1} + {-0.5, 1} + {0.5, -1} + {-0.5, -1} + + Shape + Circle + Style + + fill + + Color + + b + 0 + g + 1 + r + 0.699948 + + FillType + 3 + GradientAngle + 270 + GradientCenter + {0.228571, -0.247619} + GradientColor + + b + 0.023095 + g + 0.0396825 + r + 0.005354 + + + shadow + + Color + + a + 0.5 + b + 0.333333 + g + 0.333333 + r + 0.333333 + + + stroke + + Cap + 0 + Color + + b + 0.023095 + g + 0.0396825 + r + 0.005354 + + Join + 0 + Width + 2 + + + VFlip + YES + + + Bounds + {{353, 136}, {131, 23}} + Class + ShapedGraphic + FitText + YES + Flow + Resize + FontInfo + + Font + Helvetica + Size + 12 + + ID + 443 + Shape + Rectangle + Style + + fill + + Draws + NO + + shadow + + Draws + NO + + stroke + + Draws + NO + + + Text + + Text + {\rtf1\ansi\ansicpg932\cocoartf949\cocoasubrtf430 +{\fonttbl\f0\fswiss\fcharset0 Helvetica;\f1\fnil\fcharset128 HiraKakuProN-W3;} +{\colortbl;\red255\green255\blue255;} +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc\pardirnatural + +\f0\fs28 \cf0 SceneGraph +\f1 \'82\'cc\'90\'b6\'90\'ac} + + Wrap + NO + + + Bounds + {{301.5, 159}, {234, 248}} + Class + ShapedGraphic + FitText + YES + Flow + Resize + ID + 417 + Shape + Rectangle + Style + + fill + + Draws + NO + + shadow + + Draws + NO + + + Text + + Align + 0 + Text + {\rtf1\ansi\ansicpg932\cocoartf949\cocoasubrtf430 +{\fonttbl\f0\fswiss\fcharset0 Helvetica;\f1\fnil\fcharset128 HiraKakuProN-W3;} +{\colortbl;\red255\green255\blue255;} +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural + +\f0\fs20 \cf0 init() \{\ + /* +\f1 \'8d\'c5\'8f\'89\'82\'c5\'93\'c7\'82\'dd\'8d\'9e\'82\'dd +\f0 */\ + sgroot->createFromXML("cube.xml", ID);\ +\ + /* +\f1 \'83\'56\'81\'5b\'83\'93\'83\'4f\'83\'89\'83\'74\'82\'f0\'90\'b6\'90\'ac +\f0 */\ + sgp = sgroot->createSceneGraph(ID);\ + sgp->set_move_collision(move_method,\ + collision_method);\ +\ + /* +\f1 \'83\'56\'81\'5b\'83\'93\'83\'4f\'83\'89\'83\'74\'82\'f0\'89\'e6\'96\'ca\'82\'c9\'95\'5c\'8e\'a6 +\f0 */\ + sgroot->set_scene_data(sgp);\ +\}\ +\ +move_method () \{\ + /* SceneGraph +\f1 \'82\'cc\'8d\'c0\'95\'57\'82\'f0\'95\'cf\'8d\'58\'82\'b7\'82\'e9\'8f\'88\'97\'9d +\f0 */\ +\}\ +collision_method () \{\ + /* +\f1 \'8e\'a9\'95\'aa\'88\'c8\'8a\'4f\'82\'cc +\f0 SceneGraph +\f1 \'82\'c6\'8a\'d6\'98\'41\'82\'b7\'82\'e9\'8f\'88\'97\'9d +\f0 */\ +\}} + + Wrap + NO + + + Bounds + {{211.078, 197}, {59, 14}} + Class + ShapedGraphic + FitText + YES + Flow + Resize + ID + 416 + Shape + Rectangle + Style + + fill + + Draws + NO + + shadow + + Draws + NO + + stroke + + Draws + NO + + + Text + + Text + {\rtf1\ansi\ansicpg932\cocoartf949\cocoasubrtf430 +{\fonttbl\f0\fswiss\fcharset0 Helvetica;} +{\colortbl;\red255\green255\blue255;} +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc\pardirnatural + +\f0\fs24 \cf0 cube.xml} + + Wrap + NO + + + Class + LineGraphic + Head + + ID + 416 + + ID + 76 + Points + + {163.133, 171.659} + {214, 173} + {234.577, 197} + + Style + + stroke + + HeadArrow + FilledArrow + LineType + 1 + TailArrow + 0 + Width + 2 + + + Tail + + ID + 353 + + + + Class + LineGraphic + Head + + ID + 353 + + ID + 22 + Points + + {77, 174.676} + {86.289, 170} + {128.844, 170.861} + + Style + + stroke + + HeadArrow + FilledArrow + LineType + 1 + TailArrow + 0 + Width + 2 + + + Tail + + ID + 472 + + + + Bounds + {{31.344, 202}, {52, 14}} + Class + ShapedGraphic + FitText + YES + Flow + Resize + ID + 415 + Shape + Rectangle + Style + + fill + + Draws + NO + + shadow + + Draws + NO + + stroke + + Draws + NO + + + Text + + Text + {\rtf1\ansi\ansicpg932\cocoartf949\cocoasubrtf430 +{\fonttbl\f0\fswiss\fcharset0 Helvetica;} +{\colortbl;\red255\green255\blue255;} +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc\pardirnatural + +\f0\fs24 \cf0 Blender} + + Wrap + NO + + + Class + Group + Graphics + + + Class + LineGraphic + Head + + ID + 365 + + ID + 354 + Points + + {149.225, 188.415} + {149.225, 176.836} + + Style + + stroke + + HeadArrow + 0 + TailArrow + 0 + Width + 2 + + + Tail + + ID + 361 + Info + 1 + + + + Class + LineGraphic + Head + + ID + 359 + + ID + 355 + Points + + {149.224, 176.837} + {162.812, 176.515} + + Style + + stroke + + HeadArrow + 0 + TailArrow + 0 + Width + 2 + + + Tail + + ID + 364 + Info + 1 + + + + Class + LineGraphic + Head + + ID + 365 + + ID + 356 + Points + + {135.637, 185.52} + {149.225, 176.836} + + Style + + stroke + + HeadArrow + 0 + TailArrow + 0 + Width + 2 + + + Tail + + ID + 361 + + + + Class + LineGraphic + Head + + ID + 368 + Info + 1 + + ID + 357 + Points + + {135.637, 185.52} + {138.695, 172.012} + + Style + + stroke + + HeadArrow + 0 + TailArrow + 0 + Width + 2 + + + Tail + + ID + 362 + Info + 1 + + + + Class + LineGraphic + ID + 358 + Points + + {135.637, 185.52} + {128.844, 165.579} + + Style + + stroke + + HeadArrow + 0 + TailArrow + 0 + Width + 2 + + + Tail + + ID + 362 + Info + 1 + + + + Class + LineGraphic + ID + 359 + Points + + {162.812, 176.515} + {162.133, 160.433} + + Style + + stroke + + HeadArrow + 0 + TailArrow + 0 + Width + 2 + + + + + Class + LineGraphic + ID + 360 + Points + + {149.225, 188.093} + {162.811, 176.836} + + Style + + stroke + + HeadArrow + 0 + TailArrow + 0 + Width + 2 + + + + + Class + LineGraphic + ID + 361 + Points + + {135.637, 185.52} + {149.225, 188.415} + + Style + + stroke + + HeadArrow + 0 + TailArrow + 0 + Width + 2 + + + + + Class + LineGraphic + ID + 362 + Points + + {128.844, 179.409} + {135.637, 185.52} + + Style + + stroke + + HeadArrow + 0 + TailArrow + 0 + Width + 2 + + + + + Class + LineGraphic + Head + + ID + 368 + Info + 1 + + ID + 363 + Points + + {162.133, 160.433} + {138.695, 172.012} + + Style + + stroke + + HeadArrow + 0 + TailArrow + 0 + Width + 2 + + + Tail + + ID + 367 + Info + 1 + + + + Class + LineGraphic + ID + 364 + Points + + {138.695, 172.012} + {149.224, 176.837} + + Style + + stroke + + HeadArrow + 0 + TailArrow + 0 + Width + 2 + + + Tail + + ID + 368 + Info + 1 + + + + Class + LineGraphic + Head + + ID + 367 + Info + 1 + + ID + 365 + Points + + {149.225, 176.836} + {162.133, 160.433} + + Style + + stroke + + HeadArrow + 0 + TailArrow + 0 + Width + 2 + + + + + Class + LineGraphic + ID + 366 + Points + + {128.844, 165.579} + {128.844, 179.088} + + Style + + stroke + + HeadArrow + 0 + TailArrow + 0 + Width + 2 + + + Tail + + ID + 369 + + + + Class + LineGraphic + ID + 367 + Points + + {147.187, 154} + {162.133, 160.433} + + Style + + stroke + + HeadArrow + 0 + TailArrow + 0 + Width + 2 + + + Tail + + ID + 369 + Info + 1 + + + + Class + LineGraphic + ID + 368 + Points + + {128.844, 165.579} + {138.695, 172.012} + + Style + + stroke + + HeadArrow + 0 + TailArrow + 0 + Width + 2 + + + Tail + + ID + 369 + + + + Class + LineGraphic + ID + 369 + Points + + {128.844, 165.579} + {147.187, 154} + + Style + + stroke + + HeadArrow + 0 + TailArrow + 0 + Width + 2 + + + + + GroupConnect + YES + ID + 353 + + + Bounds + {{14.16, 25.4365}, {533, 91}} + Class + ShapedGraphic + FitText + Vertical + Flow + Resize + ID + 90 + Shape + Rectangle + Style + + fill + + Color + + b + 0.501961 + g + 0 + r + 0 + + + shadow + + Draws + NO + + stroke + + Color + + b + 1 + g + 1 + r + 1 + + + + Text + + Text + {\rtf1\ansi\ansicpg932\cocoartf949\cocoasubrtf430 +{\fonttbl\f0\fswiss\fcharset0 ArialMT;\f1\fnil\fcharset128 HiraKakuPro-W3;} +{\colortbl;\red255\green255\blue255;} +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc\pardirnatural + +\f0\b\fs60 \cf1 Cerium +\f1 \'82\'c5\'82\'cc\ +\'83\'76\'83\'8d\'83\'4f\'83\'89\'83\'7e\'83\'93\'83\'4f\'82\'cc\'97\'e1} + + + + Bounds + {{30.1879, 461.259}, {234, 159.289}} + Class + ShapedGraphic + ID + 3 + Magnets + + {-0.685995, -1.14332} + {-0.261489, -1.30744} + {0.261488, -1.30744} + {0.685994, -1.14332} + {1.14332, -0.685994} + {1.30744, -0.261488} + {1.30744, 0.261488} + {1.14332, 0.685994} + {0.685994, 1.14332} + {0.261487, 1.30744} + {-0.261489, 1.30744} + {-0.685995, 1.14332} + {-1.14332, 0.685993} + {-1.30744, 0.261488} + {-1.30744, -0.261488} + {-1.14332, -0.685994} + + Shape + Rectangle + Style + + shadow + + Draws + NO + + stroke + + CornerRadius + 33 + + + TextPlacement + 0 + + + GridInfo + + GuidesLocked + NO + GuidesVisible + YES + HPages + 8 + ImageCounter + 21 + ImageLinkBack + + + + ImageList + + image20.png + + IsPalette + NO + KeepToScale + + Layers + + + Lock + NO + Name + レイヤー 1 + Print + YES + View + YES + + + LayoutInfo + + LinksVisible + NO + MagnetsVisible + NO + MasterSheet + マスター 1 + MasterSheets + + + ActiveLayerIndex + 0 + AutoAdjust + + CanvasColor + + w + 1 + + CanvasOrigin + {0, 0} + CanvasScale + 1 + ColumnAlign + 1 + ColumnSpacing + 36 + DisplayScale + 1 cm = 1 cm + GraphicsList + + GridInfo + + HPages + 1 + IsPalette + NO + KeepToScale + + Layers + + + Lock + NO + Name + レイヤー 1 + Print + YES + View + YES + + + LayoutInfo + + Orientation + 2 + OutlineStyle + Basic + RowAlign + 1 + RowSpacing + 36 + SheetTitle + マスター 1 + UniqueID + 1 + VPages + 1 + + + ModificationDate + 2009-09-26 00:11:39 +0900 + Modifier + kent + NotesVisible + NO + Orientation + 2 + OriginVisible + NO + OutlineStyle + Basic + PageBreaks + YES + PrintInfo + + NSBottomMargin + + coded + BAt0eXBlZHN0cmVhbYED6IQBQISEhAhOU051bWJlcgCEhAdOU1ZhbHVlAISECE5TT2JqZWN0AIWEASqEhAFklwCG + + NSLeftMargin + + coded + BAt0eXBlZHN0cmVhbYED6IQBQISEhAhOU051bWJlcgCEhAdOU1ZhbHVlAISECE5TT2JqZWN0AIWEASqEhAFklwCG + + NSPaperSize + + size + {595, 842} + + NSRightMargin + + coded + BAt0eXBlZHN0cmVhbYED6IQBQISEhAhOU051bWJlcgCEhAdOU1ZhbHVlAISECE5TT2JqZWN0AIWEASqEhAFklwCG + + NSTopMargin + + coded + BAt0eXBlZHN0cmVhbYED6IQBQISEhAhOU051bWJlcgCEhAdOU1ZhbHVlAISECE5TT2JqZWN0AIWEASqEhAFklwCG + + + ReadOnly + NO + RowAlign + 1 + RowSpacing + 36 + SheetTitle + キャンバス 1 + SmartAlignmentGuidesActive + YES + SmartDistanceGuidesActive + YES + UniqueID + 1 + UseEntirePage + + VPages + 3 + WindowInfo + + CurrentSheet + 0 + DrawerOpen + + DrawerTab + Outline + DrawerWidth + 209 + Frame + {{43, 79}, {592, 635}} + VisibleRegion + {{0, 0}, {577, 521}} + Zoom + 0.99999982118606567 + + + diff -r f47491f4e791 -r fa9dd91bc77d OSC2009_HowtoProgrammingwithCerium.graffle/image20.png Binary file OSC2009_HowtoProgrammingwithCerium.graffle/image20.png has changed