TPixmap class
Implements support for the XPM (Pixmap) image format.
Declaration
TPixmap = class(TFPImageBitmap)Inheritance
Description
TPixMap is a
TFPImageBitmap descendant, and is a
wrapper used to handle the
Pixmap (
'XPM') image format.
Pixmap is an image file format used by the X Window System. It is intended primarily for creating icons, and supports transparent pixels. Derived from the earlier XBM syntax, it is a plain text file using the XPM2 format or a C programming language syntax, which can be included in a source code file.
TPixmap ensures that specified resources (image, file, or stream)
are of the correct type and format.
Methods
GetReaderClass | protected | Gets the class reference for a reader used during component streaming. |
GetWriterClass | protected | Gets the class reference for a writer used during component streaming. |
GetSharedImageClass | protected | Gets the class reference used to create the shared image in the class instance. |
LazarusResourceTypeValid | public | Determines if the specified resource type is valid for the image format. |
GetFileExtensions | public | Gets the file extensions supported for the image type. |
Inherited
From TFPImageBitmap (9)
FinalizeReader FinalizeWriter GetMimeType InitializeReader InitializeWriter IsFileExtensionSupported IsStreamFormatSupported ReadStream WriteStream
From TCustomBitmap (35)
Assign BitmapHandleAllocated CanShareImage Changed Clear Create CreateDefaultBitmapHandle Destroy FreeImage FreeMaskHandle GetBitmapHandle GetMaskHandle GetPalette GetPixelFormat GetRawImageDescriptionPtr GetRawImagePtr Handle HandleNeeded HandleType InternalReleaseBitmapHandle InternalReleaseMaskHandle InternalReleasePalette MaskHandleAllocated MaskHandleNeeded Monochrome PaletteAllocated PaletteNeeded RawimageNeeded ReleaseHandle SetHandle SetHandles SetPixelFormat SetSize UnshareImage UpdateHandles
From TRasterImage (47)
ApplyTransparent BeginUpdate BitmapHandle BitmapHandleNeeded Canvas CreateIntfImage Draw EndUpdate FreeSaveStream GetEmpty GetHandle GetHeight GetMasked GetSize GetSupportedSourceMimeTypes GetTransparent GetWidth HandleAllocated LoadFromBitmapHandles LoadFromDevice LoadFromIntfImage LoadFromMimeStream LoadFromRawImage LoadFromStream Mask Masked MaskHandle PixelFormat RawImage ReadData ReleaseBitmapHandle ReleaseMaskHandle ReleasePalette RequestTransparentColor SaveStreamNeeded SaveToStream ScanLine SetBitmapHandle SetHeight SetMasked SetMaskHandle SetTransparent SetTransparentMode SetWidth TransparentColor TransparentMode WriteData
From TGraphic (25)
DefineProperties Empty Equals GetResourceType Height LoadFromClipboardFormat LoadFromClipboardFormatID LoadFromFile LoadFromLazarusResource LoadFromResourceID LoadFromResourceName MimeType Modified OnChange OnProgress Palette PaletteModified Progress SaveToClipboardFormat SaveToClipboardFormatID SaveToFile SetModified SetPalette Transparent Width
From TPersistent (6)
AssignTo FPOAttachObserver FPODetachObserver FPONotifyObservers GetNamePath GetOwner
From TObject (39)
AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
