資源簡介
通第三方繪圖框架 TKit 和 pop 繪制對應的半圓圖形,通過Slider改變其對應的進度值!

代碼片段和文件信息
/*
?*?Copyright?(C)?2005?2006?Apple?Computer?Inc.??All?rights?reserved.
?*?Copyright?(C)?2009?Torch?Mobile?Inc.
?*
?*?Redistribution?and?use?in?source?and?binary?forms?with?or?without
?*?modification?are?permitted?provided?that?the?following?conditions
?*?are?met:
?*?1.?Redistributions?of?source?code?must?retain?the?above?copyright
?*????notice?this?list?of?conditions?and?the?following?disclaimer.
?*?2.?Redistributions?in?binary?form?must?reproduce?the?above?copyright
?*????notice?this?list?of?conditions?and?the?following?disclaimer?in?the
?*????documentation?and/or?other?materials?provided?with?the?distribution.
?*
?*?THIS?SOFTWARE?IS?PROVIDED?BY?APPLE?COMPUTER?INC.?‘‘AS?IS‘‘?AND?ANY
?*?EXPRESS?OR?IMPLIED?WARRANTIES?INCLUDING?BUT?NOT?LIMITED?TO?THE
?*?IMPLIED?WARRANTIES?OF?MERCHANTABILITY?AND?FITNESS?FOR?A?PARTICULAR
?*?PURPOSE?ARE?DISCLAIMED.??IN?NO?EVENT?SHALL?APPLE?COMPUTER?INC.?OR
?*?CONTRIBUTORS?BE?LIABLE?FOR?ANY?DIRECT?INDIRECT?INCIDENTAL?SPECIAL
?*?EXEMPLARY?OR?CONSEQUENTIAL?DAMAGES?(INCLUDING?BUT?NOT?LIMITED?TO
?*?PROCUREMENT?OF?SUBSTITUTE?GOODS?OR?SERVICES;?LOSS?OF?USE?DATA?OR
?*?PROFITS;?OR?BUSINESS?INTERRUPTION)?HOWEVER?CAUSED?AND?ON?ANY?THEORY
?*?OF?LIABILITY?WHETHER?IN?CONTRACT?STRICT?LIABILITY?OR?TORT
?*?(INCLUDING?NEGLIGENCE?OR?OTHERWISE)?ARISING?IN?ANY?WAY?OUT?OF?THE?USE
?*?OF?THIS?SOFTWARE?EVEN?IF?ADVISED?OF?THE?POSSIBILITY?OF?SUCH?DAMAGE.
?*/
#include?“TransformationMatrix.h“
#include?
#include?“FloatConversion.h“
inline?double?deg2rad(double?d)??{?return?d?*?M_PI?/?180.0;?}
inline?double?rad2deg(double?r)??{?return?r?*?180.0?/?M_PI;?}
inline?double?deg2grad(double?d)?{?return?d?*?400.0?/?360.0;?}
inline?double?grad2deg(double?g)?{?return?g?*?360.0?/?400.0;?}
inline?double?turn2deg(double?t)?{?return?t?*?360.0;?}
inline?double?deg2turn(double?d)?{?return?d?/?360.0;?}
inline?double?rad2grad(double?r)?{?return?r?*?200.0?/?M_PI;?}
inline?double?grad2rad(double?g)?{?return?g?*?M_PI?/?200.0;?}
//using?namespace?std;
namespace?WebCore?{
??
??//
??//?Supporting?Math?Functions
??//
??//?This?is?a?set?of?function?from?various?places?(attributed?inline)?to?do?things?like
??//?inversion?and?decomposition?of?a?4x4?matrix.?They?are?used?throughout?the?code
??//
??
??//
??//?Adapted?from?Matrix?Inversion?by?Richard?Carling?Graphics?Gems?.
??
??//?EULA:?The?Graphics?Gems?code?is?copyright-protected.?In?other?words?you?cannot?claim?the?text?of?the?code
??//?as?your?own?and?resell?it.?Using?the?code?is?permitted?in?any?program?product?or?library?non-commercial
??//?or?commercial.?Giving?credit?is?not?required?though?is?a?nice?gesture.?The?code?comes?as-is?and?if?there
??//?are?any?flaws?or?problems?with?any?Gems?code?nobody?involved?with?Gems?-?authors?editors?publishers?or
??//?webmasters?-?are?to?be?held?responsible.?Basically?don‘t?be?a?jerk?and?remember?that?anything?free?comes
??//?with?no?guarantee.
??
??//?A?clarification?about?the?storage?of?
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2016-01-14?09:15??TestProgress\
?????文件????????6148??2016-01-14?09:15??TestProgress\.DS_Store
?????目錄???????????0??2016-05-27?15:52??__MACOSX\
?????目錄???????????0??2016-05-27?15:52??__MACOSX\TestProgress\
?????文件?????????120??2016-01-14?09:15??__MACOSX\TestProgress\._.DS_Store
?????目錄???????????0??2016-05-27?15:52??TestProgress\.git\
?????文件??????????15??2016-01-13?20:21??TestProgress\.git\COMMIT_EDITMSG
?????文件?????????137??2016-01-13?20:21??TestProgress\.git\config
?????文件??????????73??2016-01-13?20:21??TestProgress\.git\desc
?????文件??????????23??2016-01-13?20:21??TestProgress\.git\HEAD
?????目錄???????????0??2016-01-13?20:21??TestProgress\.git\hooks\
?????文件?????????177??2016-01-13?20:21??TestProgress\.git\hooks\README.sample
?????文件????????2238??2016-05-27?15:48??TestProgress\.git\index
?????目錄???????????0??2016-01-13?20:21??TestProgress\.git\info\
?????文件??????????40??2016-01-13?20:21??TestProgress\.git\info\exclude
?????目錄???????????0??2016-05-27?15:52??__MACOSX\TestProgress\.git\
?????目錄???????????0??2016-05-27?15:52??__MACOSX\TestProgress\.git\info\
?????文件?????????171??2016-01-13?20:21??__MACOSX\TestProgress\.git\info\._exclude
?????目錄???????????0??2016-01-13?20:21??TestProgress\.git\logs\
?????文件?????????163??2016-01-13?20:21??TestProgress\.git\logs\HEAD
?????目錄???????????0??2016-01-13?20:21??TestProgress\.git\logs\refs\
?????目錄???????????0??2016-01-13?20:21??TestProgress\.git\logs\refs\heads\
?????文件?????????163??2016-01-13?20:21??TestProgress\.git\logs\refs\heads\master
?????目錄???????????0??2016-01-14?09:28??TestProgress\.git\ob
?????目錄???????????0??2016-01-14?09:28??TestProgress\.git\ob
?????文件????????1748??2016-01-14?09:28??TestProgress\.git\ob
?????目錄???????????0??2016-01-13?20:21??TestProgress\.git\ob
?????文件??????????69??2016-01-13?20:21??TestProgress\.git\ob
?????目錄???????????0??2016-01-13?20:21??TestProgress\.git\ob
?????文件?????????161??2016-01-13?20:21??TestProgress\.git\ob
?????目錄???????????0??2016-01-13?20:21??TestProgress\.git\ob
............此處省略340個文件信息
評論
共有 條評論