NEWS APPS DOCS ABOUT | ||||
Autodocs Libraries: graphics.library AddAnimOb AddBob AddFont AddVSprite AllocBitMap AllocDBufInfo AllocRaster AllocSpriteDataA AndRectRegion AndRegionRegion Animate AreaCircle AreaDraw AreaEllipse AreaEnd AreaMove AskFont AskSoftStyle AttachPalExtra AttemptLockLayerRom BestModeIDA BitMapScale BltBitMap BltBitMapRastPort BltClear BltMaskBitMapRastPort BltPattern BltTemplate CBump CEND CINIT CMOVE CWAIT CalcIVG ChangeExtSpriteA ChangeSprite ChangeVPBitMap ClearEOL ClearRectRegion ClearRegion ClearScreen ClipBlit CloseFont CloseMonitor CoerceMode CopySBitMap DisownBlitter DisposeRegion DoCollision Draw DrawEllipse DrawGList EraseRect ExtendFont FindColor FindDisplayInfo Flood FontExtent FreeBitMap FreeColorMap FreeCopList FreeCprList FreeDBufInfo FreeGBuffers FreeRaster FreeSprite FreeSpriteData FreeVPortCopLists GetAPen GetBPen GetBitMapAttr GetColorMap GetDisplayInfoData GetDrMd GetExtSpriteA GetGBuffers GetOPen GetRGB32 GetRGB4 GetRPAttrA GetSprite GetVPModeID GfxAssociate GfxFree GfxLookUp GfxNew InitArea InitBitMap InitGMasks InitGels InitMasks InitRastPort InitTmpRas InitVPort InitView LoadRGB32 LoadRGB4 LoadView LockLayerRom MakeVPort ModeNotAvailable Move MoveSprite MrgCop NewRegion NextDisplayInfo ObtainBestPenA ObtainPen OpenFont OpenMonitor OrRectRegion OrRegionRegion OwnBlitter PolyDraw QBSBlit QBlit ReadPixel ReadPixelArray8 ReadPixelLine8 RectFill ReleasePen RemBob RemFont RemIBob RemVSprite ScalerDiv ScrollRaster ScrollRasterBF ScrollVPort SetABPenDrMd SetAPen SetBPen SetChipRev SetCollision SetDrMd SetFont SetMaxPen SetOPen SetOutlinePen SetRGB32 SetRGB32CM SetRGB4 SetRGB4CM SetRPAttrA SetRast SetSoftStyle SetWriteMask SortGList StripFont SyncSBitMap Text TextExtent TextFit TextLength UnlockLayerRom VBeamPos VideoControl WaitBOVP WaitBlit WaitTOF WriteChunkyPixels WritePixel WritePixelArray8 WritePixelLine8 XorRectRegion XorRegionRegion Include GuruMeditation | NAMEObtainPen -- Obtain a free palette entry for use by your program. (V39) SYNOPSISn = ObtainPen( cm, n, r, g, b, flags) FUNCTIONAttempt to allocate an entry in the colormap for use by the application. INPUTScm = A pointer to a color map created by GetColorMap(). RESULTn = The allocated pen. -1 will be returned if there is no pen available BUGSNOTESWhen you allocate a palette entry in non-exclusive mode, you SEE ALSOGetColorMap(), ReleasePen(), AttachPalExtra(), ObtainBestPenA()Comments |
$VER: d0.se 1.14 Copyright © 2011-2024 Tobias Geijersson support at d0 dot se |