Class TBaseImageSource
Unit
Base2D
Declaration
type TBaseImageSource = class
Description
Generic image source classMethods
Overview
 | constructor Create(AFormat, AWidth, AHeight: Integer); |
 | function GetData(const Rect: TRect; Dest: Pointer; DestImageWidth: Integer): Boolean; virtual; abstract; |
 | function GetDataAsRGBA(const Rect: TRect; Dest: Pointer; DestImageWidth: Integer): Boolean; virtual; abstract; |
 | function LoadData(Rect: TRect; Dest: Pointer; DestImageWidth: Integer): Boolean; |
 | function LoadDataAsRGBA(Rect: TRect; Dest: Pointer; DestImageWidth: Integer): Boolean; |
Description
Copies a rectangular area of the specified mip level of the image to an image with width DestImageWidth and data located in memory at Dest and returns True if success
Copies a rectangular area of the specified mip level of the image to an RGBA image with width DestImageWidth and data located in memory at Dest and returns True if success
Calls implementation-dependent GetData() to load image data
Calls implementation-dependent GetDataAsRGBA() to load image data
Properties
Overview
Description
Number of bits per pixel
Number of bytes per pixel
Image height
Image width
|
Last modified: Jan 6, 2010
Copyright (C) 2006-2010, casteng.com
|