12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901 |
- {
- File: QD/Quickdraw.h
-
- Contains: Interface to Quickdraw Graphics
-
- Version: Quickdraw-192.20~75
-
- Copyright: © 1985-2006 by Apple Computer, Inc., all rights reserved
-
- Bugs?: For bug reports, consult the following page on
- the World Wide Web:
-
- http://www.freepascal.org/bugs.html
-
- }
- { Pascal Translation Updated: Gale R Paeper, <[email protected]>, 2007 }
- {
- Modified for use with Free Pascal
- Version 210
- Please report any bugs to <[email protected]>
- }
- {$mode macpas}
- {$packenum 1}
- {$macro on}
- {$inline on}
- {$calling mwpascal}
- unit Quickdraw;
- interface
- {$setc UNIVERSAL_INTERFACES_VERSION := $0342}
- {$setc GAP_INTERFACES_VERSION := $0210}
- {$ifc not defined USE_CFSTR_CONSTANT_MACROS}
- {$setc USE_CFSTR_CONSTANT_MACROS := TRUE}
- {$endc}
- {$ifc defined CPUPOWERPC and defined CPUI386}
- {$error Conflicting initial definitions for CPUPOWERPC and CPUI386}
- {$endc}
- {$ifc defined FPC_BIG_ENDIAN and defined FPC_LITTLE_ENDIAN}
- {$error Conflicting initial definitions for FPC_BIG_ENDIAN and FPC_LITTLE_ENDIAN}
- {$endc}
- {$ifc not defined __ppc__ and defined CPUPOWERPC}
- {$setc __ppc__ := 1}
- {$elsec}
- {$setc __ppc__ := 0}
- {$endc}
- {$ifc not defined __i386__ and defined CPUI386}
- {$setc __i386__ := 1}
- {$elsec}
- {$setc __i386__ := 0}
- {$endc}
- {$ifc defined __ppc__ and __ppc__ and defined __i386__ and __i386__}
- {$error Conflicting definitions for __ppc__ and __i386__}
- {$endc}
- {$ifc defined __ppc__ and __ppc__}
- {$setc TARGET_CPU_PPC := TRUE}
- {$setc TARGET_CPU_X86 := FALSE}
- {$elifc defined __i386__ and __i386__}
- {$setc TARGET_CPU_PPC := FALSE}
- {$setc TARGET_CPU_X86 := TRUE}
- {$elsec}
- {$error Neither __ppc__ nor __i386__ is defined.}
- {$endc}
- {$setc TARGET_CPU_PPC_64 := FALSE}
- {$ifc defined FPC_BIG_ENDIAN}
- {$setc TARGET_RT_BIG_ENDIAN := TRUE}
- {$setc TARGET_RT_LITTLE_ENDIAN := FALSE}
- {$elifc defined FPC_LITTLE_ENDIAN}
- {$setc TARGET_RT_BIG_ENDIAN := FALSE}
- {$setc TARGET_RT_LITTLE_ENDIAN := TRUE}
- {$elsec}
- {$error Neither FPC_BIG_ENDIAN nor FPC_LITTLE_ENDIAN are defined.}
- {$endc}
- {$setc ACCESSOR_CALLS_ARE_FUNCTIONS := TRUE}
- {$setc CALL_NOT_IN_CARBON := FALSE}
- {$setc OLDROUTINENAMES := FALSE}
- {$setc OPAQUE_TOOLBOX_STRUCTS := TRUE}
- {$setc OPAQUE_UPP_TYPES := TRUE}
- {$setc OTCARBONAPPLICATION := TRUE}
- {$setc OTKERNEL := FALSE}
- {$setc PM_USE_SESSION_APIS := TRUE}
- {$setc TARGET_API_MAC_CARBON := TRUE}
- {$setc TARGET_API_MAC_OS8 := FALSE}
- {$setc TARGET_API_MAC_OSX := TRUE}
- {$setc TARGET_CARBON := TRUE}
- {$setc TARGET_CPU_68K := FALSE}
- {$setc TARGET_CPU_MIPS := FALSE}
- {$setc TARGET_CPU_SPARC := FALSE}
- {$setc TARGET_OS_MAC := TRUE}
- {$setc TARGET_OS_UNIX := FALSE}
- {$setc TARGET_OS_WIN32 := FALSE}
- {$setc TARGET_RT_MAC_68881 := FALSE}
- {$setc TARGET_RT_MAC_CFM := FALSE}
- {$setc TARGET_RT_MAC_MACHO := TRUE}
- {$setc TYPED_FUNCTION_POINTERS := TRUE}
- {$setc TYPE_BOOL := FALSE}
- {$setc TYPE_EXTENDED := FALSE}
- {$setc TYPE_LONGLONG := TRUE}
- uses MacTypes,CMTypes,CGDirectDisplay,Components,MixedMode,QuickdrawText,CGContext;
- {$ALIGN MAC68K}
- {*********************************************************************************
- // NOTE: Quickdraw has been deprecated for deployment targets 10.4 and later.
- // The replacement API is Quartz (CoreGraphics).
- // Because of the fundamental differences in the imaging models and design
- // goals between Quickdraw and Quartz, there is no direct correspondence
- // possible (or even desirable) between Quickdraw and Quartz APIs and concepts.
- // For certain purposes, some Quickdraw functions may even still be needed during
- // a transition period; nevertheless, they have all been tagged as deprecated
- // to express the overriding goal of eliminating all Quickdraw usage in the future.
- |********************************************************************************}
- const
- invalColReq = -1; { invalid color table request }
- { transfer modes }
- srcCopy = 0; { the 16 transfer modes }
- srcOr = 1;
- srcXor = 2;
- srcBic = 3;
- notSrcCopy = 4;
- notSrcOr = 5;
- notSrcXor = 6;
- notSrcBic = 7;
- patCopy = 8;
- patOr = 9;
- patXor = 10;
- patBic = 11;
- notPatCopy = 12;
- notPatOr = 13;
- notPatXor = 14;
- notPatBic = 15; { Special Text Transfer Mode }
- grayishTextOr = 49;
- hilitetransfermode = 50;
- hilite = 50; { Arithmetic transfer modes }
- blend = 32;
- addPin = 33;
- addOver = 34;
- subPin = 35;
- addMax = 37;
- adMax = 37;
- subOver = 38;
- adMin = 39;
- ditherCopy = 64; { Transparent mode constant }
- transparent = 36;
- italicBit = 1;
- ulineBit = 2;
- outlineBit = 3;
- shadowBit = 4;
- condenseBit = 5;
- extendBit = 6;
- { QuickDraw color separation constants }
- normalBit = 0; { normal screen mapping }
- inverseBit = 1; { inverse screen mapping }
- redBit = 4; { RGB additive mapping }
- greenBit = 3;
- blueBit = 2;
- cyanBit = 8; { CMYBk subtractive mapping }
- magentaBit = 7;
- yellowBit = 6;
- blackBit = 5;
- blackColor = 33; { colors expressed in these mappings }
- whiteColor = 30;
- redColor = 205;
- greenColor = 341;
- blueColor = 409;
- cyanColor = 273;
- magentaColor = 137;
- yellowColor = 69;
- picLParen = 0; { standard picture comments }
- picRParen = 1;
- clutType = 0; { 0 if lookup table }
- fixedType = 1; { 1 if fixed table }
- directType = 2; { 2 if direct values }
- { gdFlags bits. Bits 1..10 are legacy, and currently unused }
- gdDevType = 0; { 0 = monochrome 1 = color }
- interlacedDevice = 2; { 1 if single pixel lines look bad }
- hwMirroredDevice = 4; { 1 if device is HW mirrored }
- roundedDevice = 5; { 1 if device has been ÒroundedÓ into the GrayRgn }
- hasAuxMenuBar = 6; { 1 if device has an aux menu bar on it }
- burstDevice = 7;
- ext32Device = 8;
- ramInit = 10; { 1 if initialized from 'scrn' resource }
- mainScreen = 11; { 1 if main screen }
- allInit = 12; { 1 if all devices initialized }
- screenDevice = 13; { 1 if screen device [not used] }
- noDriver = 14; { 1 if no driver for this GDevice }
- screenActive = 15; { 1 if in use }
- hiliteBit = 7; { flag bit in LMGet/SetHiliteMode }
- pHiliteBit = 0; { flag bit in LMGet/SetHiliteMode when used with BitClr }
- { miscellaneous constants }
- defQDColors = 127; { resource ID of clut for default QDColors } { (legacy - now unused) }
- { pixel type }
- RGBDirect = 16; { 16 & 32 bits/pixel pixelType value }
- { pmVersion values }
- baseAddr32 = 4; { pixmap base address is 32-bit address }
- sysPatListID = 0;
- iBeamCursor = 1;
- crossCursor = 2;
- plusCursor = 3;
- watchCursor = 4;
- kQDGrafVerbFrame = 0;
- kQDGrafVerbPaint = 1;
- kQDGrafVerbErase = 2;
- kQDGrafVerbInvert = 3;
- kQDGrafVerbFill = 4;
- {$ifc OLDROUTINENAMES}
- frame = kQDGrafVerbFrame;
- paint = kQDGrafVerbPaint;
- erase = kQDGrafVerbErase;
- invert = kQDGrafVerbInvert;
- fill = kQDGrafVerbFill;
- {$endc} {OLDROUTINENAMES}
- type
- GrafVerb = SInt8;
- const
- chunky = 0;
- chunkyPlanar = 1;
- planar = 2;
- type
- PixelType = SInt8;
- Bits16 = array [0..15] of SInt16;
- { ************** IMPORTANT NOTE REGARDING Pattern **************************************
- Patterns were originally defined as:
-
- C: typedef unsigned char Pattern[8];
- Pascal: Pattern = packed array [0..7] of 0..255;
-
- The old array definition of Pattern would cause 68000 based CPU's to crash in certain circum-
- stances. The new struct definition is safe, but may require source code changes to compile.
-
- ******************************************************************************************** }
- PatternPtr = ^Pattern;
- Pattern = record
- pat: packed array [0..7] of UInt8;
- end;
- {
- ConstPatternParam is no longer needed. It was first created when Pattern was an array.
- Now that Pattern is a struct, it is more straight forward to just add the "const" qualifier
- on the parameter type (e.g. "const Pattern * pat" instead of "ConstPatternParam pat").
- ConstPatternParam = PatternPtr;
- }
- PatPtr = ^Pattern;
- PatHandle = ^PatPtr;
- QDByte = SignedByte;
- QDPtr = Ptr;
- QDHandle = Handle;
- QDErr = SInt16;
- const
- singleDevicesBit = 0;
- dontMatchSeedsBit = 1;
- allDevicesBit = 2;
- singleDevices = $01;
- dontMatchSeeds = $02;
- allDevices = $04;
- type
- DeviceLoopFlags = UInt32;
- {
- PrinterStatusOpcode. For communication with downloading and printing services.
- }
- PrinterStatusOpcode = SInt32;
- const
- kPrinterFontStatus = 0;
- kPrinterScalingStatus = 1;
- type
- PrinterFontStatusPtr = ^PrinterFontStatus;
- PrinterFontStatus = record
- oResult: SInt32;
- iFondID: SInt16;
- iStyle: Style;
- end;
- PrinterScalingStatusPtr = ^PrinterScalingStatus;
- PrinterScalingStatus = record
- oScalingFactors: Point;
- end;
- BitMapPtr = ^BitMap;
- BitMap = record
- baseAddr: Ptr;
- rowBytes: SInt16;
- bounds: Rect;
- end;
- BitMapHandle = ^BitMapPtr;
- CursorPtr = ^Cursor;
- Cursor = record
- data: Bits16;
- mask: Bits16;
- hotSpot: Point;
- end;
- CursPtr = ^Cursor;
- CursHandle = ^CursPtr;
- PenStatePtr = ^PenState;
- PenState = record
- pnLoc: Point;
- pnSize: Point;
- pnMode: SInt16;
- pnPat: Pattern;
- end;
- {$ifc NOT OPAQUE_TOOLBOX_STRUCTS}
- MacRegionPtr = ^MacRegion;
- MacRegion = record
- rgnSize: UInt16; { size in bytes; don't rely on it }
- rgnBBox: Rect; { enclosing rectangle; in Carbon use GetRegionBounds }
- end;
- {
- The type name "Region" has a name space collision on Win32.
- Use MacRegion to be cross-platfrom safe.
- }
- {$ifc TARGET_OS_MAC}
- Region = MacRegion;
- RegionPtr = ^Region;
- {$endc} {TARGET_OS_MAC}
- RgnPtr = ^MacRegion;
- RgnHandle = ^RgnPtr;
- {$elsec}
- RgnHandle = ^SInt32; { an opaque 32-bit type }
- RgnHandlePtr = ^RgnHandle; { when a var xx:RgnHandle parameter can be nil, it is changed to xx: RgnHandlePtr }
- {$endc}
- PicturePtr = ^Picture;
- Picture = record
- picSize: SInt16;
- picFrame: Rect;
- end;
- PicPtr = ^Picture;
- PicHandle = ^PicPtr;
- MacPolygonPtr = ^MacPolygon;
- MacPolygon = record
- polySize: SInt16;
- polyBBox: Rect;
- polyPoints: array [0..0] of Point;
- end;
- {
- The type name "Polygon" has a name space collision on Win32.
- Use MacPolygon to be cross-platfrom safe.
- }
- {$ifc TARGET_OS_MAC}
- Polygon = MacPolygon;
- PolygonPtr = ^Polygon;
- {$endc} {TARGET_OS_MAC}
- PolyPtr = ^MacPolygon;
- PolyHandle = ^PolyPtr;
- {$ifc TYPED_FUNCTION_POINTERS}
- QDTextProcPtr = procedure(byteCount: SInt16; textBuf: UnivPtr; numer: Point; denom: Point);
- {$elsec}
- QDTextProcPtr = ProcPtr;
- {$endc}
- {$ifc TYPED_FUNCTION_POINTERS}
- QDLineProcPtr = procedure(newPt: Point);
- {$elsec}
- QDLineProcPtr = ProcPtr;
- {$endc}
- {$ifc TYPED_FUNCTION_POINTERS}
- QDRectProcPtr = procedure(verb: GrafVerb; const (*var*) r: Rect);
- {$elsec}
- QDRectProcPtr = ProcPtr;
- {$endc}
- {$ifc TYPED_FUNCTION_POINTERS}
- QDRRectProcPtr = procedure(verb: GrafVerb; const (*var*) r: Rect; ovalWidth: SInt16; ovalHeight: SInt16);
- {$elsec}
- QDRRectProcPtr = ProcPtr;
- {$endc}
- {$ifc TYPED_FUNCTION_POINTERS}
- QDOvalProcPtr = procedure(verb: GrafVerb; const (*var*) r: Rect);
- {$elsec}
- QDOvalProcPtr = ProcPtr;
- {$endc}
- {$ifc TYPED_FUNCTION_POINTERS}
- QDArcProcPtr = procedure(verb: GrafVerb; const (*var*) r: Rect; startAngle: SInt16; arcAngle: SInt16);
- {$elsec}
- QDArcProcPtr = ProcPtr;
- {$endc}
- {$ifc TYPED_FUNCTION_POINTERS}
- QDPolyProcPtr = procedure(verb: GrafVerb; poly: PolyHandle);
- {$elsec}
- QDPolyProcPtr = ProcPtr;
- {$endc}
- {$ifc TYPED_FUNCTION_POINTERS}
- QDRgnProcPtr = procedure(verb: GrafVerb; rgn: RgnHandle);
- {$elsec}
- QDRgnProcPtr = ProcPtr;
- {$endc}
- {$ifc TYPED_FUNCTION_POINTERS}
- QDBitsProcPtr = procedure(const (*var*) srcBits: BitMap; const (*var*) srcRect: Rect; const (*var*) dstRect: Rect; mode: SInt16; maskRgn: RgnHandle);
- {$elsec}
- QDBitsProcPtr = ProcPtr;
- {$endc}
- {$ifc TYPED_FUNCTION_POINTERS}
- QDCommentProcPtr = procedure(kind: SInt16; dataSize: SInt16; dataHandle: Handle);
- {$elsec}
- QDCommentProcPtr = ProcPtr;
- {$endc}
- {$ifc TYPED_FUNCTION_POINTERS}
- QDTxMeasProcPtr = function(byteCount: SInt16; textAddr: UnivPtr; var numer: Point; var denom: Point; var info: FontInfo): SInt16;
- {$elsec}
- QDTxMeasProcPtr = ProcPtr;
- {$endc}
- {$ifc TYPED_FUNCTION_POINTERS}
- QDGetPicProcPtr = procedure(dataPtr: UnivPtr; byteCount: SInt16);
- {$elsec}
- QDGetPicProcPtr = ProcPtr;
- {$endc}
- {$ifc TYPED_FUNCTION_POINTERS}
- QDPutPicProcPtr = procedure(dataPtr: UnivPtr; byteCount: SInt16);
- {$elsec}
- QDPutPicProcPtr = ProcPtr;
- {$endc}
- {$ifc TYPED_FUNCTION_POINTERS}
- QDOpcodeProcPtr = procedure(const (*var*) fromRect: Rect; const (*var*) toRect: Rect; opcode: UInt16; version: SInt16);
- {$elsec}
- QDOpcodeProcPtr = ProcPtr;
- {$endc}
- { The following is unused on Mac OS X - ignore it! }
- {$ifc TYPED_FUNCTION_POINTERS}
- QDStdGlyphsProcPtr = function(dataStream: UnivPtr; size: ByteCount): OSStatus;
- {$elsec}
- QDStdGlyphsProcPtr = ProcPtr;
- {$endc}
- {$ifc TYPED_FUNCTION_POINTERS}
- QDJShieldCursorProcPtr = procedure(left: SInt16; top: SInt16; right: SInt16; bottom: SInt16);
- {$elsec}
- QDJShieldCursorProcPtr = ProcPtr;
- {$endc}
- {$ifc OPAQUE_UPP_TYPES}
- QDTextUPP = ^SInt32; { an opaque UPP }
- {$elsec}
- QDTextUPP = UniversalProcPtr;
- {$endc}
- {$ifc OPAQUE_UPP_TYPES}
- QDLineUPP = ^SInt32; { an opaque UPP }
- {$elsec}
- QDLineUPP = UniversalProcPtr;
- {$endc}
- {$ifc OPAQUE_UPP_TYPES}
- QDRectUPP = ^SInt32; { an opaque UPP }
- {$elsec}
- QDRectUPP = UniversalProcPtr;
- {$endc}
- {$ifc OPAQUE_UPP_TYPES}
- QDRRectUPP = ^SInt32; { an opaque UPP }
- {$elsec}
- QDRRectUPP = UniversalProcPtr;
- {$endc}
- {$ifc OPAQUE_UPP_TYPES}
- QDOvalUPP = ^SInt32; { an opaque UPP }
- {$elsec}
- QDOvalUPP = UniversalProcPtr;
- {$endc}
- {$ifc OPAQUE_UPP_TYPES}
- QDArcUPP = ^SInt32; { an opaque UPP }
- {$elsec}
- QDArcUPP = UniversalProcPtr;
- {$endc}
- {$ifc OPAQUE_UPP_TYPES}
- QDPolyUPP = ^SInt32; { an opaque UPP }
- {$elsec}
- QDPolyUPP = UniversalProcPtr;
- {$endc}
- {$ifc OPAQUE_UPP_TYPES}
- QDRgnUPP = ^SInt32; { an opaque UPP }
- {$elsec}
- QDRgnUPP = UniversalProcPtr;
- {$endc}
- {$ifc OPAQUE_UPP_TYPES}
- QDBitsUPP = ^SInt32; { an opaque UPP }
- {$elsec}
- QDBitsUPP = UniversalProcPtr;
- {$endc}
- {$ifc OPAQUE_UPP_TYPES}
- QDCommentUPP = ^SInt32; { an opaque UPP }
- {$elsec}
- QDCommentUPP = UniversalProcPtr;
- {$endc}
- {$ifc OPAQUE_UPP_TYPES}
- QDTxMeasUPP = ^SInt32; { an opaque UPP }
- {$elsec}
- QDTxMeasUPP = UniversalProcPtr;
- {$endc}
- {$ifc OPAQUE_UPP_TYPES}
- QDGetPicUPP = ^SInt32; { an opaque UPP }
- {$elsec}
- QDGetPicUPP = UniversalProcPtr;
- {$endc}
- {$ifc OPAQUE_UPP_TYPES}
- QDPutPicUPP = ^SInt32; { an opaque UPP }
- {$elsec}
- QDPutPicUPP = UniversalProcPtr;
- {$endc}
- {$ifc OPAQUE_UPP_TYPES}
- QDOpcodeUPP = ^SInt32; { an opaque UPP }
- {$elsec}
- QDOpcodeUPP = UniversalProcPtr;
- {$endc}
- {$ifc OPAQUE_UPP_TYPES}
- QDStdGlyphsUPP = ^SInt32; { an opaque UPP }
- {$elsec}
- QDStdGlyphsUPP = UniversalProcPtr;
- {$endc}
- {$ifc OPAQUE_UPP_TYPES}
- QDJShieldCursorUPP = ^SInt32; { an opaque UPP }
- {$elsec}
- QDJShieldCursorUPP = UniversalProcPtr;
- {$endc}
- QDProcsPtr = ^QDProcs;
- QDProcs = record
- textProc: QDTextUPP;
- lineProc: QDLineUPP;
- rectProc: QDRectUPP;
- rRectProc: QDRRectUPP;
- ovalProc: QDOvalUPP;
- arcProc: QDArcUPP;
- polyProc: QDPolyUPP;
- rgnProc: QDRgnUPP;
- bitsProc: QDBitsUPP;
- commentProc: QDCommentUPP;
- txMeasProc: QDTxMeasUPP;
- getPicProc: QDGetPicUPP;
- putPicProc: QDPutPicUPP;
- end;
- const
- uppQDTextProcInfo = $00003F80;
- uppQDLineProcInfo = $000000C0;
- uppQDRectProcInfo = $00000340;
- uppQDRRectProcInfo = $00002B40;
- uppQDOvalProcInfo = $00000340;
- uppQDArcProcInfo = $00002B40;
- uppQDPolyProcInfo = $00000340;
- uppQDRgnProcInfo = $00000340;
- uppQDBitsProcInfo = $0000EFC0;
- uppQDCommentProcInfo = $00000E80;
- uppQDTxMeasProcInfo = $0000FFA0;
- uppQDGetPicProcInfo = $000002C0;
- uppQDPutPicProcInfo = $000002C0;
- uppQDOpcodeProcInfo = $00002BC0;
- uppQDStdGlyphsProcInfo = $000003F1;
- uppQDJShieldCursorProcInfo = $00002A80;
- {
- * NewQDTextUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function NewQDTextUPP(userRoutine: QDTextProcPtr): QDTextUPP; external name '_NewQDTextUPP'; { old name was NewQDTextProc }
- {
- * NewQDLineUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4
- function NewQDLineUPP(userRoutine: QDLineProcPtr): QDLineUPP; external name '_NewQDLineUPP'; { old name was NewQDLineProc }
- {
- * NewQDRectUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function NewQDRectUPP(userRoutine: QDRectProcPtr): QDRectUPP; external name '_NewQDRectUPP'; { old name was NewQDRectProc }
- {
- * NewQDRRectUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function NewQDRRectUPP(userRoutine: QDRRectProcPtr): QDRRectUPP; external name '_NewQDRRectUPP'; { old name was NewQDRRectProc }
- {
- * NewQDOvalUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function NewQDOvalUPP(userRoutine: QDOvalProcPtr): QDOvalUPP; external name '_NewQDOvalUPP'; { old name was NewQDOvalProc }
- {
- * NewQDArcUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function NewQDArcUPP(userRoutine: QDArcProcPtr): QDArcUPP; external name '_NewQDArcUPP'; { old name was NewQDArcProc }
-
- {
- * NewQDPolyUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function NewQDPolyUPP(userRoutine: QDPolyProcPtr): QDPolyUPP; external name '_NewQDPolyUPP'; { old name was NewQDPolyProc }
- {
- * NewQDRgnUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function NewQDRgnUPP(userRoutine: QDRgnProcPtr): QDRgnUPP; external name '_NewQDRgnUPP'; { old name was NewQDRgnProc }
- {
- * NewQDBitsUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function NewQDBitsUPP(userRoutine: QDBitsProcPtr): QDBitsUPP; external name '_NewQDBitsUPP'; { old name was NewQDBitsProc }
- {
- * NewQDCommentUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function NewQDCommentUPP(userRoutine: QDCommentProcPtr): QDCommentUPP; external name '_NewQDCommentUPP'; { old name was NewQDCommentProc }
- {
- * NewQDTxMeasUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function NewQDTxMeasUPP(userRoutine: QDTxMeasProcPtr): QDTxMeasUPP; external name '_NewQDTxMeasUPP'; { old name was NewQDTxMeasProc }
- {
- * NewQDGetPicUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function NewQDGetPicUPP(userRoutine: QDGetPicProcPtr): QDGetPicUPP; external name '_NewQDGetPicUPP'; { old name was NewQDGetPicProc }
- {
- * NewQDPutPicUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function NewQDPutPicUPP(userRoutine: QDPutPicProcPtr): QDPutPicUPP; external name '_NewQDPutPicUPP'; { old name was NewQDPutPicProc }
- {
- * NewQDOpcodeUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function NewQDOpcodeUPP(userRoutine: QDOpcodeProcPtr): QDOpcodeUPP; external name '_NewQDOpcodeUPP'; { old name was NewQDOpcodeProc }
- {
- * NewQDStdGlyphsUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function NewQDStdGlyphsUPP(userRoutine: QDStdGlyphsProcPtr): QDStdGlyphsUPP; external name '_NewQDStdGlyphsUPP'; { old name was NewQDStdGlyphsProc }
- {
- * NewQDJShieldCursorUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function NewQDJShieldCursorUPP(userRoutine: QDJShieldCursorProcPtr): QDJShieldCursorUPP; external name '_NewQDJShieldCursorUPP'; { old name was NewQDJShieldCursorProc }
- {
- * DisposeQDTextUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure DisposeQDTextUPP(userUPP: QDTextUPP); external name '_DisposeQDTextUPP';
- {
- * DisposeQDLineUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure DisposeQDLineUPP(userUPP: QDLineUPP); external name '_DisposeQDLineUPP';
- {
- * DisposeQDRectUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure DisposeQDRectUPP(userUPP: QDRectUPP); external name '_DisposeQDRectUPP';
- {
- * DisposeQDRRectUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure DisposeQDRRectUPP(userUPP: QDRRectUPP); external name '_DisposeQDRRectUPP';
- {
- * DisposeQDOvalUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure DisposeQDOvalUPP(userUPP: QDOvalUPP); external name '_DisposeQDOvalUPP';
- {
- * DisposeQDArcUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure DisposeQDArcUPP(userUPP: QDArcUPP); external name '_DisposeQDArcUPP';
- {
- * DisposeQDPolyUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure DisposeQDPolyUPP(userUPP: QDPolyUPP); external name '_DisposeQDPolyUPP';
- {
- * DisposeQDRgnUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure DisposeQDRgnUPP(userUPP: QDRgnUPP); external name '_DisposeQDRgnUPP';
- {
- * DisposeQDBitsUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure DisposeQDBitsUPP(userUPP: QDBitsUPP); external name '_DisposeQDBitsUPP';
- {
- * DisposeQDCommentUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure DisposeQDCommentUPP(userUPP: QDCommentUPP); external name '_DisposeQDCommentUPP';
- {
- * DisposeQDTxMeasUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure DisposeQDTxMeasUPP(userUPP: QDTxMeasUPP); external name '_DisposeQDTxMeasUPP';
- {
- * DisposeQDGetPicUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure DisposeQDGetPicUPP(userUPP: QDGetPicUPP); external name '_DisposeQDGetPicUPP';
- {
- * DisposeQDPutPicUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure DisposeQDPutPicUPP(userUPP: QDPutPicUPP); external name '_DisposeQDPutPicUPP';
- {
- * DisposeQDOpcodeUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure DisposeQDOpcodeUPP(userUPP: QDOpcodeUPP); external name '_DisposeQDOpcodeUPP';
- {
- * DisposeQDStdGlyphsUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure DisposeQDStdGlyphsUPP(userUPP: QDStdGlyphsUPP); external name '_DisposeQDStdGlyphsUPP';
- {
- * DisposeQDJShieldCursorUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure DisposeQDJShieldCursorUPP(userUPP: QDJShieldCursorUPP); external name '_DisposeQDJShieldCursorUPP';
- {
- * InvokeQDTextUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure InvokeQDTextUPP(byteCount: SInt16; textBuf: UnivPtr; numer: Point; denom: Point; userRoutine: QDTextUPP); external name '_InvokeQDTextUPP'; { old name was CallQDTextProc }
- {
- * InvokeQDLineUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure InvokeQDLineUPP(newPt: Point; userRoutine: QDLineUPP); external name '_InvokeQDLineUPP'; { old name was CallQDLineProc }
- {
- * InvokeQDRectUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure InvokeQDRectUPP(verb: GrafVerb; const (*var*) r: Rect; userRoutine: QDRectUPP); external name '_InvokeQDRectUPP'; { old name was CallQDRectProc }
- {
- * InvokeQDRRectUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure InvokeQDRRectUPP(verb: GrafVerb; const (*var*) r: Rect; ovalWidth: SInt16; ovalHeight: SInt16; userRoutine: QDRRectUPP); external name '_InvokeQDRRectUPP'; { old name was CallQDRRectProc }
- {
- * InvokeQDOvalUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure InvokeQDOvalUPP(verb: GrafVerb; const (*var*) r: Rect; userRoutine: QDOvalUPP); external name '_InvokeQDOvalUPP'; { old name was CallQDOvalProc }
- {
- * InvokeQDArcUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure InvokeQDArcUPP(verb: GrafVerb; const (*var*) r: Rect; startAngle: SInt16; arcAngle: SInt16; userRoutine: QDArcUPP); external name '_InvokeQDArcUPP'; { old name was CallQDArcProc }
- {
- * InvokeQDPolyUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure InvokeQDPolyUPP(verb: GrafVerb; poly: PolyHandle; userRoutine: QDPolyUPP); external name '_InvokeQDPolyUPP'; { old name was CallQDPolyProc }
- {
- * InvokeQDRgnUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure InvokeQDRgnUPP(verb: GrafVerb; rgn: RgnHandle; userRoutine: QDRgnUPP); external name '_InvokeQDRgnUPP'; { old name was CallQDRgnProc }
- {
- * InvokeQDBitsUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure InvokeQDBitsUPP(const (*var*) srcBits: BitMap; const (*var*) srcRect: Rect; const (*var*) dstRect: Rect; mode: SInt16; maskRgn: RgnHandle; userRoutine: QDBitsUPP); external name '_InvokeQDBitsUPP'; { old name was CallQDBitsProc }
- {
- * InvokeQDCommentUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure InvokeQDCommentUPP(kind: SInt16; dataSize: SInt16; dataHandle: Handle; userRoutine: QDCommentUPP); external name '_InvokeQDCommentUPP'; { old name was CallQDCommentProc }
- {
- * InvokeQDTxMeasUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function InvokeQDTxMeasUPP(byteCount: SInt16; textAddr: UnivPtr; var numer: Point; var denom: Point; var info: FontInfo; userRoutine: QDTxMeasUPP): SInt16; external name '_InvokeQDTxMeasUPP'; { old name was CallQDTxMeasProc }
- {
- * InvokeQDGetPicUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure InvokeQDGetPicUPP(dataPtr: UnivPtr; byteCount: SInt16; userRoutine: QDGetPicUPP); external name '_InvokeQDGetPicUPP'; { old name was CallQDGetPicProc }
- {
- * InvokeQDPutPicUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure InvokeQDPutPicUPP(dataPtr: UnivPtr; byteCount: SInt16; userRoutine: QDPutPicUPP); external name '_InvokeQDPutPicUPP'; { old name was CallQDPutPicProc }
- {
- * InvokeQDOpcodeUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure InvokeQDOpcodeUPP(const (*var*) fromRect: Rect; const (*var*) toRect: Rect; opcode: UInt16; version: SInt16; userRoutine: QDOpcodeUPP); external name '_InvokeQDOpcodeUPP'; { old name was CallQDOpcodeProc }
- {
- * InvokeQDStdGlyphsUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function InvokeQDStdGlyphsUPP(dataStream: UnivPtr; size: ByteCount; userRoutine: QDStdGlyphsUPP): OSStatus; external name '_InvokeQDStdGlyphsUPP'; { old name was CallQDStdGlyphsProc }
- {
- * InvokeQDJShieldCursorUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure InvokeQDJShieldCursorUPP(left: SInt16; top: SInt16; right: SInt16; bottom: SInt16; userRoutine: QDJShieldCursorUPP); external name '_InvokeQDJShieldCursorUPP'; { old name was CallQDJShieldCursorProc }
- {$ifc NOT OPAQUE_TOOLBOX_STRUCTS}
- type
- GrafPortPtr = ^GrafPort;
- GrafPort = record
- device: SInt16; { not available in Carbon }
- portBits: BitMap; { in Carbon use GetPortBitMapForCopyBits or IsPortColor }
- portRect: Rect; { in Carbon use Get/SetPortBounds }
- visRgn: RgnHandle; { in Carbon use Get/SetPortVisibleRegion }
- clipRgn: RgnHandle; { in Carbon use Get/SetPortClipRegion }
- bkPat: Pattern; { not available in Carbon all GrafPorts are CGrafPorts }
- fillPat: Pattern; { not available in Carbon all GrafPorts are CGrafPorts }
- pnLoc: Point; { in Carbon use GetPortPenLocation or MoveTo }
- pnSize: Point; { in Carbon use Get/SetPortPenSize }
- pnMode: SInt16; { in Carbon use Get/SetPortPenMode }
- pnPat: Pattern; { not available in Carbon all GrafPorts are CGrafPorts }
- pnVis: SInt16; { in Carbon use GetPortPenVisibility or Show/HidePen }
- txFont: SInt16; { in Carbon use GetPortTextFont or TextFont }
- txFace: StyleField; { in Carbon use GetPortTextFace or TextFace }
- { StyleField occupies 16-bits, but only first 8-bits are used }
- txMode: SInt16; { in Carbon use GetPortTextMode or TextMode }
- txSize: SInt16; { in Carbon use GetPortTextSize or TextSize }
- spExtra: Fixed; { in Carbon use GetPortSpExtra or SpaceExtra }
- fgColor: SInt32; { not available in Carbon }
- bkColor: SInt32; { not available in Carbon }
- colrBit: SInt16; { not available in Carbon }
- patStretch: SInt16; { not available in Carbon }
- picSave: Handle; { in Carbon use IsPortPictureBeingDefined }
- rgnSave: Handle; { not available in Carbon }
- polySave: Handle; { not available in Carbon }
- grafProcs: QDProcsPtr; { not available in Carbon all GrafPorts are CGrafPorts }
- end;
- GrafPtr = ^GrafPort;
- {
- * This set of definitions "belongs" in Windows.
- * But, there is a circularity in the headers where Windows includes Controls and
- * Controls includes Windows. To break the circle, the information
- * needed by Controls is moved from Windows to Quickdraw.
- }
- WindowPtr = GrafPtr;
- DialogPtr = WindowPtr;
- {$elsec}
- type
- WindowPtr = ^SInt32; { an opaque 32-bit type }
- WindowPtrPtr = ^WindowPtr; { when a var xx:WindowPtr parameter can be nil, it is changed to xx: WindowPtrPtr }
- DialogPtr = ^SInt32; { an opaque 32-bit type }
- DialogPtrPtr = ^DialogPtr; { when a var xx:DialogPtr parameter can be nil, it is changed to xx: DialogPtrPtr }
- GrafPtr = ^SInt32; { an opaque 32-bit type }
- GrafPtrPtr = ^GrafPtr; { when a var xx:GrafPtr parameter can be nil, it is changed to xx: GrafPtrPtr }
- {$endc}
- WindowRef = WindowPtr;
- WindowRefPtr = ^WindowRef; { when a var xx:WindowRef parameter can be nil, it is changed to xx: WindowRefPtr }
- { DragConstraint constants to pass to DragGray,DragTheRgn, or ConstrainedDragRgn }
- DragConstraint = UInt16;
- const
- kNoConstraint = 0;
- kVerticalConstraint = 1;
- kHorizontalConstraint = 2;
- type
- {$ifc TYPED_FUNCTION_POINTERS}
- DragGrayRgnProcPtr = procedure;
- {$elsec}
- DragGrayRgnProcPtr = ProcPtr;
- {$endc}
- {
- * Here ends the list of things that "belong" in Windows.
- }
- RGBColorPtr = ^RGBColor;
- RGBColor = record
- red: UInt16; { magnitude of red component }
- green: UInt16; { magnitude of green component }
- blue: UInt16; { magnitude of blue component }
- end;
- RGBColorHdl = ^RGBColorPtr;
- {$ifc TYPED_FUNCTION_POINTERS}
- ColorSearchProcPtr = function(var rgb: RGBColor; var position: SInt32): boolean;
- {$elsec}
- ColorSearchProcPtr = ProcPtr;
- {$endc}
- {$ifc TYPED_FUNCTION_POINTERS}
- ColorComplementProcPtr = function(var rgb: RGBColor): boolean;
- {$elsec}
- ColorComplementProcPtr = ProcPtr;
- {$endc}
- {$ifc OPAQUE_UPP_TYPES}
- DragGrayRgnUPP = ^SInt32; { an opaque UPP }
- {$elsec}
- DragGrayRgnUPP = UniversalProcPtr;
- {$endc}
- {$ifc OPAQUE_UPP_TYPES}
- ColorSearchUPP = ^SInt32; { an opaque UPP }
- {$elsec}
- ColorSearchUPP = UniversalProcPtr;
- {$endc}
- {$ifc OPAQUE_UPP_TYPES}
- ColorComplementUPP = ^SInt32; { an opaque UPP }
- {$elsec}
- ColorComplementUPP = UniversalProcPtr;
- {$endc}
- const
- uppDragGrayRgnProcInfo = $00000000;
- uppColorSearchProcInfo = $000003D0;
- uppColorComplementProcInfo = $000000D0;
- {
- * NewDragGrayRgnUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function NewDragGrayRgnUPP(userRoutine: DragGrayRgnProcPtr): DragGrayRgnUPP; external name '_NewDragGrayRgnUPP'; { old name was NewDragGrayRgnProc }
- {
- * NewColorSearchUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function NewColorSearchUPP(userRoutine: ColorSearchProcPtr): ColorSearchUPP; external name '_NewColorSearchUPP'; { old name was NewColorSearchProc }
- {
- * NewColorComplementUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function NewColorComplementUPP(userRoutine: ColorComplementProcPtr): ColorComplementUPP; external name '_NewColorComplementUPP'; { old name was NewColorComplementProc }
- {
- * DisposeDragGrayRgnUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure DisposeDragGrayRgnUPP(userUPP: DragGrayRgnUPP); external name '_DisposeDragGrayRgnUPP';
- {
- * DisposeColorSearchUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure DisposeColorSearchUPP(userUPP: ColorSearchUPP); external name '_DisposeColorSearchUPP';
- {
- * DisposeColorComplementUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure DisposeColorComplementUPP(userUPP: ColorComplementUPP); external name '_DisposeColorComplementUPP';
- {
- * InvokeDragGrayRgnUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure InvokeDragGrayRgnUPP(userRoutine: DragGrayRgnUPP); external name '_InvokeDragGrayRgnUPP'; { old name was CallDragGrayRgnProc }
- {
- * InvokeColorSearchUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function InvokeColorSearchUPP(var rgb: RGBColor; var position: SInt32; userRoutine: ColorSearchUPP): boolean; external name '_InvokeColorSearchUPP'; { old name was CallColorSearchProc }
- {
- * InvokeColorComplementUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function InvokeColorComplementUPP(var rgb: RGBColor; userRoutine: ColorComplementUPP): boolean; external name '_InvokeColorComplementUPP'; { old name was CallColorComplementProc }
- type
- ColorSpecPtr = ^ColorSpec;
- ColorSpec = record
- value: SInt16; { index or other value }
- rgb: RGBColor; { true color }
- end;
- CSpecArray = array [0..0] of ColorSpec;
- ColorTablePtr = ^ColorTable;
- ColorTable = record
- ctSeed: SInt32; { unique identifier for table }
- ctFlags: SInt16; { high bit: 0 = PixMap; 1 = device }
- ctSize: SInt16; { number of entries in CTTable }
- ctTable: CSpecArray; { array [0..0] of ColorSpec }
- end;
- CTabPtr = ^ColorTable;
- CTabHandle = ^CTabPtr;
- xColorSpecPtr = ^xColorSpec;
- xColorSpec = record
- value: SInt16; { index or other value }
- rgb: RGBColor; { true color }
- xalpha: SInt16;
- end;
- xCSpecArray = array [0..0] of xColorSpec;
- MatchRecPtr = ^MatchRec;
- MatchRec = record
- red: UInt16;
- green: UInt16;
- blue: UInt16;
- matchData: SInt32;
- end;
- {
- QuickTime 3.0 makes PixMap data structure available on non-Mac OS's.
- In order to implement PixMap in these alternate environments, the PixMap
- had to be extended. The pmReserved field was changed to pmExt which is
- a Handle to extra info. The planeBytes field was changed to pixelFormat.
-
- In OS X, Quickdraw also uses the new PixMap data structure.
- }
- {$ifc undefined OLDPIXMAPSTRUCT}
- {$ifc TARGET_OS_MAC AND TARGET_API_MAC_OS8}
- {$setc OLDPIXMAPSTRUCT := 1}
- {$elsec}
- {$setc OLDPIXMAPSTRUCT := 0}
- {$endc}
- {$endc}
- { pixel formats }
- const
- k1MonochromePixelFormat = $00000001; { 1 bit indexed }
- k2IndexedPixelFormat = $00000002; { 2 bit indexed }
- k4IndexedPixelFormat = $00000004; { 4 bit indexed }
- k8IndexedPixelFormat = $00000008; { 8 bit indexed }
- k16BE555PixelFormat = $00000010; { 16 bit BE rgb 555 (Mac) }
- k24RGBPixelFormat = $00000018; { 24 bit rgb }
- k32ARGBPixelFormat = $00000020; { 32 bit argb (Mac) }
- k1IndexedGrayPixelFormat = $00000021; { 1 bit indexed gray }
- k2IndexedGrayPixelFormat = $00000022; { 2 bit indexed gray }
- k4IndexedGrayPixelFormat = $00000024; { 4 bit indexed gray }
- k8IndexedGrayPixelFormat = $00000028; { 8 bit indexed gray }
- { values for PixMap.pixelFormat }
- k16LE555PixelFormat = FourCharCode('L555'); { 16 bit LE rgb 555 (PC) }
- k16LE5551PixelFormat = FourCharCode('5551'); { 16 bit LE rgb 5551 }
- k16BE565PixelFormat = FourCharCode('B565'); { 16 bit BE rgb 565 }
- k16LE565PixelFormat = FourCharCode('L565'); { 16 bit LE rgb 565 }
- k24BGRPixelFormat = FourCharCode('24BG'); { 24 bit bgr }
- k32BGRAPixelFormat = FourCharCode('BGRA'); { 32 bit bgra (Matrox) }
- k32ABGRPixelFormat = FourCharCode('ABGR'); { 32 bit abgr }
- k32RGBAPixelFormat = FourCharCode('RGBA'); { 32 bit rgba }
- kYUVSPixelFormat = FourCharCode('yuvs'); { YUV 4:2:2 byte ordering 16-unsigned = 'YUY2' }
- kYUVUPixelFormat = FourCharCode('yuvu'); { YUV 4:2:2 byte ordering 16-signed }
- kYVU9PixelFormat = FourCharCode('YVU9'); { YVU9 Planar 9 }
- kYUV411PixelFormat = FourCharCode('Y411'); { YUV 4:1:1 Interleaved 16 }
- kYVYU422PixelFormat = FourCharCode('YVYU'); { YVYU 4:2:2 byte ordering 16 }
- kUYVY422PixelFormat = FourCharCode('UYVY'); { UYVY 4:2:2 byte ordering 16 }
- kYUV211PixelFormat = FourCharCode('Y211'); { YUV 2:1:1 Packed 8 }
- k2vuyPixelFormat = FourCharCode('2vuy'); { UYVY 4:2:2 byte ordering 16 }
- type
- PixMapPtr = ^PixMap;
- PixMap = record
- baseAddr: Ptr; { pointer to pixels }
- rowBytes: SInt16; { offset to next line } { Carbon: uses extended rowbytes in pmExt field pixMap extension. Use ImageCompression's (QTGet|QTSet)PixMap(Handle|Ptr)RowBytes functions }
- bounds: Rect; { encloses bitmap }
- pmVersion: SInt16; { pixMap version number }
- packType: SInt16; { defines packing format }
- packSize: SInt32; { length of pixel data }
- hRes: Fixed; { horiz. resolution (ppi) }
- vRes: Fixed; { vert. resolution (ppi) }
- pixelType: SInt16; { defines pixel type }
- pixelSize: SInt16; { # bits in pixel }
- cmpCount: SInt16; { # components in pixel }
- cmpSize: SInt16; { # bits per component }
- {$ifc OLDPIXMAPSTRUCT}
- planeBytes: SInt32; { offset to next plane }
- pmTable: CTabHandle; { color map for this pixMap }
- pmReserved: SInt32;
- {$elsec}
- pixelFormat: OSType; {fourCharCode representation}
- pmTable: CTabHandle; {color map for this pixMap}
- pmExt: Handle; {Handle to pixMap extension}
- {$endc}
- end;
- PixMapHandle = ^PixMapPtr;
- PixPatPtr = ^PixPat;
- PixPat = record
- patType: SInt16; { type of pattern }
- patMap: PixMapHandle; { the pattern's pixMap }
- patData: Handle; { pixmap's data }
- patXData: Handle; { expanded Pattern data }
- patXValid: SInt16; { flags whether expanded Pattern valid }
- patXMap: Handle; { Handle to expanded Pattern data }
- pat1Data: Pattern; { old-Style pattern/RGB color }
- end;
- PixPatHandle = ^PixPatPtr;
- CCrsrPtr = ^CCrsr;
- CCrsr = record
- crsrType: SInt16; { type of cursor }
- crsrMap: PixMapHandle; { the cursor's pixmap }
- crsrData: Handle; { cursor's data }
- crsrXData: Handle; { expanded cursor data }
- crsrXValid: SInt16; { depth of expanded data (0 if none) }
- crsrXHandle: Handle; { future use }
- crsr1Data: Bits16; { one-bit cursor }
- crsrMask: Bits16; { cursor's mask }
- crsrHotSpot: Point; { cursor's hotspot }
- crsrXTable: SInt32; { private }
- crsrID: SInt32; { private }
- end;
- CCrsrHandle = ^CCrsrPtr;
- GammaTblPtr = ^GammaTbl;
- GammaTbl = record
- gVersion: SInt16; { gamma version number }
- gType: SInt16; { gamma data type }
- gFormulaSize: SInt16; { Formula data size }
- gChanCnt: SInt16; { number of channels of data }
- gDataCnt: SInt16; { number of values/channel }
- gDataWidth: SInt16; { bits/corrected value (data packed to next larger byte size) }
- gFormulaData: array [0..0] of SInt16; { data for formulas followed by gamma values }
- end;
- GammaTblHandle = ^GammaTblPtr;
- ITabPtr = ^ITab;
- ITab = record
- iTabSeed: SInt32; { copy of CTSeed from source CTable }
- iTabRes: SInt16; { bits/channel resolution of iTable }
- iTTable: SInt8; { byte colortable index values }
- end;
- ITabHandle = ^ITabPtr;
- SProcRecPtr = ^SProcRec;
- SProcRec = record
- nxtSrch: Handle; { SProcHndl Handle to next SProcRec }
- srchProc: ColorSearchUPP; { search procedure proc ptr }
- end;
- SProcPtr = ^SProcRec;
- SProcHndl = ^SProcPtr;
- CProcRecPtr = ^CProcRec;
- CProcRec = record
- nxtComp: Handle; { CProcHndl Handle to next CProcRec }
- compProc: ColorComplementUPP; { complement procedure proc ptr }
- end;
- CProcPtr = ^CProcRec;
- CProcHndl = ^CProcPtr;
- {
- QuickTime 3.0 makes GDevice data structure available on non-Mac OS's.
- In order to implement GDevice in these alternate environments, the GDevice
- had to be extended. The gdReserved field was changed to gdExt which is
- a Handle to extra info.
- }
- {$ifc undefined OLDGDEVICESTRUCT}
- {$ifc TARGET_OS_MAC AND TARGET_API_MAC_OS8}
- {$setc OLDGDEVICESTRUCT := 1}
- {$elsec}
- {$setc OLDGDEVICESTRUCT := 0}
- {$endc}
- {$endc}
- GDevicePtr = ^GDevice;
- GDPtr = ^GDevice;
- GDHandle = ^GDPtr;
- GDHandle_fix = GDHandle; { used as field type when a record declaration contains a GDHandle field identifier }
- GDHandlePtr = ^GDHandle; { when a VAR xx: GDHandle parameter can be nil, it is changed to xx: GDHandlePtr }
- GDevice = record
- gdRefNum: SInt16; { driver's unit number }
- gdID: SInt16; { client ID for search procs }
- gdType: SInt16; { fixed/CLUT/direct }
- gdITable: ITabHandle; { Handle to inverse lookup table }
- gdResPref: SInt16; { preferred resolution of GDITable }
- gdSearchProc: SProcHndl; { search proc list head }
- gdCompProc: CProcHndl; { complement proc list }
- gdFlags: SInt16; { grafDevice flags word }
- gdPMap: PixMapHandle; { describing pixMap }
- gdRefCon: SInt32; { reference value }
- gdNextGD: GDHandle; { GDHandle Handle of next gDevice }
- gdRect: Rect; { device's bounds in global coordinates }
- gdMode: SInt32; { device's current mode }
- gdCCBytes: SInt16; { depth of expanded cursor data }
- gdCCDepth: SInt16; { depth of expanded cursor data }
- gdCCXData: Handle; { Handle to cursor's expanded data }
- gdCCXMask: Handle; { Handle to cursor's expanded mask }
- {$ifc OLDGDEVICESTRUCT}
- gdReserved: SInt32; { future use. MUST BE 0 }
- {$elsec}
- gdExt: Handle; {QuickTime 3.0 private info}
- {$endc}
- end;
- GrafVars = record
- rgbOpColor: RGBColor; { color for addPin subPin and average }
- rgbHiliteColor: RGBColor; { color for hiliting }
- pmFgColor: Handle; { palette Handle for foreground color }
- pmFgIndex: SInt16; { index value for foreground }
- pmBkColor: Handle; { palette Handle for background color }
- pmBkIndex: SInt16; { index value for background }
- pmFlags: SInt16; { flags for Palette Manager }
- end;
- GVarPtr = ^GrafVars;
- GVarHandle = ^GVarPtr;
- {$ifc NOT OPAQUE_TOOLBOX_STRUCTS}
- CGrafPortPtr = ^CGrafPort;
- CGrafPtr = ^CGrafPort;
- {$elsec}
- CGrafPtr = GrafPtr;
- {$endc}
- CGrafPtrPtr = ^CGrafPtr;
- {$ifc TYPED_FUNCTION_POINTERS}
- QDPrinterStatusProcPtr = function(opcode: PrinterStatusOpcode; currentPort: CGrafPtr; printerStatus: UnivPtr): OSStatus;
- {$elsec}
- QDPrinterStatusProcPtr = ProcPtr;
- {$endc}
- {$ifc OPAQUE_UPP_TYPES}
- QDPrinterStatusUPP = ^SInt32; { an opaque UPP }
- {$elsec}
- QDPrinterStatusUPP = UniversalProcPtr;
- {$endc}
- CQDProcsPtr = ^CQDProcs;
- CQDProcs = record
- textProc: QDTextUPP;
- lineProc: QDLineUPP;
- rectProc: QDRectUPP;
- rRectProc: QDRRectUPP;
- ovalProc: QDOvalUPP;
- arcProc: QDArcUPP;
- polyProc: QDPolyUPP;
- rgnProc: QDRgnUPP;
- bitsProc: QDBitsUPP;
- commentProc: QDCommentUPP;
- txMeasProc: QDTxMeasUPP;
- getPicProc: QDGetPicUPP;
- putPicProc: QDPutPicUPP;
- opcodeProc: QDOpcodeUPP;
- newProc1: UniversalProcPtr; { this is the StdPix bottleneck -- see ImageCompression.h }
- glyphsProc: QDStdGlyphsUPP; { unused on Mac OS X. was newProc2; now used in Unicode text drawing }
- printerStatusProc: QDPrinterStatusUPP; { was newProc3; now used to communicate status between Printing code and System imaging code }
- newProc4: UniversalProcPtr;
- newProc5: UniversalProcPtr;
- newProc6: UniversalProcPtr;
- end;
- {$ifc NOT OPAQUE_TOOLBOX_STRUCTS}
- CGrafPort = record
- device: SInt16; { not available in Carbon }
- portPixMap: PixMapHandle; { in Carbon use GetPortPixMap }
- portVersion: SInt16; { in Carbon use IsPortColor }
- grafVars: Handle; { not available in Carbon }
- chExtra: SInt16; { in Carbon use GetPortChExtra }
- pnLocHFrac: SInt16; { in Carbon use Get/SetPortFracHPenLocation }
- portRect: Rect; { in Carbon use Get/SetPortBounds }
- visRgn: RgnHandle; { in Carbon use Get/SetPortVisibleRegion }
- clipRgn: RgnHandle; { in Carbon use Get/SetPortClipRegion }
- bkPixPat: PixPatHandle; { in Carbon use GetPortBackPixPat or BackPixPat }
- rgbFgColor: RGBColor; { in Carbon use GetPortForeColor or RGBForeColor }
- rgbBkColor: RGBColor; { in Carbon use GetPortBackColor or RGBBackColor }
- pnLoc: Point; { in Carbon use GetPortPenLocation or MoveTo }
- pnSize: Point; { in Carbon use Get/SetPortPenSize }
- pnMode: SInt16; { in Carbon use Get/SetPortPenMode }
- pnPixPat: PixPatHandle; { in Carbon use Get/SetPortPenPixPat }
- fillPixPat: PixPatHandle; { in Carbon use GetPortFillPixPat }
- pnVis: SInt16; { in Carbon use GetPortPenVisibility or Show/HidePen }
- txFont: SInt16; { in Carbon use GetPortTextFont or TextFont }
- txFace: StyleField; { in Carbon use GetPortTextFace or TextFace }
- { StyleField occupies 16-bits, but only first 8-bits are used }
- txMode: SInt16; { in Carbon use GetPortTextMode or TextMode }
- txSize: SInt16; { in Carbon use GetPortTextSize or TextSize }
- spExtra: Fixed; { in Carbon use GetPortSpExtra or SpaceExtra }
- fgColor: SInt32; { not available in Carbon }
- bkColor: SInt32; { not available in Carbon }
- colrBit: SInt16; { not available in Carbon }
- patStretch: SInt16; { not available in Carbon }
- picSave: Handle; { in Carbon use IsPortPictureBeingDefined }
- rgnSave: Handle; { in Carbon use IsPortRegionBeingDefined }
- polySave: Handle; { in Carbon use IsPortPolyBeingDefined }
- grafProcs: CQDProcsPtr; { in Carbon use Get/SetPortGrafProcs }
- end;
- {$endc}
- {$ifc OPAQUE_TOOLBOX_STRUCTS}
- CWindowPtr = WindowPtr;
- {$elsec}
- CWindowPtr = CGrafPtr;
- {$endc} {OPAQUE_TOOLBOX_STRUCTS}
- ReqListRecPtr = ^ReqListRec;
- ReqListRec = record
- reqLSize: SInt16; { request list size }
- reqLData: array [0..0] of SInt16; { request list data }
- end;
- OpenCPicParamsPtr = ^OpenCPicParams;
- OpenCPicParams = record
- srcRect: Rect;
- hRes: Fixed;
- vRes: Fixed;
- version: SInt16;
- reserved1: SInt16;
- reserved2: SInt32;
- end;
- const
- kCursorImageMajorVersion = $0001;
- kCursorImageMinorVersion = $0000;
- type
- CursorImageRecPtr = ^CursorImageRec;
- CursorImageRec = record
- majorVersion: UInt16;
- minorVersion: UInt16;
- cursorPixMap: PixMapHandle;
- cursorBitMask: BitMapHandle;
- end;
- CursorImagePtr = ^CursorImageRec;
- {$ifc TYPED_FUNCTION_POINTERS}
- DeviceLoopDrawingProcPtr = procedure(depth: SInt16; deviceFlags: SInt16; targetDevice: GDHandle; userData: SInt32);
- {$elsec}
- DeviceLoopDrawingProcPtr = ProcPtr;
- {$endc}
- {$ifc OPAQUE_UPP_TYPES}
- DeviceLoopDrawingUPP = ^SInt32; { an opaque UPP }
- {$elsec}
- DeviceLoopDrawingUPP = UniversalProcPtr;
- {$endc}
- const
- uppQDPrinterStatusProcInfo = $00000FF1;
- uppDeviceLoopDrawingProcInfo = $00003E80;
- {$ifc CALL_NOT_IN_CARBON}
- {
- * NewQDPrinterStatusUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: not available
- * Mac OS X: not available
- }
- function NewQDPrinterStatusUPP(userRoutine: QDPrinterStatusProcPtr): QDPrinterStatusUPP; external name '_NewQDPrinterStatusUPP'; { old name was NewQDPrinterStatusProc }
- {$endc} {CALL_NOT_IN_CARBON}
- {
- * NewDeviceLoopDrawingUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function NewDeviceLoopDrawingUPP(userRoutine: DeviceLoopDrawingProcPtr): DeviceLoopDrawingUPP; external name '_NewDeviceLoopDrawingUPP'; { old name was NewDeviceLoopDrawingProc }
- {$ifc CALL_NOT_IN_CARBON}
- {
- * DisposeQDPrinterStatusUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: not available
- * Mac OS X: not available
- }
- procedure DisposeQDPrinterStatusUPP(userUPP: QDPrinterStatusUPP); external name '_DisposeQDPrinterStatusUPP';
- {$endc} {CALL_NOT_IN_CARBON}
- {
- * DisposeDeviceLoopDrawingUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure DisposeDeviceLoopDrawingUPP(userUPP: DeviceLoopDrawingUPP); external name '_DisposeDeviceLoopDrawingUPP';
- {$ifc CALL_NOT_IN_CARBON}
- {
- * InvokeQDPrinterStatusUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: not available
- * Mac OS X: not available
- }
- function InvokeQDPrinterStatusUPP(opcode: PrinterStatusOpcode; currentPort: CGrafPtr; printerStatus: UnivPtr; userRoutine: QDPrinterStatusUPP): OSStatus; external name '_InvokeQDPrinterStatusUPP'; { old name was CallQDPrinterStatusProc }
- {$endc} {CALL_NOT_IN_CARBON}
- {
- * InvokeDeviceLoopDrawingUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure InvokeDeviceLoopDrawingUPP(depth: SInt16; deviceFlags: SInt16; targetDevice: GDHandle; userData: SInt32; userRoutine: DeviceLoopDrawingUPP); external name '_InvokeDeviceLoopDrawingUPP'; { old name was CallDeviceLoopDrawingProc }
- {$ifc NOT OPAQUE_TOOLBOX_STRUCTS OR NOT TARGET_API_MAC_CARBON}
- type
- QDGlobalsPtr = ^QDGlobals;
- QDGlobals = record
- privates: packed array [0..75] of char;
- randSeed: SInt32; { in Carbon use GetQDGlobalsRandomSeed }
- screenBits: BitMap; { in Carbon use GetQDGlobalsScreenBits }
- arrow: Cursor; { in Carbon use GetQDGlobalsArrow }
- dkGray: Pattern; { in Carbon use GetQDGlobalsDarkGray }
- ltGray: Pattern; { in Carbon use GetQDGlobalsLightGray }
- gray: Pattern; { in Carbon use GetQDGlobalsGray }
- black: Pattern; { in Carbon use GetQDGlobalsBlack }
- white: Pattern; { in Carbon use GetQDGlobalsWhite }
- thePort: GrafPtr; { in Carbon use GetQDGlobalsThePort }
- end;
- QDGlobalsHdl = ^QDGlobalsPtr;
- { To be in sync with the C interface to QuickDraw globals, pascal code must now }
- { qualify the QuickDraw globals with Òqd.Ó (e.g. InitGraf(@qd.thePort); ) }
- var qd: QDGlobals; external name '_qd'; (* attribute const *)
- {$endc}
- {$ifc CALL_NOT_IN_CARBON}
- {
- * InitGraf()
- *
- * Availability:
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- * CarbonLib: not available
- * Mac OS X: not available
- }
- procedure InitGraf(globalPtr: UnivPtr); external name '_InitGraf';
- {
- * OpenPort()
- *
- * Availability:
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- * CarbonLib: not available
- * Mac OS X: not available
- }
- procedure OpenPort(port: GrafPtr); external name '_OpenPort';
- {
- * InitPort()
- *
- * Availability:
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- * CarbonLib: not available
- * Mac OS X: not available
- }
- procedure InitPort(port: GrafPtr); external name '_InitPort';
- {
- * ClosePort()
- *
- * Availability:
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- * CarbonLib: not available
- * Mac OS X: not available
- }
- procedure ClosePort(port: GrafPtr); external name '_ClosePort';
- {$endc} {CALL_NOT_IN_CARBON}
- {
- General comments about thread-safety of Quickdraw
- -------------------------------------------------
-
- The original design and implementation principles of Quickdraw seriously
- conflict with the goal of making Quickdraw thread-safe. Many Quickdraw
- functions rely on globals instead of explicit parameters. Even though the
- current port (and the current GDevice) are being maintained per-thread,
- a simple call like "MoveTo(x, y)" just doesn't make sense with preemptive threads,
- if two different threads use the same port. Also, as soon as a client replaces
- bottleneck procedures (SetStdCProcs), thread-safety is compromised.
- That's why we maintain by default the "Not thread safe" attribute in Quickdraw APIs,
- even though they may appear to be thread-safe.
- }
- {
- These are Carbon only routines. They do nothing at all on
- Mac OS 8, but work flawlessly on Mac OS X.
- }
- {
- * LockPortBits() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: not available
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4
- function LockPortBits(port: GrafPtr): OSErr; external name '_LockPortBits';
- {
- * UnlockPortBits() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: not available
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4
- function UnlockPortBits(port: GrafPtr): OSErr; external name '_UnlockPortBits';
- { Break a region up into rectangles. }
- const
- kQDParseRegionFromTop = $01;
- kQDParseRegionFromBottom = $02;
- kQDParseRegionFromLeft = $04;
- kQDParseRegionFromRight = $08;
- kQDParseRegionFromTopLeft = $05;
- kQDParseRegionFromBottomRight = $0A;
- type
- QDRegionParseDirection = SInt32;
- const
- kQDRegionToRectsMsgInit = 1;
- kQDRegionToRectsMsgParse = 2;
- kQDRegionToRectsMsgTerminate = 3;
- type
- {$ifc TYPED_FUNCTION_POINTERS}
- RegionToRectsProcPtr = function(message: UInt16; rgn: RgnHandle; const (*var*) rect_: Rect; refCon: UnivPtr): OSStatus;
- {$elsec}
- RegionToRectsProcPtr = ProcPtr;
- {$endc}
- {$ifc OPAQUE_UPP_TYPES}
- RegionToRectsUPP = ^SInt32; { an opaque UPP }
- {$elsec}
- RegionToRectsUPP = UniversalProcPtr;
- {$endc}
- const
- uppRegionToRectsProcInfo = $00003FB1;
- {
- * NewRegionToRectsUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function NewRegionToRectsUPP(userRoutine: RegionToRectsProcPtr): RegionToRectsUPP; external name '_NewRegionToRectsUPP'; { old name was NewRegionToRectsProc }
- {
- * DisposeRegionToRectsUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure DisposeRegionToRectsUPP(userUPP: RegionToRectsUPP); external name '_DisposeRegionToRectsUPP';
- {
- * InvokeRegionToRectsUPP()
- *
- * Availability:
- * Non-Carbon CFM: available as macro/inline
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function InvokeRegionToRectsUPP(message: UInt16; rgn: RgnHandle; const (*var*) rect_: Rect; refCon: UnivPtr; userRoutine: RegionToRectsUPP): OSStatus; external name '_InvokeRegionToRectsUPP'; { old name was CallRegionToRectsProc }
- {
- * QDRegionToRects()
- *
- * Availability:
- * Non-Carbon CFM: not available
- * CarbonLib: in CarbonLib 1.0 and later
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function QDRegionToRects(rgn: RgnHandle; dir: QDRegionParseDirection; proc: RegionToRectsUPP; userData: UnivPtr): OSStatus; external name '_QDRegionToRects';
- {$ifc NOT TARGET_OS_MAC}
- {$ifc CALL_NOT_IN_CARBON}
- {
- * UpdatePort()
- *
- * Availability:
- * Non-Carbon CFM: not available
- * CarbonLib: not available
- * Mac OS X: not available
- }
- function UpdatePort(port: GrafPtr): OSErr; external name '_UpdatePort';
- {
- * GetPortNativeWindow()
- *
- * Availability:
- * Non-Carbon CFM: not available
- * CarbonLib: not available
- * Mac OS X: not available
- }
- function GetPortNativeWindow(macPort: GrafPtr): Ptr; external name '_GetPortNativeWindow';
- {
- * GetNativeWindowPort()
- *
- * Availability:
- * Non-Carbon CFM: not available
- * CarbonLib: not available
- * Mac OS X: not available
- }
- function GetNativeWindowPort(nativeWindow: UnivPtr): GrafPtr; external name '_GetNativeWindowPort';
- {
- * MacRegionToNativeRegion()
- *
- * Availability:
- * Non-Carbon CFM: not available
- * CarbonLib: not available
- * Mac OS X: not available
- }
- function MacRegionToNativeRegion(macRegion: RgnHandle): Ptr; external name '_MacRegionToNativeRegion';
- {
- * NativeRegionToMacRegion()
- *
- * Availability:
- * Non-Carbon CFM: not available
- * CarbonLib: not available
- * Mac OS X: not available
- }
- function NativeRegionToMacRegion(nativeRegion: UnivPtr): RgnHandle; external name '_NativeRegionToMacRegion';
- {$endc} {CALL_NOT_IN_CARBON}
- {$endc}
- {$ifc TARGET_OS_WIN32}
- {$ifc CALL_NOT_IN_CARBON}
- {
- * GetPortHWND()
- *
- * Availability:
- * Non-Carbon CFM: not available
- * CarbonLib: not available
- * Mac OS X: not available
- }
- function GetPortHWND(port: GrafPtr): Ptr; external name '_GetPortHWND';
- {
- * GetHWNDPort()
- *
- * Availability:
- * Non-Carbon CFM: not available
- * CarbonLib: not available
- * Mac OS X: not available
- }
- function GetHWNDPort(theHWND: UnivPtr): GrafPtr; external name '_GetHWNDPort';
- {
- * GetPortHDC()
- *
- * Availability:
- * Non-Carbon CFM: not available
- * CarbonLib: not available
- * Mac OS X: not available
- }
- function GetPortHDC(port: GrafPtr): Ptr; external name '_GetPortHDC';
- {
- * GetPortHBITMAP()
- *
- * Availability:
- * Non-Carbon CFM: not available
- * CarbonLib: not available
- * Mac OS X: not available
- }
- function GetPortHBITMAP(port: GrafPtr): Ptr; external name '_GetPortHBITMAP';
- {
- * GetPortHPALETTE()
- *
- * Availability:
- * Non-Carbon CFM: not available
- * CarbonLib: not available
- * Mac OS X: not available
- }
- function GetPortHPALETTE(port: GrafPtr): Ptr; external name '_GetPortHPALETTE';
- {
- * GetPortHFONT()
- *
- * Availability:
- * Non-Carbon CFM: not available
- * CarbonLib: not available
- * Mac OS X: not available
- }
- function GetPortHFONT(port: GrafPtr): Ptr; external name '_GetPortHFONT';
- {
- * GetDIBFromPICT()
- *
- * Availability:
- * Non-Carbon CFM: not available
- * CarbonLib: not available
- * Mac OS X: not available
- }
- function GetDIBFromPICT(hPict: PicHandle): Ptr; external name '_GetDIBFromPICT';
- {
- * GetPICTFromDIB()
- *
- * Availability:
- * Non-Carbon CFM: not available
- * CarbonLib: not available
- * Mac OS X: not available
- }
- function GetPICTFromDIB(h: UnivPtr): PicHandle; external name '_GetPICTFromDIB';
- {$endc} {CALL_NOT_IN_CARBON}
- {$endc} {TARGET_OS_WIN32}
- {
- * [Mac]SetPort() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure SetPort(port: GrafPtr); external name '_SetPort';
- {
- * GetPort() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure GetPort(var port: GrafPtr); external name '_GetPort';
- {
- * QDSwapPort()
- *
- * Summary:
- * Combines a GetPort(&savePort); SetPort(newPort) sequence.
- *
- * Discussion:
- * On X, the GetPort/SetPort calls act on per-thread globals, and
- * cost more processor cycles than in the past, where they were
- * simple memory accessors. To optimize, use the QDSwapPort call
- * which combines both, and returns a Boolean indicating if the port
- * actually did change. Typical usage: portChanged =
- * QDSwapPort(newPort, &savePort); // some drawing into newPort if
- * (portChanged) QDSwapPort(savePort, NULL);
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Parameters:
- *
- * inNewPort:
- * The new port to be set.
- *
- * outOldPort:
- * Receives the previous port. Can be NULL.
- *
- * Result:
- * A Boolean indicating whether the port was changed, i.e.
- * (inNewPort != *outOldPort)
- *
- * Availability:
- * Mac OS X: in version 10.1 and later in ApplicationServices.framework
- * CarbonLib: in CarbonLib 1.5 and later
- * Non-Carbon CFM: not available
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER;
- function QDSwapPort(inNewPort: CGrafPtr; outOldPort: CGrafPtrPtr): boolean; external name '_QDSwapPort';
- {
- * GrafDevice() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure GrafDevice(device: SInt16); external name '_GrafDevice';
- {
- * SetPortBits() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure SetPortBits(const (*var*) bm: BitMap); external name '_SetPortBits';
- {
- * PortSize() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure PortSize(width: SInt16; height: SInt16); external name '_PortSize';
- {
- * MovePortTo() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure MovePortTo(leftGlobal: SInt16; topGlobal: SInt16); external name '_MovePortTo';
- {
- * SetOrigin() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure SetOrigin(h: SInt16; v: SInt16); external name '_SetOrigin';
- {
- * SetClip() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure SetClip(rgn: RgnHandle); external name '_SetClip';
- {
- * GetClip() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure GetClip(rgn: RgnHandle); external name '_GetClip';
- {
- * ClipRect() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure ClipRect(const (*var*) r: Rect); external name '_ClipRect';
- {
- * BackPat() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure BackPat(const (*var*) pat: Pattern); external name '_BackPat';
- {
- * InitCursor() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure InitCursor; external name '_InitCursor';
- {
- * [Mac]SetCursor() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure SetCursor(const (*var*) crsr: Cursor); external name '_SetCursor';
- {
- * HideCursor() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure HideCursor; external name '_HideCursor';
- {
- * [Mac]ShowCursor() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure ShowCursor; external name '_ShowCursor';
- {
- * ObscureCursor() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure ObscureCursor; external name '_ObscureCursor';
- {
- * HidePen() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure HidePen; external name '_HidePen';
- {
- * ShowPen() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure ShowPen; external name '_ShowPen';
- {
- * GetPen() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure GetPen(var pt: Point); external name '_GetPen';
- {
- * GetPenState() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure GetPenState(var pnState: PenState); external name '_GetPenState';
- {
- * SetPenState() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure SetPenState(const (*var*) pnState: PenState); external name '_SetPenState';
- {
- * PenSize() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure PenSize(width: SInt16; height: SInt16); external name '_PenSize';
- {
- * PenMode() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure PenMode(mode: SInt16); external name '_PenMode';
- {
- * PenPat() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure PenPat(const (*var*) pat: Pattern); external name '_PenPat';
- {
- * PenNormal() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure PenNormal; external name '_PenNormal';
- {
- * MoveTo() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure MoveTo(h: SInt16; v: SInt16); external name '_MoveTo';
- {
- * Move() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure Move(dh: SInt16; dv: SInt16); external name '_Move';
- {
- * [Mac]LineTo() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure LineTo(h: SInt16; v: SInt16); external name '_LineTo';
- {
- * Line() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure Line(dh: SInt16; dv: SInt16); external name '_Line';
- {
- * ForeColor() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure ForeColor(color: SInt32); external name '_ForeColor';
- {
- * BackColor() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure BackColor(color: SInt32); external name '_BackColor';
- {
- * ColorBit() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure ColorBit(whichBit: SInt16); external name '_ColorBit';
- {
- * [Mac]SetRect() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure SetRect(var r: Rect; left: SInt16; top: SInt16; right: SInt16; bottom: SInt16); external name '_SetRect';
- {
- * [Mac]OffsetRect() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure OffsetRect(var r: Rect; dh: SInt16; dv: SInt16); external name '_OffsetRect';
- {
- * [Mac]InsetRect() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure InsetRect(var r: Rect; dh: SInt16; dv: SInt16); external name '_InsetRect';
- {
- * SectRect() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function SectRect(const (*var*) src1: Rect; const (*var*) src2: Rect; var dstRect: Rect): boolean; external name '_SectRect';
- {
- * [Mac]UnionRect() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure UnionRect(const (*var*) src1: Rect; const (*var*) src2: Rect; var dstRect: Rect); external name '_UnionRect';
- {
- * [Mac]EqualRect() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function EqualRect(const (*var*) rect1: Rect; const (*var*) rect2: Rect): boolean; external name '_EqualRect';
- {
- * EmptyRect() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function EmptyRect(const (*var*) r: Rect): boolean; external name '_EmptyRect';
- {
- * [Mac]FrameRect() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure FrameRect(const (*var*) r: Rect); external name '_FrameRect';
- {
- * PaintRect() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure PaintRect(const (*var*) r: Rect); external name '_PaintRect';
- {
- * EraseRect() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure EraseRect(const (*var*) r: Rect); external name '_EraseRect';
- {
- * [Mac]InvertRect() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure InvertRect(const (*var*) r: Rect); external name '_InvertRect';
- {
- * [Mac]FillRect() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure FillRect(const (*var*) r: Rect; const (*var*) pat: Pattern); external name '_FillRect';
- {
- * FrameOval() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure FrameOval(const (*var*) r: Rect); external name '_FrameOval';
- {
- * PaintOval() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure PaintOval(const (*var*) r: Rect); external name '_PaintOval';
- {
- * EraseOval() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure EraseOval(const (*var*) r: Rect); external name '_EraseOval';
- {
- * InvertOval() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure InvertOval(const (*var*) r: Rect); external name '_InvertOval';
- {
- * FillOval() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure FillOval(const (*var*) r: Rect; const (*var*) pat: Pattern); external name '_FillOval';
- {
- * FrameRoundRect() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure FrameRoundRect(const (*var*) r: Rect; ovalWidth: SInt16; ovalHeight: SInt16); external name '_FrameRoundRect';
- {
- * PaintRoundRect() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure PaintRoundRect(const (*var*) r: Rect; ovalWidth: SInt16; ovalHeight: SInt16); external name '_PaintRoundRect';
- {
- * EraseRoundRect() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure EraseRoundRect(const (*var*) r: Rect; ovalWidth: SInt16; ovalHeight: SInt16); external name '_EraseRoundRect';
- {
- * InvertRoundRect() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure InvertRoundRect(const (*var*) r: Rect; ovalWidth: SInt16; ovalHeight: SInt16); external name '_InvertRoundRect';
- {
- * FillRoundRect() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure FillRoundRect(const (*var*) r: Rect; ovalWidth: SInt16; ovalHeight: SInt16; const (*var*) pat: Pattern); external name '_FillRoundRect';
- {
- * FrameArc() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure FrameArc(const (*var*) r: Rect; startAngle: SInt16; arcAngle: SInt16); external name '_FrameArc';
- {
- * PaintArc() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure PaintArc(const (*var*) r: Rect; startAngle: SInt16; arcAngle: SInt16); external name '_PaintArc';
- {
- * EraseArc() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure EraseArc(const (*var*) r: Rect; startAngle: SInt16; arcAngle: SInt16); external name '_EraseArc';
- {
- * InvertArc() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure InvertArc(const (*var*) r: Rect; startAngle: SInt16; arcAngle: SInt16); external name '_InvertArc';
- {
- * FillArc() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure FillArc(const (*var*) r: Rect; startAngle: SInt16; arcAngle: SInt16; const (*var*) pat: Pattern); external name '_FillArc';
- {
- * NewRgn() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function NewRgn: RgnHandle; external name '_NewRgn';
- {
- * OpenRgn() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure OpenRgn; external name '_OpenRgn';
- {
- * CloseRgn() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure CloseRgn(dstRgn: RgnHandle); external name '_CloseRgn';
- {
- * BitMapToRegion() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function BitMapToRegion(region: RgnHandle; const (*var*) bMap: BitMap): OSErr; external name '_BitMapToRegion';
- {
- * RgnToHandle()
- *
- * Summary:
- * Allows to "flatten" the opaque region data, for persistent
- * storage. HandleToRgn is the reciprocal call.
- *
- * Discussion:
- * These calls were introduced to facilitate Carbonization of
- * applications, that relied on the undocumented format of region
- * data. Since the internal (opaque) region format changed in 10.3,
- * the purpose of these functions became questionable at best. They
- * should be considered deprecated. Applications that need to
- * preserve region data within their documents should convert the
- * regions to a sequence of rectangles, using QDRegionToRects. The
- * original region can then be rebuilt using RectRgn() and
- * UnionRgn() calls.
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Parameters:
- *
- * region:
- * The input RgnHandle
- *
- * flattenedRgnDataHdl:
- * A valid Handle that gets resized and filled with the region
- * data.
- *
- * Availability:
- * Mac OS X: in version 10.1 and later in ApplicationServices.framework
- * CarbonLib: in CarbonLib 1.3 and later
- * Non-Carbon CFM: not available
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER;
- procedure RgnToHandle(region: RgnHandle; flattenedRgnDataHdl: Handle); external name '_RgnToHandle';
- {
- * HandleToRgn() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.1 and later
- * Non-Carbon CFM: not available
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure HandleToRgn(oldRegion: Handle; region: RgnHandle); external name '_HandleToRgn';
- {
- * DisposeRgn() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure DisposeRgn(rgn: RgnHandle); external name '_DisposeRgn';
- {
- * [Mac]CopyRgn() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure CopyRgn(srcRgn: RgnHandle; dstRgn: RgnHandle); external name '_CopyRgn';
- {
- * SetEmptyRgn() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure SetEmptyRgn(rgn: RgnHandle); external name '_SetEmptyRgn';
- {
- * [Mac]SetRectRgn() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure SetRectRgn(rgn: RgnHandle; left: SInt16; top: SInt16; right: SInt16; bottom: SInt16); external name '_SetRectRgn';
- {
- * RectRgn() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure RectRgn(rgn: RgnHandle; const (*var*) r: Rect); external name '_RectRgn';
- {
- * [Mac]OffsetRgn() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure OffsetRgn(rgn: RgnHandle; dh: SInt16; dv: SInt16); external name '_OffsetRgn';
- {
- * InsetRgn() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure InsetRgn(rgn: RgnHandle; dh: SInt16; dv: SInt16); external name '_InsetRgn';
- {
- * SectRgn() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure SectRgn(srcRgnA: RgnHandle; srcRgnB: RgnHandle; dstRgn: RgnHandle); external name '_SectRgn';
- {
- * [Mac]UnionRgn() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure UnionRgn(srcRgnA: RgnHandle; srcRgnB: RgnHandle; dstRgn: RgnHandle); external name '_UnionRgn';
- {
- * DiffRgn() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure DiffRgn(srcRgnA: RgnHandle; srcRgnB: RgnHandle; dstRgn: RgnHandle); external name '_DiffRgn';
- {
- * [Mac]XorRgn() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure XorRgn(srcRgnA: RgnHandle; srcRgnB: RgnHandle; dstRgn: RgnHandle); external name '_XorRgn';
- {
- * RectInRgn() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function RectInRgn(const (*var*) r: Rect; rgn: RgnHandle): boolean; external name '_RectInRgn';
- {
- * [Mac]EqualRgn() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function EqualRgn(rgnA: RgnHandle; rgnB: RgnHandle): boolean; external name '_EqualRgn';
- {
- * EmptyRgn() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function EmptyRgn(rgn: RgnHandle): boolean; external name '_EmptyRgn';
- {
- * [Mac]FrameRgn() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure FrameRgn(rgn: RgnHandle); external name '_FrameRgn';
- {
- * [Mac]PaintRgn() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure PaintRgn(rgn: RgnHandle); external name '_PaintRgn';
- {
- * EraseRgn() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure EraseRgn(rgn: RgnHandle); external name '_EraseRgn';
- {
- * [Mac]InvertRgn() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure InvertRgn(rgn: RgnHandle); external name '_InvertRgn';
- {
- * [Mac]FillRgn() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure FillRgn(rgn: RgnHandle; const (*var*) pat: Pattern); external name '_FillRgn';
- {
- * ScrollRect() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure ScrollRect(const (*var*) r: Rect; dh: SInt16; dv: SInt16; updateRgn: RgnHandle); external name '_ScrollRect';
- {
- * CopyBits() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure CopyBits(const (*var*) srcBits: BitMap; const (*var*) dstBits: BitMap; const (*var*) srcRect: Rect; const (*var*) dstRect: Rect; mode: SInt16; maskRgn: RgnHandle); external name '_CopyBits';
- {
- * SeedFill() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure SeedFill(srcPtr: UnivPtr; dstPtr: UnivPtr; srcRow: SInt16; dstRow: SInt16; height: SInt16; words: SInt16; seedH: SInt16; seedV: SInt16); external name '_SeedFill';
- {
- * CalcMask() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure CalcMask(srcPtr: UnivPtr; dstPtr: UnivPtr; srcRow: SInt16; dstRow: SInt16; height: SInt16; words: SInt16); external name '_CalcMask';
- {
- * CopyMask() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure CopyMask(const (*var*) srcBits: BitMap; const (*var*) maskBits: BitMap; const (*var*) dstBits: BitMap; const (*var*) srcRect: Rect; const (*var*) maskRect: Rect; const (*var*) dstRect: Rect); external name '_CopyMask';
- {
- * OpenPicture() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function OpenPicture(const (*var*) picFrame: Rect): PicHandle; external name '_OpenPicture';
- {
- * PicComment() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure PicComment(kind: SInt16; dataSize: SInt16; dataHandle: Handle); external name '_PicComment';
- {
- * ClosePicture() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure ClosePicture; external name '_ClosePicture';
- {
- * QDGetPictureBounds()
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.3 and later in ApplicationServices.framework
- * CarbonLib: not available
- * Non-Carbon CFM: not available
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;
- function QDGetPictureBounds( picH: PicHandle; var outRect: Rect ): RectPtr; external name '_QDGetPictureBounds'; (* attribute ignoreable *)
- {
- * DrawPicture() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure DrawPicture(myPicture: PicHandle; const (*var*) dstRect: Rect); external name '_DrawPicture';
- {
- * KillPicture() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure KillPicture(myPicture: PicHandle); external name '_KillPicture';
- {
- * OpenPoly() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function OpenPoly: PolyHandle; external name '_OpenPoly';
- {
- * ClosePoly() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure ClosePoly; external name '_ClosePoly';
- {
- * KillPoly() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure KillPoly(poly: PolyHandle); external name '_KillPoly';
- {
- * OffsetPoly() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure OffsetPoly(poly: PolyHandle; dh: SInt16; dv: SInt16); external name '_OffsetPoly';
- {
- * FramePoly() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure FramePoly(poly: PolyHandle); external name '_FramePoly';
- {
- * PaintPoly() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure PaintPoly(poly: PolyHandle); external name '_PaintPoly';
- {
- * ErasePoly() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure ErasePoly(poly: PolyHandle); external name '_ErasePoly';
- {
- * InvertPoly() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure InvertPoly(poly: PolyHandle); external name '_InvertPoly';
- {
- * FillPoly() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure FillPoly(poly: PolyHandle; const (*var*) pat: Pattern); external name '_FillPoly';
- {
- * SetPt() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure SetPt(var pt: Point; h: SInt16; v: SInt16); external name '_SetPt';
- {
- * LocalToGlobal() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure LocalToGlobal(var pt: Point); external name '_LocalToGlobal';
- {
- * GlobalToLocal() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure GlobalToLocal(var pt: Point); external name '_GlobalToLocal';
- {
- * Random() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function Random: SInt16; external name '_Random';
- {
- * StuffHex() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure StuffHex(thingPtr: UnivPtr; const (*var*) s: Str255); external name '_StuffHex';
- {
- * [Mac]GetPixel() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function GetPixel(h: SInt16; v: SInt16): boolean; external name '_GetPixel';
- {
- * ScalePt() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure ScalePt(var pt: Point; const (*var*) srcRect: Rect; const (*var*) dstRect: Rect); external name '_ScalePt';
- {
- * MapPt() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure MapPt(var pt: Point; const (*var*) srcRect: Rect; const (*var*) dstRect: Rect); external name '_MapPt';
- {
- * MapRect() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure MapRect(var r: Rect; const (*var*) srcRect: Rect; const (*var*) dstRect: Rect); external name '_MapRect';
- {
- * MapRgn() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure MapRgn(rgn: RgnHandle; const (*var*) srcRect: Rect; const (*var*) dstRect: Rect); external name '_MapRgn';
- {
- * MapPoly() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure MapPoly(poly: PolyHandle; const (*var*) srcRect: Rect; const (*var*) dstRect: Rect); external name '_MapPoly';
- {
- * SetStdProcs() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure SetStdProcs(var procs: QDProcs); external name '_SetStdProcs';
- {
- * StdRect() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure StdRect(verb: GrafVerb; const (*var*) r: Rect); external name '_StdRect';
- {
- * StdRRect() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure StdRRect(verb: GrafVerb; const (*var*) r: Rect; ovalWidth: SInt16; ovalHeight: SInt16); external name '_StdRRect';
- {
- * StdOval() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure StdOval(verb: GrafVerb; const (*var*) r: Rect); external name '_StdOval';
- {
- * StdArc() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure StdArc(verb: GrafVerb; const (*var*) r: Rect; startAngle: SInt16; arcAngle: SInt16); external name '_StdArc';
- {
- * StdPoly() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure StdPoly(verb: GrafVerb; poly: PolyHandle); external name '_StdPoly';
- {
- * StdRgn() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure StdRgn(verb: GrafVerb; rgn: RgnHandle); external name '_StdRgn';
- {
- * StdBits() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure StdBits(const (*var*) srcBits: BitMap; const (*var*) srcRect: Rect; const (*var*) dstRect: Rect; mode: SInt16; maskRgn: RgnHandle); external name '_StdBits';
- {
- * StdComment() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure StdComment(kind: SInt16; dataSize: SInt16; dataHandle: Handle); external name '_StdComment';
- {
- * StdGetPic() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure StdGetPic(dataPtr: UnivPtr; byteCount: SInt16); external name '_StdGetPic';
- {
- * StdPutPic() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure StdPutPic(dataPtr: UnivPtr; byteCount: SInt16); external name '_StdPutPic';
- {
- * StdOpcode() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: not available
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure StdOpcode(const (*var*) fromRect: Rect; const (*var*) toRect: Rect; opcode: UInt16; version: SInt16); external name '_StdOpcode';
- {
- * AddPt() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure AddPt(src: Point; var dst: Point); external name '_AddPt';
- {
- * EqualPt() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function EqualPt(pt1: Point; pt2: Point): boolean; external name '_EqualPt';
- {
- * [Mac]PtInRect() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function PtInRect(pt: Point; const (*var*) r: Rect): boolean; external name '_PtInRect';
- {
- * Pt2Rect() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure Pt2Rect(pt1: Point; pt2: Point; var dstRect: Rect); external name '_Pt2Rect';
- {
- * PtToAngle() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure PtToAngle(const (*var*) r: Rect; pt: Point; var angle: SInt16); external name '_PtToAngle';
- {
- * SubPt() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure SubPt(src: Point; var dst: Point); external name '_SubPt';
- {
- * PtInRgn() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function PtInRgn(pt: Point; rgn: RgnHandle): boolean; external name '_PtInRgn';
- {
- * StdLine() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure StdLine(newPt: Point); external name '_StdLine';
- {$ifc CALL_NOT_IN_CARBON}
- {
- * OpenCPort()
- *
- * Availability:
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- * CarbonLib: not available
- * Mac OS X: not available
- }
- procedure OpenCPort(port: CGrafPtr); external name '_OpenCPort';
- {
- * InitCPort()
- *
- * Availability:
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- * CarbonLib: not available
- * Mac OS X: not available
- }
- procedure InitCPort(port: CGrafPtr); external name '_InitCPort';
- {
- * CloseCPort()
- *
- * Availability:
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- * CarbonLib: not available
- * Mac OS X: not available
- }
- procedure CloseCPort(port: CGrafPtr); external name '_CloseCPort';
- {$endc} {CALL_NOT_IN_CARBON}
- {
- * NewPixMap() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function NewPixMap: PixMapHandle; external name '_NewPixMap';
- {
- * DisposePixMap() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure DisposePixMap(pm: PixMapHandle); external name '_DisposePixMap';
- {
- * CopyPixMap() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure CopyPixMap(srcPM: PixMapHandle; dstPM: PixMapHandle); external name '_CopyPixMap';
- {
- * NewPixPat() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function NewPixPat: PixPatHandle; external name '_NewPixPat';
- {
- * DisposePixPat() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure DisposePixPat(pp: PixPatHandle); external name '_DisposePixPat';
- {
- * CopyPixPat() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure CopyPixPat(srcPP: PixPatHandle; dstPP: PixPatHandle); external name '_CopyPixPat';
- {
- * PenPixPat() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure PenPixPat(pp: PixPatHandle); external name '_PenPixPat';
- {
- * BackPixPat() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure BackPixPat(pp: PixPatHandle); external name '_BackPixPat';
- {
- * GetPixPat() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function GetPixPat(patID: SInt16): PixPatHandle; external name '_GetPixPat';
- {
- * MakeRGBPat() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure MakeRGBPat(pp: PixPatHandle; const (*var*) myColor: RGBColor); external name '_MakeRGBPat';
- {
- * FillCRect() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure FillCRect(const (*var*) r: Rect; pp: PixPatHandle); external name '_FillCRect';
- {
- * FillCOval() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure FillCOval(const (*var*) r: Rect; pp: PixPatHandle); external name '_FillCOval';
- {
- * FillCRoundRect() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure FillCRoundRect(const (*var*) r: Rect; ovalWidth: SInt16; ovalHeight: SInt16; pp: PixPatHandle); external name '_FillCRoundRect';
- {
- * FillCArc() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure FillCArc(const (*var*) r: Rect; startAngle: SInt16; arcAngle: SInt16; pp: PixPatHandle); external name '_FillCArc';
- {
- * FillCRgn() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure FillCRgn(rgn: RgnHandle; pp: PixPatHandle); external name '_FillCRgn';
- {
- * FillCPoly() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure FillCPoly(poly: PolyHandle; pp: PixPatHandle); external name '_FillCPoly';
- {
- * RGBForeColor() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure RGBForeColor(const (*var*) color: RGBColor); external name '_RGBForeColor';
- {
- * RGBBackColor() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure RGBBackColor(const (*var*) color: RGBColor); external name '_RGBBackColor';
- {
- * SetCPixel() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure SetCPixel(h: SInt16; v: SInt16; const (*var*) cPix: RGBColor); external name '_SetCPixel';
- {
- * SetPortPix() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure SetPortPix(pm: PixMapHandle); external name '_SetPortPix';
- {
- * GetCPixel() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure GetCPixel(h: SInt16; v: SInt16; var cPix: RGBColor); external name '_GetCPixel';
- {
- * GetForeColor() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure GetForeColor(var color: RGBColor); external name '_GetForeColor';
- {
- * GetBackColor() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure GetBackColor(var color: RGBColor); external name '_GetBackColor';
- {
- * SeedCFill() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure SeedCFill(const (*var*) srcBits: BitMap; const (*var*) dstBits: BitMap; const (*var*) srcRect: Rect; const (*var*) dstRect: Rect; seedH: SInt16; seedV: SInt16; matchProc: ColorSearchUPP; matchData: SInt32); external name '_SeedCFill';
- {
- * CalcCMask() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure CalcCMask(const (*var*) srcBits: BitMap; const (*var*) dstBits: BitMap; const (*var*) srcRect: Rect; const (*var*) dstRect: Rect; const (*var*) seedRGB: RGBColor; matchProc: ColorSearchUPP; matchData: SInt32); external name '_CalcCMask';
- {
- * OpenCPicture() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function OpenCPicture(const (*var*) newHeader: OpenCPicParams): PicHandle; external name '_OpenCPicture';
- {
- * OpColor() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure OpColor(const (*var*) color: RGBColor); external name '_OpColor';
- {
- * HiliteColor() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure HiliteColor(const (*var*) color: RGBColor); external name '_HiliteColor';
- {
- * DisposeCTable() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure DisposeCTable(cTable: CTabHandle); external name '_DisposeCTable';
- {
- * GetCTable() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function GetCTable(ctID: SInt16): CTabHandle; external name '_GetCTable';
- {
- * GetCCursor() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function GetCCursor(crsrID: SInt16): CCrsrHandle; external name '_GetCCursor';
- {
- * SetCCursor() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure SetCCursor(cCrsr: CCrsrHandle); external name '_SetCCursor';
- {
- * AllocCursor() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure AllocCursor; external name '_AllocCursor';
- {
- * DisposeCCursor() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure DisposeCCursor(cCrsr: CCrsrHandle); external name '_DisposeCCursor';
- { GetCIcon(), PlotCIcon(), and DisposeCIcon() moved to Icons.h }
- {
- * SetStdCProcs() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure SetStdCProcs(var procs: CQDProcs); external name '_SetStdCProcs';
- {
- * GetMaxDevice() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function GetMaxDevice(const (*var*) globalRect: Rect): GDHandle; external name '_GetMaxDevice';
- {
- * GetCTSeed() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function GetCTSeed: SInt32; external name '_GetCTSeed';
- {
- * GetDeviceList() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function GetDeviceList: GDHandle; external name '_GetDeviceList';
- {
- * GetMainDevice() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function GetMainDevice: GDHandle; external name '_GetMainDevice';
- {
- * GetNextDevice() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function GetNextDevice(curDevice: GDHandle): GDHandle; external name '_GetNextDevice';
- {
- * TestDeviceAttribute() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function TestDeviceAttribute(gdh: GDHandle; attribute: SInt16): boolean; external name '_TestDeviceAttribute';
- {
- * SetDeviceAttribute() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure SetDeviceAttribute(gdh: GDHandle; attribute: SInt16; value: boolean); external name '_SetDeviceAttribute';
- {
- * InitGDevice() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure InitGDevice(qdRefNum: SInt16; mode: SInt32; gdh: GDHandle); external name '_InitGDevice';
- {
- * NewGDevice() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function NewGDevice(refNum: SInt16; mode: SInt32): GDHandle; external name '_NewGDevice';
- {
- * DisposeGDevice() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure DisposeGDevice(gdh: GDHandle); external name '_DisposeGDevice';
- {
- * SetGDevice() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure SetGDevice(gd: GDHandle); external name '_SetGDevice';
- {
- * GetGDevice() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function GetGDevice: GDHandle; external name '_GetGDevice';
- {
- * Color2Index() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function Color2Index(const (*var*) myColor: RGBColor): SInt32; external name '_Color2Index';
- {
- * Index2Color() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure Index2Color(index: SInt32; var aColor: RGBColor); external name '_Index2Color';
- {
- * InvertColor() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure InvertColor(var myColor: RGBColor); external name '_InvertColor';
- {
- * RealColor() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function RealColor(const (*var*) color: RGBColor): boolean; external name '_RealColor';
- {
- * GetSubTable() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure GetSubTable(myColors: CTabHandle; iTabRes: SInt16; targetTbl: CTabHandle); external name '_GetSubTable';
- {
- * MakeITable() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure MakeITable(cTabH: CTabHandle; iTabH: ITabHandle; res: SInt16); external name '_MakeITable';
- {
- * AddSearch() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure AddSearch(searchProc: ColorSearchUPP); external name '_AddSearch';
- {
- * AddComp() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure AddComp(compProc: ColorComplementUPP); external name '_AddComp';
- {
- * DelSearch() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure DelSearch(searchProc: ColorSearchUPP); external name '_DelSearch';
- {
- * DelComp() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure DelComp(compProc: ColorComplementUPP); external name '_DelComp';
- {
- * SetClientID() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure SetClientID(id: SInt16); external name '_SetClientID';
- {
- * ProtectEntry() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure ProtectEntry(index: SInt16; protect: boolean); external name '_ProtectEntry';
- {
- * ReserveEntry() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure ReserveEntry(index: SInt16; reserve: boolean); external name '_ReserveEntry';
- {
- * SetEntries() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure SetEntries(start: SInt16; count: SInt16; var aTable: CSpecArray); external name '_SetEntries';
- {
- * SaveEntries() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure SaveEntries(srcTable: CTabHandle; resultTable: CTabHandle; var selection: ReqListRec); external name '_SaveEntries';
- {
- * RestoreEntries() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure RestoreEntries(srcTable: CTabHandle; dstTable: CTabHandle; var selection: ReqListRec); external name '_RestoreEntries';
- {
- * QDError() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function QDError: SInt16; external name '_QDError';
- {
- * CopyDeepMask() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure CopyDeepMask(const (*var*) srcBits: BitMap; const (*var*) maskBits: BitMap; const (*var*) dstBits: BitMap; const (*var*) srcRect: Rect; const (*var*) maskRect: Rect; const (*var*) dstRect: Rect; mode: SInt16; maskRgn: RgnHandle); external name '_CopyDeepMask';
- {
- * DeviceLoop() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure DeviceLoop(drawingRgn: RgnHandle; drawingProc: DeviceLoopDrawingUPP; userData: SInt32; flags: DeviceLoopFlags); external name '_DeviceLoop';
- {
- * GetMaskTable() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function GetMaskTable: Ptr; external name '_GetMaskTable';
- {
- * GetPattern() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function GetPattern(patternID: SInt16): PatHandle; external name '_GetPattern';
- {
- * [Mac]GetCursor() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function GetCursor(cursorID: SInt16): CursHandle; external name '_GetCursor';
- {
- * GetPicture() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function GetPicture(pictureID: SInt16): PicHandle; external name '_GetPicture';
- {
- * DeltaPoint() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function DeltaPoint(ptA: Point; ptB: Point): SInt32; external name '_DeltaPoint';
- {
- * ShieldCursor() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure ShieldCursor(const (*var*) shieldRect: Rect; offsetPt: Point); external name '_ShieldCursor';
- {
- * ScreenRes() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure ScreenRes(var scrnHRes: SInt16; var scrnVRes: SInt16); external name '_ScreenRes';
- {
- * GetIndPattern() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure GetIndPattern(var thePat: Pattern; patternListID: SInt16; index: SInt16); external name '_GetIndPattern';
- {$ifc OLDROUTINENAMES}
- {$ifc CALL_NOT_IN_CARBON}
- {
- * DisposPixMap()
- *
- * Availability:
- * Non-Carbon CFM: not available
- * CarbonLib: not available
- * Mac OS X: not available
- }
- procedure DisposPixMap(pm: PixMapHandle); external name '_DisposPixMap';
- {
- * DisposPixPat()
- *
- * Availability:
- * Non-Carbon CFM: not available
- * CarbonLib: not available
- * Mac OS X: not available
- }
- procedure DisposPixPat(pp: PixPatHandle); external name '_DisposPixPat';
- {
- * DisposCTable()
- *
- * Availability:
- * Non-Carbon CFM: not available
- * CarbonLib: not available
- * Mac OS X: not available
- }
- procedure DisposCTable(cTable: CTabHandle); external name '_DisposCTable';
- {
- * DisposCCursor()
- *
- * Availability:
- * Non-Carbon CFM: not available
- * CarbonLib: not available
- * Mac OS X: not available
- }
- procedure DisposCCursor(cCrsr: CCrsrHandle); external name '_DisposCCursor';
- {
- * DisposGDevice()
- *
- * Availability:
- * Non-Carbon CFM: not available
- * CarbonLib: not available
- * Mac OS X: not available
- }
- procedure DisposGDevice(gdh: GDHandle); external name '_DisposGDevice';
- {$endc} {CALL_NOT_IN_CARBON}
- {$endc} {OLDROUTINENAMES}
- {
- From ToolUtils.i
- }
- {
- * PackBits() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure PackBits(var srcPtr: Ptr; var dstPtr: Ptr; srcBytes: SInt16); external name '_PackBits';
- {
- * UnpackBits() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- procedure UnpackBits(var srcPtr: Ptr; var dstPtr: Ptr; dstBytes: SInt16); external name '_UnpackBits';
- {
- * SlopeFromAngle() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function SlopeFromAngle(angle: SInt16): Fixed; external name '_SlopeFromAngle';
- {
- * AngleFromSlope() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function AngleFromSlope(slope: Fixed): SInt16; external name '_AngleFromSlope';
- { New transfer modes }
- const
- colorXorXFer = 52;
- noiseXFer = 53;
- customXFer = 54;
- { Custom XFer flags }
- kXFer1PixelAtATime = $00000001; { 1 pixel passed to custom XFer proc }
- kXFerConvertPixelToRGB32 = $00000002; { All color depths converted to 32 bit RGB }
- type
- CustomXFerRecPtr = ^CustomXFerRec;
- CustomXFerRec = record
- version: UInt32;
- srcPixels: Ptr;
- destPixels: Ptr;
- resultPixels: Ptr;
- refCon: UInt32;
- pixelSize: UInt32;
- pixelCount: UInt32;
- firstPixelHV: Point;
- destBounds: Rect;
- end;
- {$ifc TYPED_FUNCTION_POINTERS}
- CustomXFerProcPtr = procedure(info: CustomXFerRecPtr);
- {$elsec}
- CustomXFerProcPtr = ProcPtr;
- {$endc}
- {
- * GetPortCustomXFerProc() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 9.0 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function GetPortCustomXFerProc(port: CGrafPtr; var proc: CustomXFerProcPtr; var flags: UInt32; var refCon: UInt32): OSErr; external name '_GetPortCustomXFerProc';
- {
- * SetPortCustomXFerProc() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 9.0 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function SetPortCustomXFerProc(port: CGrafPtr; proc: CustomXFerProcPtr; flags: UInt32; refCon: UInt32): OSErr; external name '_SetPortCustomXFerProc';
- const
- kCursorComponentsVersion = $00010001;
- kCursorComponentType = FourCharCode('curs');
- { Cursor Component capabilities flags }
- cursorDoesAnimate = $00000001;
- cursorDoesHardware = $00000002;
- cursorDoesUnreadableScreenBits = $00000004;
- { Cursor Component output mode flags }
- kRenderCursorInHardware = $00000001;
- kRenderCursorInSoftware = $00000002;
- { Cursor Component Info }
- type
- CursorInfoPtr = ^CursorInfo;
- CursorInfo = record
- version: SInt32; { use kCursorComponentsVersion }
- capabilities: SInt32;
- animateDuration: SInt32; { approximate time between animate tickles }
- bounds: Rect;
- hotspot: Point;
- reserved: SInt32; { must set to zero }
- end;
- { Cursor Component Selectors }
- const
- kCursorComponentInit = $0001;
- kCursorComponentGetInfo = $0002;
- kCursorComponentSetOutputMode = $0003;
- kCursorComponentSetData = $0004;
- kCursorComponentReconfigure = $0005;
- kCursorComponentDraw = $0006;
- kCursorComponentErase = $0007;
- kCursorComponentMove = $0008;
- kCursorComponentAnimate = $0009;
- kCursorComponentLastReserved = $0050;
- {
- * OpenCursorComponent() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 9.0 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function OpenCursorComponent(c: Component; var ci: ComponentInstance): OSErr; external name '_OpenCursorComponent';
- {
- * CloseCursorComponent() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 9.0 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function CloseCursorComponent(ci: ComponentInstance): OSErr; external name '_CloseCursorComponent';
- {
- * SetCursorComponent() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 9.0 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function SetCursorComponent(ci: ComponentInstance): OSErr; external name '_SetCursorComponent';
- {
- * CursorComponentChanged() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 9.0 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function CursorComponentChanged(ci: ComponentInstance): OSErr; external name '_CursorComponentChanged';
- {
- * CursorComponentSetData() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 9.0 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function CursorComponentSetData(ci: ComponentInstance; data: SInt32): OSErr; external name '_CursorComponentSetData';
- { Quickdraw-specific ColorSync matching }
- { Mac OS X active declarations location. CMApplication.p[.pas] text copy not compiled for Mac OS X. }
- {
- * CWMatchPixMap() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: not available [in CarbonLib 1.0 and later]
- * Non-Carbon CFM: not available [in ColorSyncLib 1.0 and later]
- }
- function CWMatchPixMap( cw: CMWorldRef; var myPixMap: PixMap; progressProc: CMBitmapCallBackUPP { can be NULL }; refCon: UnivPtr ): CMError; external name '_CWMatchPixMap';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * CWCheckPixMap() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: not available [in CarbonLib 1.0 and later]
- * Non-Carbon CFM: not available [in ColorSyncLib 1.0 and later]
- }
- function CWCheckPixMap( cw: CMWorldRef; var myPixMap: PixMap; progressProc: CMBitmapCallBackUPP { can be NULL }; refCon: UnivPtr; var resultBitMap: BitMap ): CMError; external name '_CWCheckPixMap';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * NCMBeginMatching() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: not available [in CarbonLib 1.0 and later]
- * Non-Carbon CFM: not available [in ColorSyncLib 2.0 and later]
- }
- function NCMBeginMatching( src: CMProfileRef; dst: CMProfileRef; var myRef: CMMatchRef ): CMError; external name '_NCMBeginMatching';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * CMEndMatching() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: not available [in CarbonLib 1.0 and later]
- * Non-Carbon CFM: not available [in ColorSyncLib 2.0 and later]
- }
- procedure CMEndMatching( myRef: CMMatchRef ); external name '_CMEndMatching';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * NCMDrawMatchedPicture() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: not available [in CarbonLib 1.0 and later]
- * Non-Carbon CFM: not available [in ColorSyncLib 2.0 and later]
- }
- procedure NCMDrawMatchedPicture( myPicture: PicHandle; dst: CMProfileRef; var myRect: Rect ); external name '_NCMDrawMatchedPicture';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * CMEnableMatchingComment() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: not available [in CarbonLib 1.0 and later]
- * Non-Carbon CFM: not available [in ColorSyncLib 2.0 and later]
- }
- procedure CMEnableMatchingComment( enableIt: Boolean ); external name '_CMEnableMatchingComment';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * NCMUseProfileComment() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: not available [in CarbonLib 1.0 and later]
- * Non-Carbon CFM: not available [in ColorSyncLib 2.0 and later]
- }
- function NCMUseProfileComment( prof: CMProfileRef; flags: UInt32 ): CMError; external name '_NCMUseProfileComment';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- { Available in CarbonLib... }
- {
- * IsValidPort() *** DEPRECATED ***
- *
- * Summary:
- * Attempts to detect invalid ports
- *
- * Discussion:
- * A grafPort structure contains many nested Handles. An attempt to
- * guarantee that they are all valid is prohibitively costly. Since
- * 10.1, IsValidPort only compares the CGrafPtr parameter against
- * the list of grafPorts maintained internally by Quickdraw. The
- * function returns true if it is found, false otherwise. This is
- * enough to detect ports belonging to windows that have been
- * closed, or GWorlds that have been deallocated.
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Parameters:
- *
- * port:
- * The CGrafPtr in question.
- *
- * Result:
- * If false, port is definitely invalid. If true, port is probably
- * valid (unless memory has been clobbered)
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.1 and later
- * Non-Carbon CFM: not available
- }
- function IsValidPort(port: CGrafPtr): boolean; external name '_IsValidPort';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * IsValidRgnHandle()
- *
- * Summary:
- * Tests a RgnHandle
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Parameters:
- *
- * rgn:
- * The RgnHandle in question.
- *
- * Result:
- * If false, either the RgnHandle parameter is NULL, or has been
- * deallocated, or the region data are corrupt. The latter can
- * happen when memory has been overwritten. If true, the RgnHandle
- * is valid. NOTE: In 10.3, the internal (opaque) format of region
- * data has changed, to overcome size and performance limitations.
- * Do not attempt to access region data by dereferencing the
- * RgnHandle.
- *
- * Availability:
- * Mac OS X: in version 10.3 and later in ApplicationServices.framework
- * CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.3 and later
- * Non-Carbon CFM: not available
- }
- function IsValidRgnHandle( rgn: RgnHandle ): Boolean; external name '_IsValidRgnHandle';
- (* AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER *)
- {$ifc ACCESSOR_CALLS_ARE_FUNCTIONS}
- { GrafPort }
- { Getters }
- {
- * GetPortPixMap() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in CarbonAccessors.o 1.0 and later
- }
- function GetPortPixMap(port: CGrafPtr): PixMapHandle; external name '_GetPortPixMap';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * GetPortBitMapForCopyBits()
- *
- * Discussion:
- * GetPortBitMapForCopyBits is provided for the specific purpose of
- * using the return value as a parameter to CopyBits. The return
- * value can be used as the srcBits or dstBits parameter to CopyBits
- * regardless of whether the port is color. If the port parameter is
- * a color port, however, the returned BitMapPtr does not actually
- * point to a BitMap; it points to the PixMapHandle and other fields
- * in the CGrafPort structure. You should not dereference the
- * BitMapPtr or otherwise depend on its contents unless you've
- * confirmed that this port is a non-color port.
- *
- * Mac OS X threading:
- * Thread safe since version 10.0
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- * CarbonLib: in CarbonLib 1.0.2 and later
- * Non-Carbon CFM: in CarbonAccessors.o 1.0.2 and later
- }
- function GetPortBitMapForCopyBits(port: CGrafPtr): BitMapPtr; external name '_GetPortBitMapForCopyBits';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * GetPortBounds()
- *
- * Mac OS X threading:
- * Thread safe since version 10.0
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in CarbonAccessors.o 1.0 and later
- }
- function GetPortBounds(port: CGrafPtr; var rect_: Rect): RectPtr; external name '_GetPortBounds';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * GetPortForeColor()
- *
- * Mac OS X threading:
- * Thread safe since version 10.0
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in CarbonAccessors.o 1.0 and later
- }
- function GetPortForeColor(port: CGrafPtr; var foreColor: RGBColor): RGBColorPtr; external name '_GetPortForeColor';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * GetPortBackColor()
- *
- * Mac OS X threading:
- * Thread safe since version 10.0
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in CarbonAccessors.o 1.0 and later
- }
- function GetPortBackColor(port: CGrafPtr; var backColor: RGBColor): RGBColorPtr; external name '_GetPortBackColor';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * GetPortOpColor()
- *
- * Mac OS X threading:
- * Thread safe since version 10.0
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in CarbonAccessors.o 1.0 and later
- }
- function GetPortOpColor(port: CGrafPtr; var opColor: RGBColor): RGBColorPtr; external name '_GetPortOpColor';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * GetPortHiliteColor()
- *
- * Mac OS X threading:
- * Thread safe since version 10.0
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in CarbonAccessors.o 1.0 and later
- }
- function GetPortHiliteColor(port: CGrafPtr; var hiliteColor: RGBColor): RGBColorPtr; external name '_GetPortHiliteColor';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * GetPortGrafProcs()
- *
- * Mac OS X threading:
- * Thread safe since version 10.0
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in CarbonAccessors.o 1.0 and later
- }
- function GetPortGrafProcs(port: CGrafPtr): CQDProcsPtr; external name '_GetPortGrafProcs';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * GetPortTextFont()
- *
- * Mac OS X threading:
- * Thread safe since version 10.0
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in CarbonAccessors.o 1.0 and later
- }
- function GetPortTextFont(port: CGrafPtr): SInt16; external name '_GetPortTextFont';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * GetPortTextFace()
- *
- * Mac OS X threading:
- * Thread safe since version 10.0
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in CarbonAccessors.o 1.0 and later
- }
- function GetPortTextFace(port: CGrafPtr): ByteParameter; external name '_GetPortTextFace';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * GetPortTextMode()
- *
- * Mac OS X threading:
- * Thread safe since version 10.0
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in CarbonAccessors.o 1.0 and later
- }
- function GetPortTextMode(port: CGrafPtr): SInt16; external name '_GetPortTextMode';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * GetPortTextSize()
- *
- * Mac OS X threading:
- * Thread safe since version 10.0
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in CarbonAccessors.o 1.0 and later
- }
- function GetPortTextSize(port: CGrafPtr): SInt16; external name '_GetPortTextSize';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * GetPortChExtra()
- *
- * Mac OS X threading:
- * Thread safe since version 10.0
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in CarbonAccessors.o 1.0 and later
- }
- function GetPortChExtra(port: CGrafPtr): SInt16; external name '_GetPortChExtra';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * GetPortFracHPenLocation()
- *
- * Mac OS X threading:
- * Thread safe since version 10.0
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in CarbonAccessors.o 1.0 and later
- }
- function GetPortFracHPenLocation(port: CGrafPtr): SInt16; external name '_GetPortFracHPenLocation';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * GetPortSpExtra()
- *
- * Mac OS X threading:
- * Thread safe since version 10.0
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in CarbonAccessors.o 1.0 and later
- }
- function GetPortSpExtra(port: CGrafPtr): Fixed; external name '_GetPortSpExtra';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * GetPortPenVisibility()
- *
- * Mac OS X threading:
- * Thread safe since version 10.0
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in CarbonAccessors.o 1.0 and later
- }
- function GetPortPenVisibility(port: CGrafPtr): SInt16; external name '_GetPortPenVisibility';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * GetPortVisibleRegion()
- *
- * Mac OS X threading:
- * Thread safe since version 10.0
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in CarbonAccessors.o 1.0 and later
- }
- function GetPortVisibleRegion(port: CGrafPtr; visRgn: RgnHandle): RgnHandle; external name '_GetPortVisibleRegion';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * GetPortClipRegion()
- *
- * Mac OS X threading:
- * Thread safe since version 10.0
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in CarbonAccessors.o 1.0 and later
- }
- function GetPortClipRegion(port: CGrafPtr; clipRgn: RgnHandle): RgnHandle; external name '_GetPortClipRegion';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * GetPortBackPixPat()
- *
- * Mac OS X threading:
- * Thread safe since version 10.0
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in CarbonAccessors.o 1.0 and later
- }
- function GetPortBackPixPat(port: CGrafPtr; backPattern: PixPatHandle): PixPatHandle; external name '_GetPortBackPixPat';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * GetPortPenPixPat()
- *
- * Mac OS X threading:
- * Thread safe since version 10.0
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in CarbonAccessors.o 1.0 and later
- }
- function GetPortPenPixPat(port: CGrafPtr; penPattern: PixPatHandle): PixPatHandle; external name '_GetPortPenPixPat';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * GetPortFillPixPat()
- *
- * Mac OS X threading:
- * Thread safe since version 10.0
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in CarbonAccessors.o 1.0 and later
- }
- function GetPortFillPixPat(port: CGrafPtr; fillPattern: PixPatHandle): PixPatHandle; external name '_GetPortFillPixPat';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * GetPortPenSize()
- *
- * Mac OS X threading:
- * Thread safe since version 10.0
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in CarbonAccessors.o 1.0 and later
- }
- function GetPortPenSize(port: CGrafPtr; var penSize: Point): PointPtr; external name '_GetPortPenSize';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * GetPortPenMode()
- *
- * Mac OS X threading:
- * Thread safe since version 10.0
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in CarbonAccessors.o 1.0 and later
- }
- function GetPortPenMode(port: CGrafPtr): SInt32; external name '_GetPortPenMode';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * GetPortPenLocation()
- *
- * Mac OS X threading:
- * Thread safe since version 10.0
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in CarbonAccessors.o 1.0 and later
- }
- function GetPortPenLocation(port: CGrafPtr; var penLocation: Point): PointPtr; external name '_GetPortPenLocation';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * IsPortRegionBeingDefined()
- *
- * Mac OS X threading:
- * Thread safe since version 10.0
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in CarbonAccessors.o 1.0 and later
- }
- function IsPortRegionBeingDefined(port: CGrafPtr): boolean; external name '_IsPortRegionBeingDefined';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * IsPortPictureBeingDefined()
- *
- * Mac OS X threading:
- * Thread safe since version 10.0
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in CarbonAccessors.o 1.0 and later
- }
- function IsPortPictureBeingDefined(port: CGrafPtr): boolean; external name '_IsPortPictureBeingDefined';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * IsPortPolyBeingDefined()
- *
- * Mac OS X threading:
- * Thread safe since version 10.0
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- * CarbonLib: in CarbonLib 1.3 and later
- * Non-Carbon CFM: in CarbonAccessors.o 1.3 and later
- }
- function IsPortPolyBeingDefined(port: CGrafPtr): boolean; external name '_IsPortPolyBeingDefined';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * IsPortOffscreen()
- *
- * Mac OS X threading:
- * Thread safe since version 10.0
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in CarbonAccessors.o 1.0 and later
- }
- function IsPortOffscreen(port: CGrafPtr): boolean; external name '_IsPortOffscreen';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * IsPortColor()
- *
- * Mac OS X threading:
- * Thread safe since version 10.0
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework
- * CarbonLib: in CarbonLib 1.0.2 and later
- * Non-Carbon CFM: in CarbonAccessors.o 1.0.2 and later
- }
- function IsPortColor(port: CGrafPtr): boolean; external name '_IsPortColor';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER *)
- {
- * IsPortVisibleRegionEmpty()
- *
- * Mac OS X threading:
- * Thread safe since version 10.1
- *
- * Availability:
- * Mac OS X: in version 10.1 and later in ApplicationServices.framework
- * CarbonLib: in CarbonLib 1.3 and later
- * Non-Carbon CFM: not available
- }
- function IsPortVisibleRegionEmpty(port: CGrafPtr): boolean; external name '_IsPortVisibleRegionEmpty';
- (* AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER *)
- {
- * IsPortClipRegionEmpty()
- *
- * Mac OS X threading:
- * Thread safe since version 10.1
- *
- * Availability:
- * Mac OS X: in version 10.1 and later in ApplicationServices.framework
- * CarbonLib: in CarbonLib 1.3 and later
- * Non-Carbon CFM: not available
- }
- function IsPortClipRegionEmpty(port: CGrafPtr): boolean; external name '_IsPortClipRegionEmpty';
- (* AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER *)
- {
- * SectRegionWithPortClipRegion()
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.1 and later in ApplicationServices.framework
- * CarbonLib: in CarbonLib 1.3 and later
- * Non-Carbon CFM: not available
- }
- procedure SectRegionWithPortClipRegion(port: CGrafPtr; ioRegion: RgnHandle); external name '_SectRegionWithPortClipRegion';
- (* AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER *)
- {
- * SectRegionWithPortVisibleRegion()
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.1 and later in ApplicationServices.framework
- * CarbonLib: in CarbonLib 1.3 and later
- * Non-Carbon CFM: not available
- }
- procedure SectRegionWithPortVisibleRegion(port: CGrafPtr; ioRegion: RgnHandle); external name '_SectRegionWithPortVisibleRegion';
- (* AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER *)
- { Swappers }
- {
- * SwapPortPicSaveHandle()
- *
- * Summary:
- * Sets the port's picSave Handle, and returns the previous picSave
- *
- * Discussion:
- * Historically, the picSave field in a GrafPort is != NULL if a
- * Picture is being defined; and it has been documented that picture
- * definition can be temporarily suspended by saving the current
- * picSave Handle and setting picSave to NULL. Restoring the saved
- * picSave Handle resumes picture definition.
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Parameters:
- *
- * port:
- * The port whose picSave field is being swapped.
- *
- * inPicSaveHdl:
- * The picSave Handle to be set.
- *
- * Result:
- * The previous picSave Handle in the port.
- *
- * Availability:
- * Mac OS X: in version 10.1 and later in ApplicationServices.framework
- * CarbonLib: in CarbonLib 1.5 and later
- * Non-Carbon CFM: not available
- }
- function SwapPortPicSaveHandle(port: CGrafPtr; inPicSaveHdl: Handle): Handle; external name '_SwapPortPicSaveHandle';
- (* AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER *)
- { Similarly: }
- {
- * SwapPortPolySaveHandle()
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.2 and later in ApplicationServices.framework
- * CarbonLib: in CarbonLib 1.6 and later
- * Non-Carbon CFM: not available
- }
- function SwapPortPolySaveHandle(port: CGrafPtr; inPolySaveHdl: Handle): Handle; external name '_SwapPortPolySaveHandle';
- (* AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER *)
- {
- * SwapPortRegionSaveHandle()
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.2 and later in ApplicationServices.framework
- * CarbonLib: in CarbonLib 1.6 and later
- * Non-Carbon CFM: not available
- }
- function SwapPortRegionSaveHandle(port: CGrafPtr; inRegionSaveHdl: Handle): Handle; external name '_SwapPortRegionSaveHandle';
- (* AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER *)
- { Setters }
- {
- * SetPortBounds() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in CarbonAccessors.o 1.0 and later
- }
- procedure SetPortBounds(port: CGrafPtr; const (*var*) rect_: Rect); external name '_SetPortBounds';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * SetPortOpColor() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in CarbonAccessors.o 1.0 and later
- }
- procedure SetPortOpColor(port: CGrafPtr; const (*var*) opColor: RGBColor); external name '_SetPortOpColor';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * SetPortGrafProcs() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in CarbonAccessors.o 1.0 and later
- }
- procedure SetPortGrafProcs(port: CGrafPtr; procs: CQDProcsPtr); external name '_SetPortGrafProcs';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * SetPortTextFont()
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.1 and later in ApplicationServices.framework
- * CarbonLib: in CarbonLib 1.5 and later
- * Non-Carbon CFM: not available
- }
- procedure SetPortTextFont(port: CGrafPtr; txFont: SInt16); external name '_SetPortTextFont';
- (* AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER *)
- {
- * SetPortTextSize()
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.1 and later in ApplicationServices.framework
- * CarbonLib: in CarbonLib 1.5 and later
- * Non-Carbon CFM: not available
- }
- procedure SetPortTextSize(port: CGrafPtr; txSize: SInt16); external name '_SetPortTextSize';
- (* AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER *)
- {
- * SetPortTextFace()
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.1 and later in ApplicationServices.framework
- * CarbonLib: in CarbonLib 1.5 and later
- * Non-Carbon CFM: not available
- }
- procedure SetPortTextFace(port: CGrafPtr; face: StyleParameter); external name '_SetPortTextFace';
- (* AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER *)
- {
- * SetPortTextMode()
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.1 and later in ApplicationServices.framework
- * CarbonLib: in CarbonLib 1.5 and later
- * Non-Carbon CFM: not available
- }
- procedure SetPortTextMode(port: CGrafPtr; mode: SInt16); external name '_SetPortTextMode';
- (* AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER *)
- {
- * SetPortVisibleRegion() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in CarbonAccessors.o 1.0 and later
- }
- procedure SetPortVisibleRegion(port: CGrafPtr; visRgn: RgnHandle); external name '_SetPortVisibleRegion';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * SetPortClipRegion() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in CarbonAccessors.o 1.0 and later
- }
- procedure SetPortClipRegion(port: CGrafPtr; clipRgn: RgnHandle); external name '_SetPortClipRegion';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * SetPortPenPixPat() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in CarbonAccessors.o 1.0 and later
- }
- procedure SetPortPenPixPat(port: CGrafPtr; penPattern: PixPatHandle); external name '_SetPortPenPixPat';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * SetPortFillPixPat() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.2 and later
- * Non-Carbon CFM: in CarbonAccessors.o 1.2 and later
- }
- procedure SetPortFillPixPat(port: CGrafPtr; penPattern: PixPatHandle); external name '_SetPortFillPixPat';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * SetPortBackPixPat() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in CarbonAccessors.o 1.0 and later
- }
- procedure SetPortBackPixPat(port: CGrafPtr; backPattern: PixPatHandle); external name '_SetPortBackPixPat';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * SetPortPenSize() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in CarbonAccessors.o 1.0 and later
- }
- procedure SetPortPenSize(port: CGrafPtr; penSize: Point); external name '_SetPortPenSize';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * SetPortPenMode() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in CarbonAccessors.o 1.0 and later
- }
- procedure SetPortPenMode(port: CGrafPtr; penMode: SInt32); external name '_SetPortPenMode';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * SetPortFracHPenLocation() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in CarbonAccessors.o 1.0 and later
- }
- procedure SetPortFracHPenLocation(port: CGrafPtr; pnLocHFrac: SInt16); external name '_SetPortFracHPenLocation';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- { PixMap }
- {
- * GetPixBounds() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in CarbonAccessors.o 1.0 and later
- }
- function GetPixBounds(pixMap: PixMapHandle; var bounds: Rect): RectPtr; external name '_GetPixBounds';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * GetPixDepth() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in CarbonAccessors.o 1.0 and later
- }
- function GetPixDepth(pixMap: PixMapHandle): SInt16; external name '_GetPixDepth';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- { QDGlobals }
- { Getters }
- {
- * GetQDGlobalsRandomSeed() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in CarbonAccessors.o 1.0 and later
- }
- function GetQDGlobalsRandomSeed: SInt32; external name '_GetQDGlobalsRandomSeed';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * GetQDGlobalsScreenBits() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in CarbonAccessors.o 1.0 and later
- }
- function GetQDGlobalsScreenBits(var screenBits: BitMap): BitMapPtr; external name '_GetQDGlobalsScreenBits';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * GetQDGlobalsArrow() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in CarbonAccessors.o 1.0 and later
- }
- function GetQDGlobalsArrow(var arrow: Cursor): CursorPtr; external name '_GetQDGlobalsArrow';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * GetQDGlobalsDarkGray() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in CarbonAccessors.o 1.0 and later
- }
- function GetQDGlobalsDarkGray(var dkGray: Pattern): PatternPtr; external name '_GetQDGlobalsDarkGray';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * GetQDGlobalsLightGray() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in CarbonAccessors.o 1.0 and later
- }
- function GetQDGlobalsLightGray(var ltGray: Pattern): PatternPtr; external name '_GetQDGlobalsLightGray';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * GetQDGlobalsGray() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in CarbonAccessors.o 1.0 and later
- }
- function GetQDGlobalsGray(var gray: Pattern): PatternPtr; external name '_GetQDGlobalsGray';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * GetQDGlobalsBlack() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in CarbonAccessors.o 1.0 and later
- }
- function GetQDGlobalsBlack(var black: Pattern): PatternPtr; external name '_GetQDGlobalsBlack';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * GetQDGlobalsWhite() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in CarbonAccessors.o 1.0 and later
- }
- function GetQDGlobalsWhite(var white: Pattern): PatternPtr; external name '_GetQDGlobalsWhite';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * GetQDGlobalsThePort() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in CarbonAccessors.o 1.0 and later
- }
- function GetQDGlobalsThePort: CGrafPtr; external name '_GetQDGlobalsThePort';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- { Setters }
- {
- * SetQDGlobalsRandomSeed() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in CarbonAccessors.o 1.0 and later
- }
- procedure SetQDGlobalsRandomSeed(randomSeed: SInt32); external name '_SetQDGlobalsRandomSeed';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * SetQDGlobalsArrow() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in CarbonAccessors.o 1.0 and later
- }
- procedure SetQDGlobalsArrow(const (*var*) arrow: Cursor); external name '_SetQDGlobalsArrow';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- { Regions }
- {
- * GetRegionBounds() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in CarbonAccessors.o 1.0 and later
- }
- //AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4;
- function GetRegionBounds(region: RgnHandle; var bounds: Rect): RectPtr; external name '_GetRegionBounds'; (* attribute ignoreable *)
- {
- * IsRegionRectangular() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in CarbonAccessors.o 1.0 and later
- }
- function IsRegionRectangular(region: RgnHandle): boolean; external name '_IsRegionRectangular';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- { Utilities }
- { To prevent upward dependencies, GetWindowFromPort() is defined in Window Manager interface: }
- { pascal WindowRef GetWindowFromPort(CGrafPtr port); }
- { NewPtr/OpenCPort doesn't work with opaque structures }
- {
- * CreateNewPort() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in CarbonAccessors.o 1.0 and later
- }
- function CreateNewPort: CGrafPtr; external name '_CreateNewPort';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * DisposePort() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in CarbonAccessors.o 1.0 and later
- }
- procedure DisposePort(port: CGrafPtr); external name '_DisposePort';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * SetQDError() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0.2 and later
- * Non-Carbon CFM: in CarbonAccessors.o 1.0.2 and later
- }
- procedure SetQDError(err: OSErr); external name '_SetQDError';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {$endc} {ACCESSOR_CALLS_ARE_FUNCTIONS}
- { Helpful Carbon-only utilities (finally made public) }
- {
- * QDLocalToGlobalPoint() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: not available
- }
- function QDLocalToGlobalPoint(port: CGrafPtr; var point_: Point): PointPtr; external name '_QDLocalToGlobalPoint';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * QDGlobalToLocalPoint() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: not available
- }
- function QDGlobalToLocalPoint(port: CGrafPtr; var point_: Point): PointPtr; external name '_QDGlobalToLocalPoint';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * QDLocalToGlobalRect() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: not available
- }
- function QDLocalToGlobalRect(port: CGrafPtr; var bounds: Rect): RectPtr; external name '_QDLocalToGlobalRect';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * QDGlobalToLocalRect() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: not available
- }
- function QDGlobalToLocalRect(port: CGrafPtr; var bounds: Rect): RectPtr; external name '_QDGlobalToLocalRect';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * QDLocalToGlobalRegion() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: not available
- }
- function QDLocalToGlobalRegion(port: CGrafPtr; region: RgnHandle): RgnHandle; external name '_QDLocalToGlobalRegion';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * QDGlobalToLocalRegion() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: not available
- }
- function QDGlobalToLocalRegion(port: CGrafPtr; region: RgnHandle): RgnHandle; external name '_QDGlobalToLocalRegion';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- Routines available on Mac OS X to flush buffered window ports...
- These calls do nothing on Mac OS 8/9. QDIsPortBuffered will always return false there.
- }
- {
- * QDIsPortBuffered() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0.2 and later
- * Non-Carbon CFM: not available
- }
- function QDIsPortBuffered(port: CGrafPtr): boolean; external name '_QDIsPortBuffered';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * QDIsPortBufferDirty() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0.2 and later
- * Non-Carbon CFM: not available
- }
- function QDIsPortBufferDirty(port: CGrafPtr): boolean; external name '_QDIsPortBufferDirty';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * QDFlushPortBuffer() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0.2 and later
- * Non-Carbon CFM: not available
- }
- procedure QDFlushPortBuffer(port: CGrafPtr; region: RgnHandle); external name '_QDFlushPortBuffer';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * QDGetDirtyRegion() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.1 and later
- * Non-Carbon CFM: not available
- }
- function QDGetDirtyRegion(port: CGrafPtr; rgn: RgnHandle): OSStatus; external name '_QDGetDirtyRegion';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * QDSetDirtyRegion() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.1 and later
- * Non-Carbon CFM: not available
- }
- function QDSetDirtyRegion(port: CGrafPtr; rgn: RgnHandle): OSStatus; external name '_QDSetDirtyRegion';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * QDAddRectToDirtyRegion() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.5 and later
- * Non-Carbon CFM: not available
- }
- function QDAddRectToDirtyRegion(inPort: CGrafPtr; const (*var*) inBounds: Rect): OSStatus; external name '_QDAddRectToDirtyRegion';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * QDAddRegionToDirtyRegion() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.5 and later
- * Non-Carbon CFM: not available
- }
- function QDAddRegionToDirtyRegion(inPort: CGrafPtr; inRegion: RgnHandle): OSStatus; external name '_QDAddRegionToDirtyRegion';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * CreateCGContextForPort() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.0 and later
- * Non-Carbon CFM: not available
- }
- function CreateCGContextForPort(inPort: CGrafPtr; var outContext: CGContextRef): OSStatus; external name '_CreateCGContextForPort';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * ClipCGContextToRegion() *** DEPRECATED ***
- *
- * Summary:
- * Set a CGContext's clip path to the equivalent of a RgnHandle
- *
- * Discussion:
- * When Quickdraw and CoreGraphics drawing are being mixed, it is
- * often necessary to convert a QD clipRgn to a clipPath in CG. In
- * order to produce the expected outcome in ClipCGContextToRegion,
- * this function needs to reset any CGContext clipPath before
- * setting it to the converted region, in contrast to the usual
- * behavior of CGContextClip which takes the intersection with the
- * previous clip.
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Parameters:
- *
- * gc:
- * The CGContext
- *
- * portRect:
- * A bounding box for the region (needed by conversion to
- * clipPath). Can be the GrafPort bounds, or the region bounds
- *
- * region:
- * The RgnHandle (usually a clipRgn) to be converted to the
- * CGContextClip.
- *
- * Result:
- * OSStatus noErr, or a memory error is some internal allocation
- * failed.
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.0 and later
- * Non-Carbon CFM: not available
- }
- function ClipCGContextToRegion(gc: CGContextRef; const (*var*) portRect: Rect; region: RgnHandle): OSStatus; external name '_ClipCGContextToRegion';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * SyncCGContextOriginWithPort() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.0 and later
- * Non-Carbon CFM: not available
- }
- function SyncCGContextOriginWithPort(inContext: CGContextRef; port: CGrafPtr): OSStatus; external name '_SyncCGContextOriginWithPort';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * QDBeginCGContext()
- *
- * Summary:
- * Allow CoreGraphics drawing in a CGrafPort
- *
- * Discussion:
- * So far, CreateCGContextForPort() was used to create a CGContext
- * for CG drawing from a CGrafPort. However, if the current port is
- * a printing port, the CreateCGContextForPort fails; consequently,
- * there was no way to mix Quickdraw and CoreGraphics drawing and
- * still print it. If, instead, the CoreGraphics drawing is
- * bracketed by QDBeginCGContext/QDEndCGContext calls, the drawing
- * will also appear in print. There are some restrictions on the
- * usage of QDBeginCGContext/QDEndCGContext:
- * - Between QDBeginCGContext and QDEndCGContext, Quickdraw drawing
- * is disabled; only CoreGraphics drawing is allowed
- * - QDBeginCGContext/QDEndCGContext calls can not be nested
- * - QDEndCGContext releases the CGContext returned from
- * QDBeginCGContext and sets it to NULL.
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Parameters:
- *
- * inPort:
- * The current port
- *
- * outContext:
- * The CGContextRef to be used for CG drawing
- *
- * Availability:
- * Mac OS X: in version 10.1 and later in ApplicationServices.framework
- * CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.1 and later
- * Non-Carbon CFM: not available
- }
- function QDBeginCGContext(inPort: CGrafPtr; var outContext: CGContextRef): OSStatus; external name '_QDBeginCGContext';
- (* AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER *)
- {
- * QDEndCGContext()
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.1 and later in ApplicationServices.framework
- * CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.1 and later
- * Non-Carbon CFM: not available
- }
- function QDEndCGContext(inPort: CGrafPtr; var inoutContext: CGContextRef): OSStatus; external name '_QDEndCGContext';
- (* AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER *)
- {
- The following routines are implemented in CarbonLib, and on Mac OS X in QD proper.
- They save the pixel data of a region in a packed format for quick save/restore
- without using a lot of memory to do a large, hollow region, such as the region
- used when drag hiliting (which is where this is used).
- }
- type
- QDRegionBitsRef = ^SInt32; { an opaque 32-bit type }
- QDRegionBitsRefPtr = ^QDRegionBitsRef; { when a var xx:QDRegionBitsRef parameter can be nil, it is changed to xx: QDRegionBitsRefPtr }
- {
- * QDSaveRegionBits()
- *
- * Summary:
- * Saves the pixel data of a region in a packed format for quick
- * restore
- *
- * Discussion:
- * Implemented in CarbonLib, and on Mac OS X in QD proper. Used in
- * particular for drag hiliting. The packed format doesn't use too
- * much memory for large hollow regions.
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Parameters:
- *
- * region:
- * The RgnHandle corresponding to the pixel data to be saved.
- *
- * Result:
- * The QDRegionBitsRef to be passed later into QDRestoreRegionBits.
- *
- * Availability:
- * Mac OS X: in version 10.1 and later in ApplicationServices.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: not available
- }
- function QDSaveRegionBits(region: RgnHandle): QDRegionBitsRef; external name '_QDSaveRegionBits';
- (* AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER *)
- {
- * QDRestoreRegionBits()
- *
- * Summary:
- * Restores the pixel data of a region, as returned from
- * QDSaveRegionBits
- *
- * Discussion:
- * Implemented in CarbonLib, and on Mac OS X in QD proper. Used in
- * particular for drag hiliting. NOTE: QDRestoreRegionBits also
- * calls QDDisposeRegionBits on the regionBits passed in - don't
- * call it again!
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Parameters:
- *
- * region:
- * The RgnHandle corresponding to the regionBits.
- *
- * regionBits:
- * The QDRegionBitsRef returned from a preceding QDSaveRegionBits
- * call
- *
- * Result:
- * OSStatus noErr, or paramErr if a NULL parameter is passed in
- *
- * Availability:
- * Mac OS X: in version 10.1 and later in ApplicationServices.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: not available
- }
- function QDRestoreRegionBits(region: RgnHandle; regionBits: QDRegionBitsRef): OSStatus; external name '_QDRestoreRegionBits';
- (* AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER *)
- {
- * QDDisposeRegionBits()
- *
- * Summary:
- * Disposes of data allocated in QDSaveRegionBits, when the
- * QDRegionBitsRef needs to be discarded without being passed to
- * QDRestoreRegionBits.
- *
- * Discussion:
- * Implemented in CarbonLib, and on Mac OS X in QD proper. NOTE: If
- * the QDRegionBitsRef has been passed to QDRestoreRegionBits, it
- * has been deallocated already - don't call QDDisposeRegionBits,
- * then.
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Parameters:
- *
- * regionBits:
- * The QDRegionBitsRef returned from a preceding QDSaveRegionBits
- * call
- *
- * Result:
- * OSStatus noErr, or paramErr if a NULL parameter is passed in
- *
- * Availability:
- * Mac OS X: in version 10.1 and later in ApplicationServices.framework
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: not available
- }
- function QDDisposeRegionBits(regionBits: QDRegionBitsRef): OSStatus; external name '_QDDisposeRegionBits';
- (* AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER *)
- {
- Developers need a way to go from a CGDirectDisplay environment to Quickdraw.
- The following is equivalent to CreateNewPort(), but instead of taking the
- portPixMap from the current GDevice, it uses the GDevice corresponding to
- the CGSDisplayID passed in. If the CGSDisplayID is invalid, the mainDevice
- is used instead.
- }
- {
- * CreateNewPortForCGDisplayID() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.0 and later
- * Non-Carbon CFM: not available
- }
- function CreateNewPortForCGDisplayID(inCGDisplayID: UInt32): CGrafPtr; external name '_CreateNewPortForCGDisplayID';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- In Mac OS X, developers should be able to turn the WaitCursor (spinning wheel)
- on and off. QDDisplayWaitCursor() keeps track of nested calls.
- Passing FALSE will resume automatic wait cursor operation.
- Call this function only from an application in the foreground.
- }
- {
- * QDDisplayWaitCursor() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.0 and later
- * Non-Carbon CFM: not available
- }
- procedure QDDisplayWaitCursor(forceWaitCursor: boolean); external name '_QDDisplayWaitCursor';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * QDSetPatternOrigin()
- *
- * Summary:
- * Sets the pattern origin for the current port.
- *
- * Discussion:
- * When a QuickDraw drawing operation uses a pattern (either a
- * black&white pattern or a PixPat), the pattern's image is aligned
- * with port origin, modified by the pattern origin of the port. For
- * example, if the background pattern is a 8x8 image, and a
- * rectangle with coordinates (3, 3, 8, 8) is filled with that
- * pattern, then only the bottom right 5x5 portion of the pattern
- * image will be drawn into the rectangle. When drawing a pattern,
- * QuickDraw always starts with the port origin and then adjusts it
- * by the pattern origin to determine the actual origin point of
- * pattern drawing. QDSetPatternOrigin can be used to set the
- * pattern origin relative to the port origin. It is often used in
- * conjuction with SetOrigin to maintain the pattern alignment at
- * (0,0) in a window's content area, regardless of the port origin;
- * for example, after changing the port's origin to (10,10), an
- * application might change the port's pattern origin to (-10, -10)
- * so that patterns are still aligned with the window's content area.
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Parameters:
- *
- * origin:
- * The new pattern origin of the port.
- *
- * Availability:
- * Mac OS X: in version 10.1 and later in ApplicationServices.framework
- * CarbonLib: in CarbonLib 1.3 and later
- * Non-Carbon CFM: in NQD 8.5 and later
- }
- procedure QDSetPatternOrigin(origin: Point); external name '_QDSetPatternOrigin';
- (* AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER *)
- {
- * QDGetPatternOrigin()
- *
- * Summary:
- * Returns the pattern origin of the current port.
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Parameters:
- *
- * origin:
- * On exit, contains the current port's pattern origin.
- *
- * Availability:
- * Mac OS X: in version 10.1 and later in ApplicationServices.framework
- * CarbonLib: in CarbonLib 1.3 and later
- * Non-Carbon CFM: in NQD 8.5 and later
- }
- procedure QDGetPatternOrigin(var origin: Point); external name '_QDGetPatternOrigin';
- (* AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER *)
- {
- * QDIsNamedPixMapCursorRegistered()
- *
- * Summary:
- * Returns whether a named cursor has already been registered.
- *
- * Discussion:
- * The CoreGraphics Scalable Cursor Registry provides support for
- * cursors based on PixMaps for crsrData and crsrMask, with sizes up
- * to 64x64 pixels. Such cursors need to be registered via
- * QDRegisterNamedPixMapCursor, and can then be set by
- * QDSetNamedPixMapCursor.
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Parameters:
- *
- * name:
- * (see below at QDRegisterNamedPixMapCursor)
- *
- * Availability:
- * Mac OS X: in version 10.2 and later in ApplicationServices.framework
- * CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.2 and later
- * Non-Carbon CFM: not available
- }
- function QDIsNamedPixMapCursorRegistered( name: ConstCStringPtr ): Boolean; external name '_QDIsNamedPixMapCursorRegistered';
- (* AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER *)
- {
- * QDRegisterNamedPixMapCursor()
- *
- * Summary:
- * Register a new cursor by name
- *
- * Discussion:
- * In order to set a PixMapCursor, it needs to be registered first
- * by name. This only succeeds if the system supports Hardware
- * Cursors (depending on video circuits). There is also the obvious
- * companion function QDUnregisterNamedPixMapCursor. NOTE: The
- * original implementation of QDUnregisterNamedPixMapCursor was
- * misspelled "QDUnregisterNamedPixMapCursur".
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Parameters:
- *
- * crsrData:
- * A PixMapHandle representing the cursor pixels. If the
- * pixelDepth is 32, the crsrMask PixMapHandle can be NULL; in
- * this case, the alpha channel in the ARGB PixMap is used as
- * mask. If a crsrMask is provided, the alpha channel in crsrData
- * is ignored. The pixelDepth can be any of 1, 2, 4, 8, 16 or 32.
- *
- * crsrMask:
- * A PixMapHandle representing the mask. It is assumed to be in
- * 8-bit deep grayScale format, although other depths are accepted
- * and converted to 8-bit grayScale (using CopyBits). The
- * (**crsrMask).bounds rectangle needs to match
- * (**crsrData).bounds. If the crsrData are 32-bit deep, crsrMask
- * can be NULL, and the alpha bytes in the crsrData ARGB pixels
- * are used as mask.
- *
- * hotSpot:
- * The usual cursor hotspot, in coordinates relativ to
- * (**crsrData).bounds.topLeft.
- *
- * name:
- * A naming convention involving the name of your application and
- * descriptive cursor names or resource IDs is suggested. Cursor
- * names are 0-terminated C-strings up to a length of 127. $result
- * OSStatus: noErr = 0 for success, or (constants from
- * MacErrors.h): kQDNoColorHWCursorSupport,
- * kQDCursorAlreadyRegistered, paramErr, memFullErr, or a CGError
- * as returned internally from CoreGraphics.
- *
- * Availability:
- * Mac OS X: in version 10.2 and later in ApplicationServices.framework
- * CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.2 and later
- * Non-Carbon CFM: not available
- }
- function QDRegisterNamedPixMapCursor( crsrData: PixMapHandle; crsrMask: PixMapHandle; hotSpot: Point; name: ConstCStringPtr ): OSStatus; external name '_QDRegisterNamedPixMapCursor';
- (* AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER *)
- {
- * QDUnregisterNamedPixMapCursur()
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.2 and later in ApplicationServices.framework
- * CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.2 and later
- * Non-Carbon CFM: not available
- }
- function QDUnregisterNamedPixMapCursur( name: ConstCStringPtr ): OSStatus; external name '_QDUnregisterNamedPixMapCursur';
- (* AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER *)
- {
- * QDUnregisterNamedPixMapCursor()
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.3 and later in ApplicationServices.framework
- * CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.3 and later
- * Non-Carbon CFM: not available
- }
- function QDUnregisterNamedPixMapCursor( name: ConstCStringPtr ): OSStatus; external name '_QDUnregisterNamedPixMapCursor';
- (* AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER *)
- {
- * QDSetNamedPixMapCursor()
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.2 and later in ApplicationServices.framework
- * CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.2 and later
- * Non-Carbon CFM: not available
- }
- function QDSetNamedPixMapCursor( name: ConstCStringPtr ): OSStatus; external name '_QDSetNamedPixMapCursor';
- (* AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER *)
- type
- QDXSystemCursorID = UInt32;
- const
- kQDXArrowCursor = 0;
- kQDXIBeamCursor = 1;
- kQDXIBeamXORCursor = 2;
- kQDXAliasCursor = 3;
- kQDXCopyCursor = 4;
- kQDXMoveCursor = 5;
- kQDXNumberOfSystemCursors = 6; { Must be last }
- {
- * QDGetCursorNameForSystemCursor()
- *
- * Summary:
- * Return the name of one of the predefined Mac OS X system cursors
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Parameters:
- *
- * cursorID:
- * UInt32 in the range 0 ... kQDXNumberOfSystemCursors - 1 (see
- * enum above)
- *
- * Result:
- * const char* name, or NULL if 'cursorID' is out of range
- *
- * Availability:
- * Mac OS X: in version 10.3 and later in ApplicationServices.framework
- * CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.3 and later
- * Non-Carbon CFM: not available
- }
- function QDGetCursorNameForSystemCursor( cursorID: QDXSystemCursorID ): ConstCStringPtr; external name '_QDGetCursorNameForSystemCursor';
- (* AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER *)
- {
- * QDSetCursorScale()
- *
- * Summary:
- * Set a scaling factor for the cursor.
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Parameters:
- *
- * scale:
- * Must be at least 0.5, and integer values (1.0, 2.0, 3.0, 4.0)
- * are recommended. The scaling factor is system-wide (applies to
- * all apps), and is intended for use in such things as assisting
- * the visually impaired. The scaling factor is treated as a hint
- * to the system, and the exact scale applied may be limited by
- * device driver capabilities and performance considerations.
- *
- * Availability:
- * Mac OS X: in version 10.2 and later in ApplicationServices.framework
- * CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.2 and later
- * Non-Carbon CFM: not available
- }
- function QDSetCursorScale( scale: Float32 ): OSStatus; external name '_QDSetCursorScale';
- (* AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER *)
- {
- * QDGetCursorScale()
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.3 and later in ApplicationServices.framework
- * CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.3 and later
- * Non-Carbon CFM: not available
- }
- function QDGetCursorScale( outScale: Float32Ptr ): OSStatus; external name '_QDGetCursorScale';
- (* AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER *)
- {
- * QDGetCursorData()
- *
- * Summary:
- * Allocate and return a PixMapHandle with the cursor data; also
- * return the hotSpot. The caller is responsible for calling
- * DisposePtr((**crsrData).baseAddr) and DisposePixMap(crsrData)
- * when done with the crsrData returned.
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Parameters:
- *
- * contextCursor:
- * A Boolean; if true, return data for the current context cursor,
- * if false, return data for the currently showing global cursor.
- *
- * crsrData:
- * Allocates a PixMapHandle and pixelData in baseAddr,
- * corresponding to the cursorData. The pixelData are in 32-bit
- * ARGB format, with the mask contained in the alpha channel. This
- * PixMapHandle can be passed as crsrData to
- * QDRegisterNamedPixMapCursor, above (with crsrMask = NULL). If
- * the return result indicates an error, NULL is returned.
- *
- * hotSpot:
- * Contains the cursor hotSpot, if successful.
- *
- * Result:
- * noErr if successful, or whatever error is returned from lower
- * levels otherwise.
- *
- * Availability:
- * Mac OS X: in version 10.3 and later in ApplicationServices.framework
- * CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.3 and later
- * Non-Carbon CFM: not available
- }
- function QDGetCursorData( contextCursor: Boolean; var crsrData: PixMapHandle; var hotSpot: Point ): OSStatus; external name '_QDGetCursorData';
- (* AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER *)
- const
- kQDUseDefaultTextRendering = 0; { Sets whatever is specified in system defaults. }
- { Currently sets kQDUseTrueTypeScalerGlyphs if nothing is specified.}
- kQDUseTrueTypeScalerGlyphs = (1 shl 0); { bit 0}
- kQDUseCGTextRendering = (1 shl 1); { bit 1}
- kQDUseCGTextMetrics = (1 shl 2); { bit 2}
- kQDSupportedFlags = kQDUseTrueTypeScalerGlyphs or kQDUseCGTextRendering or kQDUseCGTextMetrics;
- kQDDontChangeFlags = $FFFFFFFF; { to request the current state, without changing anything }
- {
- * QDSwapTextFlags()
- *
- * Summary:
- * Returns current flags and optionally sets new flags.
- *
- * Discussion:
- * Currently, only the flag bits in the enum above are supported.
- * The typical usage is UInt32 savedFlags =
- * QDSwapTextFlags(newFlags); // ... draw text under the conditions
- * of "newFlags" ... (void)QDSwapTextFlags(savedFlags); // restore
- * previous setting
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Parameters:
- *
- * newFlags:
- * Use the enums above; example "kQDUseCGTextRendering |
- * kQDUseCGTextMetrics".
- *
- * Availability:
- * Mac OS X: in version 10.2 and later in ApplicationServices.framework
- * CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.2 and later
- * Non-Carbon CFM: not available
- }
- function QDSwapTextFlags( newFlags: UInt32 ): UInt32; external name '_QDSwapTextFlags';
- (* AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER *)
- {
- * QDSwapPortTextFlags()
- *
- * Summary:
- * Same as QDSwapTextFlags, but per GrafPort.
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Parameters:
- *
- * port:
- * Settings per port override any global settings. If port ==
- * NULL, the current port is used.
- *
- * newFlags:
- * As in QDSwapTextFlags, above.
- *
- * Availability:
- * Mac OS X: in version 10.2 and later in ApplicationServices.framework
- * CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.2 and later
- * Non-Carbon CFM: not available
- }
- function QDSwapPortTextFlags( port: CGrafPtr; newFlags: UInt32 ): UInt32; external name '_QDSwapPortTextFlags';
- (* AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER *)
- {
- * QDGetCGDirectDisplayID()
- *
- * Summary:
- * Return the CGDirectDisplayID corresponding to a GDHandle
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Parameters:
- *
- * inGDevice:
- * The GDevice handle corresponding to the device for which the
- * CGDirectDisplayID is requested
- *
- * Result:
- * The CGDirectDisplayID, or 0 if the GDHandle does not represent a
- * display.
- *
- * Availability:
- * Mac OS X: in version 10.3 and later in ApplicationServices.framework
- * CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.3 and later
- * Non-Carbon CFM: not available
- }
- function QDGetCGDirectDisplayID( inGDevice: GDHandle ): CGDirectDisplayID; external name '_QDGetCGDirectDisplayID';
- (* AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER *)
- {
- LowMem accessor functions previously in LowMem.h
- }
- {
- * LMGetScrVRes() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- function LMGetScrVRes: SInt16; external name '_LMGetScrVRes';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * LMSetScrVRes() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- procedure LMSetScrVRes(value: SInt16); external name '_LMSetScrVRes';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * LMGetScrHRes() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- function LMGetScrHRes: SInt16; external name '_LMGetScrHRes';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * LMSetScrHRes() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- procedure LMSetScrHRes(value: SInt16); external name '_LMSetScrHRes';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * LMGetMainDevice() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- function LMGetMainDevice: GDHandle; external name '_LMGetMainDevice';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * LMSetMainDevice() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- procedure LMSetMainDevice(value: GDHandle); external name '_LMSetMainDevice';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * LMGetDeviceList() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- function LMGetDeviceList: GDHandle; external name '_LMGetDeviceList';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * LMSetDeviceList() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- procedure LMSetDeviceList(value: GDHandle); external name '_LMSetDeviceList';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * LMGetQDColors() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- function LMGetQDColors: Handle; external name '_LMGetQDColors';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * LMSetQDColors() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- procedure LMSetQDColors(value: Handle); external name '_LMSetQDColors';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * LMGetWidthListHand() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- function LMGetWidthListHand: Handle; external name '_LMGetWidthListHand';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * LMSetWidthListHand() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- procedure LMSetWidthListHand(value: Handle); external name '_LMSetWidthListHand';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * LMGetHiliteMode() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- function LMGetHiliteMode: ByteParameter; external name '_LMGetHiliteMode';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * LMSetHiliteMode() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- procedure LMSetHiliteMode(value: ByteParameter); external name '_LMSetHiliteMode';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * LMGetWidthPtr() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- function LMGetWidthPtr: Ptr; external name '_LMGetWidthPtr';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * LMSetWidthPtr() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- procedure LMSetWidthPtr(value: Ptr); external name '_LMSetWidthPtr';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * LMGetWidthTabHandle() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- function LMGetWidthTabHandle: Handle; external name '_LMGetWidthTabHandle';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * LMSetWidthTabHandle() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- procedure LMSetWidthTabHandle(value: Handle); external name '_LMSetWidthTabHandle';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * LMGetLastSPExtra() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- function LMGetLastSPExtra: SInt32; external name '_LMGetLastSPExtra';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * LMSetLastSPExtra() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- procedure LMSetLastSPExtra(value: SInt32); external name '_LMSetLastSPExtra';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * LMGetLastFOND() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- function LMGetLastFOND: Handle; external name '_LMGetLastFOND';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * LMSetLastFOND() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- procedure LMSetLastFOND(value: Handle); external name '_LMSetLastFOND';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * LMGetFractEnable() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- function LMGetFractEnable: ByteParameter; external name '_LMGetFractEnable';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * LMSetFractEnable() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- procedure LMSetFractEnable(value: ByteParameter); external name '_LMSetFractEnable';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * LMGetTheGDevice() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- function LMGetTheGDevice: GDHandle; external name '_LMGetTheGDevice';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * LMSetTheGDevice() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- procedure LMSetTheGDevice(value: GDHandle); external name '_LMSetTheGDevice';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * LMGetHiliteRGB() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- procedure LMGetHiliteRGB(var hiliteRGBValue: RGBColor); external name '_LMGetHiliteRGB';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * LMSetHiliteRGB() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 7.1 and later
- }
- procedure LMSetHiliteRGB(const (*var*) hiliteRGBValue: RGBColor); external name '_LMSetHiliteRGB';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * LMGetCursorNew() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 8.5 and later
- }
- function LMGetCursorNew: boolean; external name '_LMGetCursorNew';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {
- * LMSetCursorNew() *** DEPRECATED ***
- *
- * Mac OS X threading:
- * Not thread safe
- *
- * Availability:
- * Mac OS X: in version 10.0 and later in ApplicationServices.framework but deprecated in 10.4
- * CarbonLib: in CarbonLib 1.0 and later
- * Non-Carbon CFM: in InterfaceLib 8.5 and later
- }
- procedure LMSetCursorNew(value: boolean); external name '_LMSetCursorNew';
- (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
- {$ALIGN MAC68K}
- end.
|