diff options
Diffstat (limited to 'unipdf/internal/graphic2d/graphic2d.go')
| -rw-r--r-- | unipdf/internal/graphic2d/graphic2d.go | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/unipdf/internal/graphic2d/graphic2d.go b/unipdf/internal/graphic2d/graphic2d.go new file mode 100644 index 0000000..4e95295 --- /dev/null +++ b/unipdf/internal/graphic2d/graphic2d.go @@ -0,0 +1,50 @@ +// +// Copyright 2020 FoxyUtils ehf. All rights reserved. +// +// This is a commercial product and requires a license to operate. +// A trial license can be obtained at https://unidoc.io +// +// DO NOT EDIT: generated by unitwist Go source code obfuscator. +// +// Use of this source code is governed by the UniDoc End User License Agreement +// terms that can be accessed at https://unidoc.io/eula/ + +package graphic2d ;import (_eg "image/color";_c "math";);var (Aliceblue =_eg .RGBA {0xf0,0xf8,0xff,0xff};Antiquewhite =_eg .RGBA {0xfa,0xeb,0xd7,0xff};Aqua =_eg .RGBA {0x00,0xff,0xff,0xff};Aquamarine =_eg .RGBA {0x7f,0xff,0xd4,0xff};Azure =_eg .RGBA {0xf0,0xff,0xff,0xff}; +Beige =_eg .RGBA {0xf5,0xf5,0xdc,0xff};Bisque =_eg .RGBA {0xff,0xe4,0xc4,0xff};Black =_eg .RGBA {0x00,0x00,0x00,0xff};Blanchedalmond =_eg .RGBA {0xff,0xeb,0xcd,0xff};Blue =_eg .RGBA {0x00,0x00,0xff,0xff};Blueviolet =_eg .RGBA {0x8a,0x2b,0xe2,0xff};Brown =_eg .RGBA {0xa5,0x2a,0x2a,0xff}; +Burlywood =_eg .RGBA {0xde,0xb8,0x87,0xff};Cadetblue =_eg .RGBA {0x5f,0x9e,0xa0,0xff};Chartreuse =_eg .RGBA {0x7f,0xff,0x00,0xff};Chocolate =_eg .RGBA {0xd2,0x69,0x1e,0xff};Coral =_eg .RGBA {0xff,0x7f,0x50,0xff};Cornflowerblue =_eg .RGBA {0x64,0x95,0xed,0xff}; +Cornsilk =_eg .RGBA {0xff,0xf8,0xdc,0xff};Crimson =_eg .RGBA {0xdc,0x14,0x3c,0xff};Cyan =_eg .RGBA {0x00,0xff,0xff,0xff};Darkblue =_eg .RGBA {0x00,0x00,0x8b,0xff};Darkcyan =_eg .RGBA {0x00,0x8b,0x8b,0xff};Darkgoldenrod =_eg .RGBA {0xb8,0x86,0x0b,0xff}; +Darkgray =_eg .RGBA {0xa9,0xa9,0xa9,0xff};Darkgreen =_eg .RGBA {0x00,0x64,0x00,0xff};Darkgrey =_eg .RGBA {0xa9,0xa9,0xa9,0xff};Darkkhaki =_eg .RGBA {0xbd,0xb7,0x6b,0xff};Darkmagenta =_eg .RGBA {0x8b,0x00,0x8b,0xff};Darkolivegreen =_eg .RGBA {0x55,0x6b,0x2f,0xff}; +Darkorange =_eg .RGBA {0xff,0x8c,0x00,0xff};Darkorchid =_eg .RGBA {0x99,0x32,0xcc,0xff};Darkred =_eg .RGBA {0x8b,0x00,0x00,0xff};Darksalmon =_eg .RGBA {0xe9,0x96,0x7a,0xff};Darkseagreen =_eg .RGBA {0x8f,0xbc,0x8f,0xff};Darkslateblue =_eg .RGBA {0x48,0x3d,0x8b,0xff}; +Darkslategray =_eg .RGBA {0x2f,0x4f,0x4f,0xff};Darkslategrey =_eg .RGBA {0x2f,0x4f,0x4f,0xff};Darkturquoise =_eg .RGBA {0x00,0xce,0xd1,0xff};Darkviolet =_eg .RGBA {0x94,0x00,0xd3,0xff};Deeppink =_eg .RGBA {0xff,0x14,0x93,0xff};Deepskyblue =_eg .RGBA {0x00,0xbf,0xff,0xff}; +Dimgray =_eg .RGBA {0x69,0x69,0x69,0xff};Dimgrey =_eg .RGBA {0x69,0x69,0x69,0xff};Dodgerblue =_eg .RGBA {0x1e,0x90,0xff,0xff};Firebrick =_eg .RGBA {0xb2,0x22,0x22,0xff};Floralwhite =_eg .RGBA {0xff,0xfa,0xf0,0xff};Forestgreen =_eg .RGBA {0x22,0x8b,0x22,0xff}; +Fuchsia =_eg .RGBA {0xff,0x00,0xff,0xff};Gainsboro =_eg .RGBA {0xdc,0xdc,0xdc,0xff};Ghostwhite =_eg .RGBA {0xf8,0xf8,0xff,0xff};Gold =_eg .RGBA {0xff,0xd7,0x00,0xff};Goldenrod =_eg .RGBA {0xda,0xa5,0x20,0xff};Gray =_eg .RGBA {0x80,0x80,0x80,0xff};Green =_eg .RGBA {0x00,0x80,0x00,0xff}; +Greenyellow =_eg .RGBA {0xad,0xff,0x2f,0xff};Grey =_eg .RGBA {0x80,0x80,0x80,0xff};Honeydew =_eg .RGBA {0xf0,0xff,0xf0,0xff};Hotpink =_eg .RGBA {0xff,0x69,0xb4,0xff};Indianred =_eg .RGBA {0xcd,0x5c,0x5c,0xff};Indigo =_eg .RGBA {0x4b,0x00,0x82,0xff};Ivory =_eg .RGBA {0xff,0xff,0xf0,0xff}; +Khaki =_eg .RGBA {0xf0,0xe6,0x8c,0xff};Lavender =_eg .RGBA {0xe6,0xe6,0xfa,0xff};Lavenderblush =_eg .RGBA {0xff,0xf0,0xf5,0xff};Lawngreen =_eg .RGBA {0x7c,0xfc,0x00,0xff};Lemonchiffon =_eg .RGBA {0xff,0xfa,0xcd,0xff};Lightblue =_eg .RGBA {0xad,0xd8,0xe6,0xff}; +Lightcoral =_eg .RGBA {0xf0,0x80,0x80,0xff};Lightcyan =_eg .RGBA {0xe0,0xff,0xff,0xff};Lightgoldenrodyellow =_eg .RGBA {0xfa,0xfa,0xd2,0xff};Lightgray =_eg .RGBA {0xd3,0xd3,0xd3,0xff};Lightgreen =_eg .RGBA {0x90,0xee,0x90,0xff};Lightgrey =_eg .RGBA {0xd3,0xd3,0xd3,0xff}; +Lightpink =_eg .RGBA {0xff,0xb6,0xc1,0xff};Lightsalmon =_eg .RGBA {0xff,0xa0,0x7a,0xff};Lightseagreen =_eg .RGBA {0x20,0xb2,0xaa,0xff};Lightskyblue =_eg .RGBA {0x87,0xce,0xfa,0xff};Lightslategray =_eg .RGBA {0x77,0x88,0x99,0xff};Lightslategrey =_eg .RGBA {0x77,0x88,0x99,0xff}; +Lightsteelblue =_eg .RGBA {0xb0,0xc4,0xde,0xff};Lightyellow =_eg .RGBA {0xff,0xff,0xe0,0xff};Lime =_eg .RGBA {0x00,0xff,0x00,0xff};Limegreen =_eg .RGBA {0x32,0xcd,0x32,0xff};Linen =_eg .RGBA {0xfa,0xf0,0xe6,0xff};Magenta =_eg .RGBA {0xff,0x00,0xff,0xff}; +Maroon =_eg .RGBA {0x80,0x00,0x00,0xff};Mediumaquamarine =_eg .RGBA {0x66,0xcd,0xaa,0xff};Mediumblue =_eg .RGBA {0x00,0x00,0xcd,0xff};Mediumorchid =_eg .RGBA {0xba,0x55,0xd3,0xff};Mediumpurple =_eg .RGBA {0x93,0x70,0xdb,0xff};Mediumseagreen =_eg .RGBA {0x3c,0xb3,0x71,0xff}; +Mediumslateblue =_eg .RGBA {0x7b,0x68,0xee,0xff};Mediumspringgreen =_eg .RGBA {0x00,0xfa,0x9a,0xff};Mediumturquoise =_eg .RGBA {0x48,0xd1,0xcc,0xff};Mediumvioletred =_eg .RGBA {0xc7,0x15,0x85,0xff};Midnightblue =_eg .RGBA {0x19,0x19,0x70,0xff};Mintcream =_eg .RGBA {0xf5,0xff,0xfa,0xff}; +Mistyrose =_eg .RGBA {0xff,0xe4,0xe1,0xff};Moccasin =_eg .RGBA {0xff,0xe4,0xb5,0xff};Navajowhite =_eg .RGBA {0xff,0xde,0xad,0xff};Navy =_eg .RGBA {0x00,0x00,0x80,0xff};Oldlace =_eg .RGBA {0xfd,0xf5,0xe6,0xff};Olive =_eg .RGBA {0x80,0x80,0x00,0xff};Olivedrab =_eg .RGBA {0x6b,0x8e,0x23,0xff}; +Orange =_eg .RGBA {0xff,0xa5,0x00,0xff};Orangered =_eg .RGBA {0xff,0x45,0x00,0xff};Orchid =_eg .RGBA {0xda,0x70,0xd6,0xff};Palegoldenrod =_eg .RGBA {0xee,0xe8,0xaa,0xff};Palegreen =_eg .RGBA {0x98,0xfb,0x98,0xff};Paleturquoise =_eg .RGBA {0xaf,0xee,0xee,0xff}; +Palevioletred =_eg .RGBA {0xdb,0x70,0x93,0xff};Papayawhip =_eg .RGBA {0xff,0xef,0xd5,0xff};Peachpuff =_eg .RGBA {0xff,0xda,0xb9,0xff};Peru =_eg .RGBA {0xcd,0x85,0x3f,0xff};Pink =_eg .RGBA {0xff,0xc0,0xcb,0xff};Plum =_eg .RGBA {0xdd,0xa0,0xdd,0xff};Powderblue =_eg .RGBA {0xb0,0xe0,0xe6,0xff}; +Purple =_eg .RGBA {0x80,0x00,0x80,0xff};Red =_eg .RGBA {0xff,0x00,0x00,0xff};Rosybrown =_eg .RGBA {0xbc,0x8f,0x8f,0xff};Royalblue =_eg .RGBA {0x41,0x69,0xe1,0xff};Saddlebrown =_eg .RGBA {0x8b,0x45,0x13,0xff};Salmon =_eg .RGBA {0xfa,0x80,0x72,0xff};Sandybrown =_eg .RGBA {0xf4,0xa4,0x60,0xff}; +Seagreen =_eg .RGBA {0x2e,0x8b,0x57,0xff};Seashell =_eg .RGBA {0xff,0xf5,0xee,0xff};Sienna =_eg .RGBA {0xa0,0x52,0x2d,0xff};Silver =_eg .RGBA {0xc0,0xc0,0xc0,0xff};Skyblue =_eg .RGBA {0x87,0xce,0xeb,0xff};Slateblue =_eg .RGBA {0x6a,0x5a,0xcd,0xff};Slategray =_eg .RGBA {0x70,0x80,0x90,0xff}; +Slategrey =_eg .RGBA {0x70,0x80,0x90,0xff};Snow =_eg .RGBA {0xff,0xfa,0xfa,0xff};Springgreen =_eg .RGBA {0x00,0xff,0x7f,0xff};Steelblue =_eg .RGBA {0x46,0x82,0xb4,0xff};Tan =_eg .RGBA {0xd2,0xb4,0x8c,0xff};Teal =_eg .RGBA {0x00,0x80,0x80,0xff};Thistle =_eg .RGBA {0xd8,0xbf,0xd8,0xff}; +Tomato =_eg .RGBA {0xff,0x63,0x47,0xff};Turquoise =_eg .RGBA {0x40,0xe0,0xd0,0xff};Violet =_eg .RGBA {0xee,0x82,0xee,0xff};Wheat =_eg .RGBA {0xf5,0xde,0xb3,0xff};White =_eg .RGBA {0xff,0xff,0xff,0xff};Whitesmoke =_eg .RGBA {0xf5,0xf5,0xf5,0xff};Yellow =_eg .RGBA {0xff,0xff,0x00,0xff}; +Yellowgreen =_eg .RGBA {0x9a,0xcd,0x32,0xff};);func _b (_efe ,_gcc ,_ecg ,_aff ,_ac float64 ,_ba ,_gea bool ,_cf ,_gcg float64 )(float64 ,float64 ,float64 ,float64 ){if _cdc (_efe ,_cf )&&_cdc (_gcc ,_gcg ){return _efe ,_gcc ,0.0,0.0;};_fab ,_daf :=_c .Sincos (_ac ); +_dc :=_daf *(_efe -_cf )/2.0+_fab *(_gcc -_gcg )/2.0;_ebc :=-_fab *(_efe -_cf )/2.0+_daf *(_gcc -_gcg )/2.0;_fcf :=_dc *_dc /_ecg /_ecg +_ebc *_ebc /_aff /_aff ;if _fcf > 1.0{_ecg *=_c .Sqrt (_fcf );_aff *=_c .Sqrt (_fcf );};_ffa :=(_ecg *_ecg *_aff *_aff -_ecg *_ecg *_ebc *_ebc -_aff *_aff *_dc *_dc )/(_ecg *_ecg *_ebc *_ebc +_aff *_aff *_dc *_dc ); +if _ffa < 0.0{_ffa =0.0;};_egd :=_c .Sqrt (_ffa );if _ba ==_gea {_egd =-_egd ;};_bag :=_egd *_ecg *_ebc /_aff ;_ebe :=_egd *-_aff *_dc /_ecg ;_gaa :=_daf *_bag -_fab *_ebe +(_efe +_cf )/2.0;_afg :=_fab *_bag +_daf *_ebe +(_gcc +_gcg )/2.0;_cda :=(_dc -_bag )/_ecg ; +_dde :=(_ebc -_ebe )/_aff ;_bf :=-(_dc +_bag )/_ecg ;_fdd :=-(_ebc +_ebe )/_aff ;_gec :=_c .Acos (_cda /_c .Sqrt (_cda *_cda +_dde *_dde ));if _dde < 0.0{_gec =-_gec ;};_gec =_dcf (_gec );_caa :=(_cda *_bf +_dde *_fdd )/_c .Sqrt ((_cda *_cda +_dde *_dde )*(_bf *_bf +_fdd *_fdd )); +_caa =_c .Min (1.0,_c .Max (-1.0,_caa ));_ffb :=_c .Acos (_caa );if _cda *_fdd -_dde *_bf < 0.0{_ffb =-_ffb ;};if !_gea &&_ffb > 0.0{_ffb -=2.0*_c .Pi ;}else if _gea &&_ffb < 0.0{_ffb +=2.0*_c .Pi ;};return _gaa ,_afg ,_gec ,_gec +_ffb ;};const _aef =1e-10; +func (_de Point )Sub (q Point )Point {return Point {_de .X -q .X ,_de .Y -q .Y }};func (_cef Point )Interpolate (q Point ,t float64 )Point {return Point {(1-t )*_cef .X +t *q .X ,(1-t )*_cef .Y +t *q .Y };};func (_bc Point )Add (q Point )Point {return Point {_bc .X +q .X ,_bc .Y +q .Y }}; +var Names =[]string {"\u0061l\u0069\u0063\u0065\u0062\u006c\u0075e","\u0061\u006e\u0074i\u0071\u0075\u0065\u0077\u0068\u0069\u0074\u0065","\u0061\u0071\u0075\u0061","\u0061\u0071\u0075\u0061\u006d\u0061\u0072\u0069\u006e\u0065","\u0061\u007a\u0075r\u0065","\u0062\u0065\u0069g\u0065","\u0062\u0069\u0073\u0071\u0075\u0065","\u0062\u006c\u0061c\u006b","\u0062\u006c\u0061\u006e\u0063\u0068\u0065\u0064\u0061l\u006d\u006f\u006e\u0064","\u0062\u006c\u0075\u0065","\u0062\u006c\u0075\u0065\u0076\u0069\u006f\u006c\u0065\u0074","\u0062\u0072\u006fw\u006e","\u0062u\u0072\u006c\u0079\u0077\u006f\u006fd","\u0063a\u0064\u0065\u0074\u0062\u006c\u0075e","\u0063\u0068\u0061\u0072\u0074\u0072\u0065\u0075\u0073\u0065","\u0063h\u006f\u0063\u006f\u006c\u0061\u0074e","\u0063\u006f\u0072a\u006c","\u0063\u006f\u0072\u006e\u0066\u006c\u006f\u0077\u0065r\u0062\u006c\u0075\u0065","\u0063\u006f\u0072\u006e\u0073\u0069\u006c\u006b","\u0063r\u0069\u006d\u0073\u006f\u006e","\u0063\u0079\u0061\u006e","\u0064\u0061\u0072\u006b\u0062\u006c\u0075\u0065","\u0064\u0061\u0072\u006b\u0063\u0079\u0061\u006e","\u0064\u0061\u0072\u006b\u0067\u006f\u006c\u0064\u0065\u006e\u0072\u006f\u0064","\u0064\u0061\u0072\u006b\u0067\u0072\u0061\u0079","\u0064a\u0072\u006b\u0067\u0072\u0065\u0065n","\u0064\u0061\u0072\u006b\u0067\u0072\u0065\u0079","\u0064a\u0072\u006b\u006b\u0068\u0061\u006bi","d\u0061\u0072\u006b\u006d\u0061\u0067\u0065\u006e\u0074\u0061","\u0064\u0061\u0072\u006b\u006f\u006c\u0069\u0076\u0065g\u0072\u0065\u0065\u006e","\u0064\u0061\u0072\u006b\u006f\u0072\u0061\u006e\u0067\u0065","\u0064\u0061\u0072\u006b\u006f\u0072\u0063\u0068\u0069\u0064","\u0064a\u0072\u006b\u0072\u0065\u0064","\u0064\u0061\u0072\u006b\u0073\u0061\u006c\u006d\u006f\u006e","\u0064\u0061\u0072k\u0073\u0065\u0061\u0067\u0072\u0065\u0065\u006e","\u0064\u0061\u0072\u006b\u0073\u006c\u0061\u0074\u0065\u0062\u006c\u0075\u0065","\u0064\u0061\u0072\u006b\u0073\u006c\u0061\u0074\u0065\u0067\u0072\u0061\u0079","\u0064\u0061\u0072\u006b\u0073\u006c\u0061\u0074\u0065\u0067\u0072\u0065\u0079","\u0064\u0061\u0072\u006b\u0074\u0075\u0072\u0071\u0075\u006f\u0069\u0073\u0065","\u0064\u0061\u0072\u006b\u0076\u0069\u006f\u006c\u0065\u0074","\u0064\u0065\u0065\u0070\u0070\u0069\u006e\u006b","d\u0065\u0065\u0070\u0073\u006b\u0079\u0062\u006c\u0075\u0065","\u0064i\u006d\u0067\u0072\u0061\u0079","\u0064i\u006d\u0067\u0072\u0065\u0079","\u0064\u006f\u0064\u0067\u0065\u0072\u0062\u006c\u0075\u0065","\u0066i\u0072\u0065\u0062\u0072\u0069\u0063k","f\u006c\u006f\u0072\u0061\u006c\u0077\u0068\u0069\u0074\u0065","f\u006f\u0072\u0065\u0073\u0074\u0067\u0072\u0065\u0065\u006e","\u0066u\u0063\u0068\u0073\u0069\u0061","\u0067a\u0069\u006e\u0073\u0062\u006f\u0072o","\u0067\u0068\u006f\u0073\u0074\u0077\u0068\u0069\u0074\u0065","\u0067\u006f\u006c\u0064","\u0067o\u006c\u0064\u0065\u006e\u0072\u006fd","\u0067\u0072\u0061\u0079","\u0067\u0072\u0065e\u006e","g\u0072\u0065\u0065\u006e\u0079\u0065\u006c\u006c\u006f\u0077","\u0067\u0072\u0065\u0079","\u0068\u006f\u006e\u0065\u0079\u0064\u0065\u0077","\u0068o\u0074\u0070\u0069\u006e\u006b","\u0069n\u0064\u0069\u0061\u006e\u0072\u0065d","\u0069\u006e\u0064\u0069\u0067\u006f","\u0069\u0076\u006fr\u0079","\u006b\u0068\u0061k\u0069","\u006c\u0061\u0076\u0065\u006e\u0064\u0065\u0072","\u006c\u0061\u0076\u0065\u006e\u0064\u0065\u0072\u0062\u006c\u0075\u0073\u0068","\u006ca\u0077\u006e\u0067\u0072\u0065\u0065n","\u006c\u0065\u006do\u006e\u0063\u0068\u0069\u0066\u0066\u006f\u006e","\u006ci\u0067\u0068\u0074\u0062\u006c\u0075e","\u006c\u0069\u0067\u0068\u0074\u0063\u006f\u0072\u0061\u006c","\u006ci\u0067\u0068\u0074\u0063\u0079\u0061n","l\u0069g\u0068\u0074\u0067\u006f\u006c\u0064\u0065\u006er\u006f\u0064\u0079\u0065ll\u006f\u0077","\u006ci\u0067\u0068\u0074\u0067\u0072\u0061y","\u006c\u0069\u0067\u0068\u0074\u0067\u0072\u0065\u0065\u006e","\u006ci\u0067\u0068\u0074\u0067\u0072\u0065y","\u006ci\u0067\u0068\u0074\u0070\u0069\u006ek","l\u0069\u0067\u0068\u0074\u0073\u0061\u006c\u006d\u006f\u006e","\u006c\u0069\u0067\u0068\u0074\u0073\u0065\u0061\u0067\u0072\u0065\u0065\u006e","\u006c\u0069\u0067h\u0074\u0073\u006b\u0079\u0062\u006c\u0075\u0065","\u006c\u0069\u0067\u0068\u0074\u0073\u006c\u0061\u0074e\u0067\u0072\u0061\u0079","\u006c\u0069\u0067\u0068\u0074\u0073\u006c\u0061\u0074e\u0067\u0072\u0065\u0079","\u006c\u0069\u0067\u0068\u0074\u0073\u0074\u0065\u0065l\u0062\u006c\u0075\u0065","l\u0069\u0067\u0068\u0074\u0079\u0065\u006c\u006c\u006f\u0077","\u006c\u0069\u006d\u0065","\u006ci\u006d\u0065\u0067\u0072\u0065\u0065n","\u006c\u0069\u006ee\u006e","\u006da\u0067\u0065\u006e\u0074\u0061","\u006d\u0061\u0072\u006f\u006f\u006e","\u006d\u0065d\u0069\u0075\u006da\u0071\u0075\u0061\u006d\u0061\u0072\u0069\u006e\u0065","\u006d\u0065\u0064\u0069\u0075\u006d\u0062\u006c\u0075\u0065","\u006d\u0065\u0064i\u0075\u006d\u006f\u0072\u0063\u0068\u0069\u0064","\u006d\u0065\u0064i\u0075\u006d\u0070\u0075\u0072\u0070\u006c\u0065","\u006d\u0065\u0064\u0069\u0075\u006d\u0073\u0065\u0061g\u0072\u0065\u0065\u006e","\u006de\u0064i\u0075\u006d\u0073\u006c\u0061\u0074\u0065\u0062\u006c\u0075\u0065","\u006d\u0065\u0064\u0069\u0075\u006d\u0073\u0070\u0072\u0069\u006e\u0067g\u0072\u0065\u0065\u006e","\u006de\u0064i\u0075\u006d\u0074\u0075\u0072\u0071\u0075\u006f\u0069\u0073\u0065","\u006de\u0064i\u0075\u006d\u0076\u0069\u006f\u006c\u0065\u0074\u0072\u0065\u0064","\u006d\u0069\u0064n\u0069\u0067\u0068\u0074\u0062\u006c\u0075\u0065","\u006di\u006e\u0074\u0063\u0072\u0065\u0061m","\u006di\u0073\u0074\u0079\u0072\u006f\u0073e","\u006d\u006f\u0063\u0063\u0061\u0073\u0069\u006e","n\u0061\u0076\u0061\u006a\u006f\u0077\u0068\u0069\u0074\u0065","\u006e\u0061\u0076\u0079","\u006fl\u0064\u006c\u0061\u0063\u0065","\u006f\u006c\u0069v\u0065","\u006fl\u0069\u0076\u0065\u0064\u0072\u0061b","\u006f\u0072\u0061\u006e\u0067\u0065","\u006fr\u0061\u006e\u0067\u0065\u0072\u0065d","\u006f\u0072\u0063\u0068\u0069\u0064","\u0070\u0061\u006c\u0065\u0067\u006f\u006c\u0064\u0065\u006e\u0072\u006f\u0064","\u0070a\u006c\u0065\u0067\u0072\u0065\u0065n","\u0070\u0061\u006c\u0065\u0074\u0075\u0072\u0071\u0075\u006f\u0069\u0073\u0065","\u0070\u0061\u006c\u0065\u0076\u0069\u006f\u006c\u0065\u0074\u0072\u0065\u0064","\u0070\u0061\u0070\u0061\u0079\u0061\u0077\u0068\u0069\u0070","\u0070e\u0061\u0063\u0068\u0070\u0075\u0066f","\u0070\u0065\u0072\u0075","\u0070\u0069\u006e\u006b","\u0070\u006c\u0075\u006d","\u0070\u006f\u0077\u0064\u0065\u0072\u0062\u006c\u0075\u0065","\u0070\u0075\u0072\u0070\u006c\u0065","\u0072\u0065\u0064","\u0072o\u0073\u0079\u0062\u0072\u006f\u0077n","\u0072o\u0079\u0061\u006c\u0062\u006c\u0075e","s\u0061\u0064\u0064\u006c\u0065\u0062\u0072\u006f\u0077\u006e","\u0073\u0061\u006c\u006d\u006f\u006e","\u0073\u0061\u006e\u0064\u0079\u0062\u0072\u006f\u0077\u006e","\u0073\u0065\u0061\u0067\u0072\u0065\u0065\u006e","\u0073\u0065\u0061\u0073\u0068\u0065\u006c\u006c","\u0073\u0069\u0065\u006e\u006e\u0061","\u0073\u0069\u006c\u0076\u0065\u0072","\u0073k\u0079\u0062\u006c\u0075\u0065","\u0073l\u0061\u0074\u0065\u0062\u006c\u0075e","\u0073l\u0061\u0074\u0065\u0067\u0072\u0061y","\u0073l\u0061\u0074\u0065\u0067\u0072\u0065y","\u0073\u006e\u006f\u0077","s\u0070\u0072\u0069\u006e\u0067\u0067\u0072\u0065\u0065\u006e","\u0073t\u0065\u0065\u006c\u0062\u006c\u0075e","\u0074\u0061\u006e","\u0074\u0065\u0061\u006c","\u0074h\u0069\u0073\u0074\u006c\u0065","\u0074\u006f\u006d\u0061\u0074\u006f","\u0074u\u0072\u0071\u0075\u006f\u0069\u0073e","\u0076\u0069\u006f\u006c\u0065\u0074","\u0077\u0068\u0065a\u0074","\u0077\u0068\u0069t\u0065","\u0077\u0068\u0069\u0074\u0065\u0073\u006d\u006f\u006b\u0065","\u0079\u0065\u006c\u006c\u006f\u0077","y\u0065\u006c\u006c\u006f\u0077\u0067\u0072\u0065\u0065\u006e"}; +func _ef (_fad ,_efc ,_ea ,_ga ,_ed ,_fc float64 )(float64 ,float64 ){_ge ,_ce :=_c .Sincos (_fc );_egb ,_ffc :=_c .Sincos (_ea );_eca :=_ga +_fad *_ce *_ffc -_efc *_ge *_egb ;_cea :=_ed +_fad *_ce *_egb +_efc *_ge *_ffc ;return _eca ,_cea ;};type Point struct{X ,Y float64 ; +};func EllipseToCubicBeziers (startX ,startY ,rx ,ry ,rot float64 ,large ,sweep bool ,endX ,endY float64 )[][4]Point {rx =_c .Abs (rx );ry =_c .Abs (ry );if rx < ry {rx ,ry =ry ,rx ;rot +=90.0;};_d :=_dcf (rot *_c .Pi /180.0);if _c .Pi <=_d {_d -=_c .Pi ; +};_g ,_gc ,_cg ,_df :=_b (startX ,startY ,rx ,ry ,_d ,large ,sweep ,endX ,endY );_ca :=_c .Pi /2.0;_cd :=int (_c .Ceil (_c .Abs (_df -_cg )/_ca ));_ca =_c .Abs (_df -_cg )/float64 (_cd );_a :=_c .Sin (_ca )*(_c .Sqrt (4.0+3.0*_c .Pow (_c .Tan (_ca /2.0),2.0))-1.0)/3.0; +if !sweep {_ca =-_ca ;};_db :=Point {X :startX ,Y :startY };_ae ,_ec :=_fadb (rx ,ry ,_d ,sweep ,_cg );_gb :=Point {X :_ae ,Y :_ec };_dd :=[][4]Point {};for _da :=1;_da < _cd +1;_da ++{_f :=_cg +float64 (_da )*_ca ;_fa ,_af :=_ef (rx ,ry ,_d ,_g ,_gc ,_f ); +_fd :=Point {X :_fa ,Y :_af };_afc ,_fe :=_fadb (rx ,ry ,_d ,sweep ,_f );_ff :=Point {X :_afc ,Y :_fe };_ee :=_db .Add (_gb .Mul (_a ));_eb :=_fd .Sub (_ff .Mul (_a ));_dd =append (_dd ,[4]Point {_db ,_ee ,_eb ,_fd });_gb =_ff ;_db =_fd ;};return _dd ; +};func _fadb (_dfc ,_bad ,_bg float64 ,_efca bool ,_gcb float64 )(float64 ,float64 ){_gaf ,_cgc :=_c .Sincos (_gcb );_dfcc ,_fg :=_c .Sincos (_bg );_dad :=-_dfc *_gaf *_fg -_bad *_cgc *_dfcc ;_afb :=-_dfc *_gaf *_dfcc +_bad *_cgc *_fg ;if !_efca {return -_dad ,-_afb ; +};return _dad ,_afb ;};func (_bfa Point )Mul (f float64 )Point {return Point {f *_bfa .X ,f *_bfa .Y }};var ColorMap =map[string ]_eg .RGBA {"\u0061l\u0069\u0063\u0065\u0062\u006c\u0075e":_eg .RGBA {0xf0,0xf8,0xff,0xff},"\u0061\u006e\u0074i\u0071\u0075\u0065\u0077\u0068\u0069\u0074\u0065":_eg .RGBA {0xfa,0xeb,0xd7,0xff},"\u0061\u0071\u0075\u0061":_eg .RGBA {0x00,0xff,0xff,0xff},"\u0061\u0071\u0075\u0061\u006d\u0061\u0072\u0069\u006e\u0065":_eg .RGBA {0x7f,0xff,0xd4,0xff},"\u0061\u007a\u0075r\u0065":_eg .RGBA {0xf0,0xff,0xff,0xff},"\u0062\u0065\u0069g\u0065":_eg .RGBA {0xf5,0xf5,0xdc,0xff},"\u0062\u0069\u0073\u0071\u0075\u0065":_eg .RGBA {0xff,0xe4,0xc4,0xff},"\u0062\u006c\u0061c\u006b":_eg .RGBA {0x00,0x00,0x00,0xff},"\u0062\u006c\u0061\u006e\u0063\u0068\u0065\u0064\u0061l\u006d\u006f\u006e\u0064":_eg .RGBA {0xff,0xeb,0xcd,0xff},"\u0062\u006c\u0075\u0065":_eg .RGBA {0x00,0x00,0xff,0xff},"\u0062\u006c\u0075\u0065\u0076\u0069\u006f\u006c\u0065\u0074":_eg .RGBA {0x8a,0x2b,0xe2,0xff},"\u0062\u0072\u006fw\u006e":_eg .RGBA {0xa5,0x2a,0x2a,0xff},"\u0062u\u0072\u006c\u0079\u0077\u006f\u006fd":_eg .RGBA {0xde,0xb8,0x87,0xff},"\u0063a\u0064\u0065\u0074\u0062\u006c\u0075e":_eg .RGBA {0x5f,0x9e,0xa0,0xff},"\u0063\u0068\u0061\u0072\u0074\u0072\u0065\u0075\u0073\u0065":_eg .RGBA {0x7f,0xff,0x00,0xff},"\u0063h\u006f\u0063\u006f\u006c\u0061\u0074e":_eg .RGBA {0xd2,0x69,0x1e,0xff},"\u0063\u006f\u0072a\u006c":_eg .RGBA {0xff,0x7f,0x50,0xff},"\u0063\u006f\u0072\u006e\u0066\u006c\u006f\u0077\u0065r\u0062\u006c\u0075\u0065":_eg .RGBA {0x64,0x95,0xed,0xff},"\u0063\u006f\u0072\u006e\u0073\u0069\u006c\u006b":_eg .RGBA {0xff,0xf8,0xdc,0xff},"\u0063r\u0069\u006d\u0073\u006f\u006e":_eg .RGBA {0xdc,0x14,0x3c,0xff},"\u0063\u0079\u0061\u006e":_eg .RGBA {0x00,0xff,0xff,0xff},"\u0064\u0061\u0072\u006b\u0062\u006c\u0075\u0065":_eg .RGBA {0x00,0x00,0x8b,0xff},"\u0064\u0061\u0072\u006b\u0063\u0079\u0061\u006e":_eg .RGBA {0x00,0x8b,0x8b,0xff},"\u0064\u0061\u0072\u006b\u0067\u006f\u006c\u0064\u0065\u006e\u0072\u006f\u0064":_eg .RGBA {0xb8,0x86,0x0b,0xff},"\u0064\u0061\u0072\u006b\u0067\u0072\u0061\u0079":_eg .RGBA {0xa9,0xa9,0xa9,0xff},"\u0064a\u0072\u006b\u0067\u0072\u0065\u0065n":_eg .RGBA {0x00,0x64,0x00,0xff},"\u0064\u0061\u0072\u006b\u0067\u0072\u0065\u0079":_eg .RGBA {0xa9,0xa9,0xa9,0xff},"\u0064a\u0072\u006b\u006b\u0068\u0061\u006bi":_eg .RGBA {0xbd,0xb7,0x6b,0xff},"d\u0061\u0072\u006b\u006d\u0061\u0067\u0065\u006e\u0074\u0061":_eg .RGBA {0x8b,0x00,0x8b,0xff},"\u0064\u0061\u0072\u006b\u006f\u006c\u0069\u0076\u0065g\u0072\u0065\u0065\u006e":_eg .RGBA {0x55,0x6b,0x2f,0xff},"\u0064\u0061\u0072\u006b\u006f\u0072\u0061\u006e\u0067\u0065":_eg .RGBA {0xff,0x8c,0x00,0xff},"\u0064\u0061\u0072\u006b\u006f\u0072\u0063\u0068\u0069\u0064":_eg .RGBA {0x99,0x32,0xcc,0xff},"\u0064a\u0072\u006b\u0072\u0065\u0064":_eg .RGBA {0x8b,0x00,0x00,0xff},"\u0064\u0061\u0072\u006b\u0073\u0061\u006c\u006d\u006f\u006e":_eg .RGBA {0xe9,0x96,0x7a,0xff},"\u0064\u0061\u0072k\u0073\u0065\u0061\u0067\u0072\u0065\u0065\u006e":_eg .RGBA {0x8f,0xbc,0x8f,0xff},"\u0064\u0061\u0072\u006b\u0073\u006c\u0061\u0074\u0065\u0062\u006c\u0075\u0065":_eg .RGBA {0x48,0x3d,0x8b,0xff},"\u0064\u0061\u0072\u006b\u0073\u006c\u0061\u0074\u0065\u0067\u0072\u0061\u0079":_eg .RGBA {0x2f,0x4f,0x4f,0xff},"\u0064\u0061\u0072\u006b\u0073\u006c\u0061\u0074\u0065\u0067\u0072\u0065\u0079":_eg .RGBA {0x2f,0x4f,0x4f,0xff},"\u0064\u0061\u0072\u006b\u0074\u0075\u0072\u0071\u0075\u006f\u0069\u0073\u0065":_eg .RGBA {0x00,0xce,0xd1,0xff},"\u0064\u0061\u0072\u006b\u0076\u0069\u006f\u006c\u0065\u0074":_eg .RGBA {0x94,0x00,0xd3,0xff},"\u0064\u0065\u0065\u0070\u0070\u0069\u006e\u006b":_eg .RGBA {0xff,0x14,0x93,0xff},"d\u0065\u0065\u0070\u0073\u006b\u0079\u0062\u006c\u0075\u0065":_eg .RGBA {0x00,0xbf,0xff,0xff},"\u0064i\u006d\u0067\u0072\u0061\u0079":_eg .RGBA {0x69,0x69,0x69,0xff},"\u0064i\u006d\u0067\u0072\u0065\u0079":_eg .RGBA {0x69,0x69,0x69,0xff},"\u0064\u006f\u0064\u0067\u0065\u0072\u0062\u006c\u0075\u0065":_eg .RGBA {0x1e,0x90,0xff,0xff},"\u0066i\u0072\u0065\u0062\u0072\u0069\u0063k":_eg .RGBA {0xb2,0x22,0x22,0xff},"f\u006c\u006f\u0072\u0061\u006c\u0077\u0068\u0069\u0074\u0065":_eg .RGBA {0xff,0xfa,0xf0,0xff},"f\u006f\u0072\u0065\u0073\u0074\u0067\u0072\u0065\u0065\u006e":_eg .RGBA {0x22,0x8b,0x22,0xff},"\u0066u\u0063\u0068\u0073\u0069\u0061":_eg .RGBA {0xff,0x00,0xff,0xff},"\u0067a\u0069\u006e\u0073\u0062\u006f\u0072o":_eg .RGBA {0xdc,0xdc,0xdc,0xff},"\u0067\u0068\u006f\u0073\u0074\u0077\u0068\u0069\u0074\u0065":_eg .RGBA {0xf8,0xf8,0xff,0xff},"\u0067\u006f\u006c\u0064":_eg .RGBA {0xff,0xd7,0x00,0xff},"\u0067o\u006c\u0064\u0065\u006e\u0072\u006fd":_eg .RGBA {0xda,0xa5,0x20,0xff},"\u0067\u0072\u0061\u0079":_eg .RGBA {0x80,0x80,0x80,0xff},"\u0067\u0072\u0065e\u006e":_eg .RGBA {0x00,0x80,0x00,0xff},"g\u0072\u0065\u0065\u006e\u0079\u0065\u006c\u006c\u006f\u0077":_eg .RGBA {0xad,0xff,0x2f,0xff},"\u0067\u0072\u0065\u0079":_eg .RGBA {0x80,0x80,0x80,0xff},"\u0068\u006f\u006e\u0065\u0079\u0064\u0065\u0077":_eg .RGBA {0xf0,0xff,0xf0,0xff},"\u0068o\u0074\u0070\u0069\u006e\u006b":_eg .RGBA {0xff,0x69,0xb4,0xff},"\u0069n\u0064\u0069\u0061\u006e\u0072\u0065d":_eg .RGBA {0xcd,0x5c,0x5c,0xff},"\u0069\u006e\u0064\u0069\u0067\u006f":_eg .RGBA {0x4b,0x00,0x82,0xff},"\u0069\u0076\u006fr\u0079":_eg .RGBA {0xff,0xff,0xf0,0xff},"\u006b\u0068\u0061k\u0069":_eg .RGBA {0xf0,0xe6,0x8c,0xff},"\u006c\u0061\u0076\u0065\u006e\u0064\u0065\u0072":_eg .RGBA {0xe6,0xe6,0xfa,0xff},"\u006c\u0061\u0076\u0065\u006e\u0064\u0065\u0072\u0062\u006c\u0075\u0073\u0068":_eg .RGBA {0xff,0xf0,0xf5,0xff},"\u006ca\u0077\u006e\u0067\u0072\u0065\u0065n":_eg .RGBA {0x7c,0xfc,0x00,0xff},"\u006c\u0065\u006do\u006e\u0063\u0068\u0069\u0066\u0066\u006f\u006e":_eg .RGBA {0xff,0xfa,0xcd,0xff},"\u006ci\u0067\u0068\u0074\u0062\u006c\u0075e":_eg .RGBA {0xad,0xd8,0xe6,0xff},"\u006c\u0069\u0067\u0068\u0074\u0063\u006f\u0072\u0061\u006c":_eg .RGBA {0xf0,0x80,0x80,0xff},"\u006ci\u0067\u0068\u0074\u0063\u0079\u0061n":_eg .RGBA {0xe0,0xff,0xff,0xff},"l\u0069g\u0068\u0074\u0067\u006f\u006c\u0064\u0065\u006er\u006f\u0064\u0079\u0065ll\u006f\u0077":_eg .RGBA {0xfa,0xfa,0xd2,0xff},"\u006ci\u0067\u0068\u0074\u0067\u0072\u0061y":_eg .RGBA {0xd3,0xd3,0xd3,0xff},"\u006c\u0069\u0067\u0068\u0074\u0067\u0072\u0065\u0065\u006e":_eg .RGBA {0x90,0xee,0x90,0xff},"\u006ci\u0067\u0068\u0074\u0067\u0072\u0065y":_eg .RGBA {0xd3,0xd3,0xd3,0xff},"\u006ci\u0067\u0068\u0074\u0070\u0069\u006ek":_eg .RGBA {0xff,0xb6,0xc1,0xff},"l\u0069\u0067\u0068\u0074\u0073\u0061\u006c\u006d\u006f\u006e":_eg .RGBA {0xff,0xa0,0x7a,0xff},"\u006c\u0069\u0067\u0068\u0074\u0073\u0065\u0061\u0067\u0072\u0065\u0065\u006e":_eg .RGBA {0x20,0xb2,0xaa,0xff},"\u006c\u0069\u0067h\u0074\u0073\u006b\u0079\u0062\u006c\u0075\u0065":_eg .RGBA {0x87,0xce,0xfa,0xff},"\u006c\u0069\u0067\u0068\u0074\u0073\u006c\u0061\u0074e\u0067\u0072\u0061\u0079":_eg .RGBA {0x77,0x88,0x99,0xff},"\u006c\u0069\u0067\u0068\u0074\u0073\u006c\u0061\u0074e\u0067\u0072\u0065\u0079":_eg .RGBA {0x77,0x88,0x99,0xff},"\u006c\u0069\u0067\u0068\u0074\u0073\u0074\u0065\u0065l\u0062\u006c\u0075\u0065":_eg .RGBA {0xb0,0xc4,0xde,0xff},"l\u0069\u0067\u0068\u0074\u0079\u0065\u006c\u006c\u006f\u0077":_eg .RGBA {0xff,0xff,0xe0,0xff},"\u006c\u0069\u006d\u0065":_eg .RGBA {0x00,0xff,0x00,0xff},"\u006ci\u006d\u0065\u0067\u0072\u0065\u0065n":_eg .RGBA {0x32,0xcd,0x32,0xff},"\u006c\u0069\u006ee\u006e":_eg .RGBA {0xfa,0xf0,0xe6,0xff},"\u006da\u0067\u0065\u006e\u0074\u0061":_eg .RGBA {0xff,0x00,0xff,0xff},"\u006d\u0061\u0072\u006f\u006f\u006e":_eg .RGBA {0x80,0x00,0x00,0xff},"\u006d\u0065d\u0069\u0075\u006da\u0071\u0075\u0061\u006d\u0061\u0072\u0069\u006e\u0065":_eg .RGBA {0x66,0xcd,0xaa,0xff},"\u006d\u0065\u0064\u0069\u0075\u006d\u0062\u006c\u0075\u0065":_eg .RGBA {0x00,0x00,0xcd,0xff},"\u006d\u0065\u0064i\u0075\u006d\u006f\u0072\u0063\u0068\u0069\u0064":_eg .RGBA {0xba,0x55,0xd3,0xff},"\u006d\u0065\u0064i\u0075\u006d\u0070\u0075\u0072\u0070\u006c\u0065":_eg .RGBA {0x93,0x70,0xdb,0xff},"\u006d\u0065\u0064\u0069\u0075\u006d\u0073\u0065\u0061g\u0072\u0065\u0065\u006e":_eg .RGBA {0x3c,0xb3,0x71,0xff},"\u006de\u0064i\u0075\u006d\u0073\u006c\u0061\u0074\u0065\u0062\u006c\u0075\u0065":_eg .RGBA {0x7b,0x68,0xee,0xff},"\u006d\u0065\u0064\u0069\u0075\u006d\u0073\u0070\u0072\u0069\u006e\u0067g\u0072\u0065\u0065\u006e":_eg .RGBA {0x00,0xfa,0x9a,0xff},"\u006de\u0064i\u0075\u006d\u0074\u0075\u0072\u0071\u0075\u006f\u0069\u0073\u0065":_eg .RGBA {0x48,0xd1,0xcc,0xff},"\u006de\u0064i\u0075\u006d\u0076\u0069\u006f\u006c\u0065\u0074\u0072\u0065\u0064":_eg .RGBA {0xc7,0x15,0x85,0xff},"\u006d\u0069\u0064n\u0069\u0067\u0068\u0074\u0062\u006c\u0075\u0065":_eg .RGBA {0x19,0x19,0x70,0xff},"\u006di\u006e\u0074\u0063\u0072\u0065\u0061m":_eg .RGBA {0xf5,0xff,0xfa,0xff},"\u006di\u0073\u0074\u0079\u0072\u006f\u0073e":_eg .RGBA {0xff,0xe4,0xe1,0xff},"\u006d\u006f\u0063\u0063\u0061\u0073\u0069\u006e":_eg .RGBA {0xff,0xe4,0xb5,0xff},"n\u0061\u0076\u0061\u006a\u006f\u0077\u0068\u0069\u0074\u0065":_eg .RGBA {0xff,0xde,0xad,0xff},"\u006e\u0061\u0076\u0079":_eg .RGBA {0x00,0x00,0x80,0xff},"\u006fl\u0064\u006c\u0061\u0063\u0065":_eg .RGBA {0xfd,0xf5,0xe6,0xff},"\u006f\u006c\u0069v\u0065":_eg .RGBA {0x80,0x80,0x00,0xff},"\u006fl\u0069\u0076\u0065\u0064\u0072\u0061b":_eg .RGBA {0x6b,0x8e,0x23,0xff},"\u006f\u0072\u0061\u006e\u0067\u0065":_eg .RGBA {0xff,0xa5,0x00,0xff},"\u006fr\u0061\u006e\u0067\u0065\u0072\u0065d":_eg .RGBA {0xff,0x45,0x00,0xff},"\u006f\u0072\u0063\u0068\u0069\u0064":_eg .RGBA {0xda,0x70,0xd6,0xff},"\u0070\u0061\u006c\u0065\u0067\u006f\u006c\u0064\u0065\u006e\u0072\u006f\u0064":_eg .RGBA {0xee,0xe8,0xaa,0xff},"\u0070a\u006c\u0065\u0067\u0072\u0065\u0065n":_eg .RGBA {0x98,0xfb,0x98,0xff},"\u0070\u0061\u006c\u0065\u0074\u0075\u0072\u0071\u0075\u006f\u0069\u0073\u0065":_eg .RGBA {0xaf,0xee,0xee,0xff},"\u0070\u0061\u006c\u0065\u0076\u0069\u006f\u006c\u0065\u0074\u0072\u0065\u0064":_eg .RGBA {0xdb,0x70,0x93,0xff},"\u0070\u0061\u0070\u0061\u0079\u0061\u0077\u0068\u0069\u0070":_eg .RGBA {0xff,0xef,0xd5,0xff},"\u0070e\u0061\u0063\u0068\u0070\u0075\u0066f":_eg .RGBA {0xff,0xda,0xb9,0xff},"\u0070\u0065\u0072\u0075":_eg .RGBA {0xcd,0x85,0x3f,0xff},"\u0070\u0069\u006e\u006b":_eg .RGBA {0xff,0xc0,0xcb,0xff},"\u0070\u006c\u0075\u006d":_eg .RGBA {0xdd,0xa0,0xdd,0xff},"\u0070\u006f\u0077\u0064\u0065\u0072\u0062\u006c\u0075\u0065":_eg .RGBA {0xb0,0xe0,0xe6,0xff},"\u0070\u0075\u0072\u0070\u006c\u0065":_eg .RGBA {0x80,0x00,0x80,0xff},"\u0072\u0065\u0064":_eg .RGBA {0xff,0x00,0x00,0xff},"\u0072o\u0073\u0079\u0062\u0072\u006f\u0077n":_eg .RGBA {0xbc,0x8f,0x8f,0xff},"\u0072o\u0079\u0061\u006c\u0062\u006c\u0075e":_eg .RGBA {0x41,0x69,0xe1,0xff},"s\u0061\u0064\u0064\u006c\u0065\u0062\u0072\u006f\u0077\u006e":_eg .RGBA {0x8b,0x45,0x13,0xff},"\u0073\u0061\u006c\u006d\u006f\u006e":_eg .RGBA {0xfa,0x80,0x72,0xff},"\u0073\u0061\u006e\u0064\u0079\u0062\u0072\u006f\u0077\u006e":_eg .RGBA {0xf4,0xa4,0x60,0xff},"\u0073\u0065\u0061\u0067\u0072\u0065\u0065\u006e":_eg .RGBA {0x2e,0x8b,0x57,0xff},"\u0073\u0065\u0061\u0073\u0068\u0065\u006c\u006c":_eg .RGBA {0xff,0xf5,0xee,0xff},"\u0073\u0069\u0065\u006e\u006e\u0061":_eg .RGBA {0xa0,0x52,0x2d,0xff},"\u0073\u0069\u006c\u0076\u0065\u0072":_eg .RGBA {0xc0,0xc0,0xc0,0xff},"\u0073k\u0079\u0062\u006c\u0075\u0065":_eg .RGBA {0x87,0xce,0xeb,0xff},"\u0073l\u0061\u0074\u0065\u0062\u006c\u0075e":_eg .RGBA {0x6a,0x5a,0xcd,0xff},"\u0073l\u0061\u0074\u0065\u0067\u0072\u0061y":_eg .RGBA {0x70,0x80,0x90,0xff},"\u0073l\u0061\u0074\u0065\u0067\u0072\u0065y":_eg .RGBA {0x70,0x80,0x90,0xff},"\u0073\u006e\u006f\u0077":_eg .RGBA {0xff,0xfa,0xfa,0xff},"s\u0070\u0072\u0069\u006e\u0067\u0067\u0072\u0065\u0065\u006e":_eg .RGBA {0x00,0xff,0x7f,0xff},"\u0073t\u0065\u0065\u006c\u0062\u006c\u0075e":_eg .RGBA {0x46,0x82,0xb4,0xff},"\u0074\u0061\u006e":_eg .RGBA {0xd2,0xb4,0x8c,0xff},"\u0074\u0065\u0061\u006c":_eg .RGBA {0x00,0x80,0x80,0xff},"\u0074h\u0069\u0073\u0074\u006c\u0065":_eg .RGBA {0xd8,0xbf,0xd8,0xff},"\u0074\u006f\u006d\u0061\u0074\u006f":_eg .RGBA {0xff,0x63,0x47,0xff},"\u0074u\u0072\u0071\u0075\u006f\u0069\u0073e":_eg .RGBA {0x40,0xe0,0xd0,0xff},"\u0076\u0069\u006f\u006c\u0065\u0074":_eg .RGBA {0xee,0x82,0xee,0xff},"\u0077\u0068\u0065a\u0074":_eg .RGBA {0xf5,0xde,0xb3,0xff},"\u0077\u0068\u0069t\u0065":_eg .RGBA {0xff,0xff,0xff,0xff},"\u0077\u0068\u0069\u0074\u0065\u0073\u006d\u006f\u006b\u0065":_eg .RGBA {0xf5,0xf5,0xf5,0xff},"\u0079\u0065\u006c\u006c\u006f\u0077":_eg .RGBA {0xff,0xff,0x00,0xff},"y\u0065\u006c\u006c\u006f\u0077\u0067\u0072\u0065\u0065\u006e":_eg .RGBA {0x9a,0xcd,0x32,0xff}}; +func _cdc (_fdc ,_gbd float64 )bool {return _c .Abs (_fdc -_gbd )<=_aef };func _dcf (_eba float64 )float64 {_eba =_c .Mod (_eba ,2.0*_c .Pi );if _eba < 0.0{_eba +=2.0*_c .Pi ;};return _eba ;};func QuadraticToCubicBezier (startX ,startY ,x1 ,y1 ,x ,y float64 )(Point ,Point ){_gg :=Point {X :startX ,Y :startY }; +_cdg :=Point {X :x1 ,Y :y1 };_fb :=Point {X :x ,Y :y };_geae :=_gg .Interpolate (_cdg ,2.0/3.0);_dab :=_fb .Interpolate (_cdg ,2.0/3.0);return _geae ,_dab ;};
\ No newline at end of file |
