Class TOlfSVGBitmapList
Unit
Declaration
type TOlfSVGBitmapList = class(TObject)
Description
This item has no description.
Hierarchy
- TObject
- TOlfSVGBitmapList
Overview
Methods
| Public | class function AddAList: word; |
| Public | class procedure DeleteList(Const Index: word); |
| Public | class function AddItemAt(Const ToList, AtIndex: word; const SVG: String) : boolean; overload; |
| Public | class function AddItemAt(AtIndex: word; const SVG: string) : boolean; overload; |
| Public | class function AddItem(Const ToList: word; const SVG: string) : word; overload; |
| Public | class function AddItem(Const ToList: word; const SVGArray: array of String) : word; overload; |
| Public | class function AddItem(const SVG: string): word; overload; |
| Public | class function AddItem(const SVGArray: array of string): word; overload; |
| Public | class procedure DeleteItem(Const FromList, AtIndex: word); overload; |
| Public | class procedure DeleteItem(Const AtIndex: word); overload; |
| Public | class function Bitmap(Const FromList, AtIndex: word; const Width, Height: integer; const BitmapScale: single = 1) : TBitmap; overload; |
| Public | class function Bitmap(Const FromList, AtIndex: word; const Width, Height: integer; const MarginTop: single; const MarginRight: single; const MarginBottom: single; const MarginLeft: single; const BitmapScale: single = 1) : TBitmap; overload; |
| Public | class function Bitmap(Const AtIndex: word; const Width, Height: integer; const BitmapScale: single = 1): TBitmap; overload; |
| Public | class function Bitmap(Const AtIndex: word; const Width, Height: integer; const MarginTop: single; const MarginRight: single; const MarginBottom: single; const MarginLeft: single; const BitmapScale: single = 1): TBitmap; overload; |
| Public | class function BitmapWithNoCache(const FromList, AtIndex: word; const Width, Height: integer; const BitmapScale: single = 1) : TBitmap; overload; |
| Public | class function BitmapWithNoCache(const FromList, AtIndex: word; const Width, Height: integer; const MarginTop: single; const MarginRight: single; const MarginBottom: single; const MarginLeft: single; const BitmapScale: single = 1) : TBitmap; overload; |
| Public | class function BitmapWithNoCache(const AtIndex: word; const Width, Height: integer; const BitmapScale: single = 1) : TBitmap; overload; |
| Public | class function BitmapWithNoCache(const AtIndex: word; const Width, Height: integer; const MarginTop: single; const MarginRight: single; const MarginBottom: single; const MarginLeft: single; const BitmapScale: single = 1) : TBitmap; overload; |
| Public | class procedure ClearAll; |
| Public | class procedure ClearCache; |
| Public | class function Count(const FromList: word = 0): NativeInt; |
Description
Methods
| Public | class function AddAList: word; |
|
Add a list in the global container | |
| Public | class procedure DeleteList(Const Index: word); |
|
Remove the list at "index" from the global container
It doesn't change others lists indexes, it's internally stored in a dictionary, not a list. | |
| Public | class function AddItemAt(Const ToList, AtIndex: word; const SVG: String) : boolean; overload; |
|
Add a SVG source to the list "ToList" at index "AtIndex"
It doesn't change others SVG indexes, it's internally stored in a dictionary, not a list. If an item exists at this position, the AddItemAt() is refused. | |
| Public | class function AddItemAt(AtIndex: word; const SVG: string) : boolean; overload; |
|
Add a SVG source to the default list at index "AtIndex"
It doesn't change others SVG indexes, it's internally stored in a dictionary, not a list. If an item exists at this position, the AddItemAt() is refused. | |
| Public | class function AddItem(Const ToList: word; const SVG: string) : word; overload; |
|
Add a SVG source to the list "ToList" and return it's index | |
| Public | class function AddItem(Const ToList: word; const SVGArray: array of String) : word; overload; |
|
Add all items from an array of SVG sources to the list "ToList" and return the index of the first added item | |
| Public | class function AddItem(const SVG: string): word; overload; |
|
Add a SVG source to the default list and return it's index | |
| Public | class function AddItem(const SVGArray: array of string): word; overload; |
|
Add all items from an array of SVG sources to the default list and return the index of the first added item | |
| Public | class procedure DeleteItem(Const FromList, AtIndex: word); overload; |
|
Remove the SVG "AtIndex" from the "FromList" list
It doesn't change others SVG indexes, it's internally stored in a dictionary, not a list. | |
| Public | class procedure DeleteItem(Const AtIndex: word); overload; |
|
Remove the SVG "AtIndex" from the default list
It doesn't change others SVG indexes, it's internally stored in a dictionary, not a list. | |
| Public | class function Bitmap(Const FromList, AtIndex: word; const Width, Height: integer; const BitmapScale: single = 1) : TBitmap; overload; |
|
Get a bitmap from the SVG in "FromList" list at "AtIndex" with specified sizes.
If the bitmap doesn't exist in the cache, it's added to it after drawing. If the bitmap already exists in the cache, you get a reference to it. | |
| Public | class function Bitmap(Const FromList, AtIndex: word; const Width, Height: integer; const MarginTop: single; const MarginRight: single; const MarginBottom: single; const MarginLeft: single; const BitmapScale: single = 1) : TBitmap; overload; |
|
Get a bitmap from the SVG in "FromList" list at "AtIndex" with specified sizes.
If the bitmap doesn't exist in the cache, it's added to it after drawing. If the bitmap already exists in the cache, you get a reference to it. The margins values must be decimal values between 0 and 100 (as a percent). | |
| Public | class function Bitmap(Const AtIndex: word; const Width, Height: integer; const BitmapScale: single = 1): TBitmap; overload; |
|
Get a bitmap from the SVG in default list at "AtIndex" with specified sizes.
If the bitmap doesn't exist in the cache, it's added to it after drawing. If the bitmap already exists in the cache, you get a reference to it. | |
| Public | class function Bitmap(Const AtIndex: word; const Width, Height: integer; const MarginTop: single; const MarginRight: single; const MarginBottom: single; const MarginLeft: single; const BitmapScale: single = 1): TBitmap; overload; |
|
Get a bitmap from the SVG in default list at "AtIndex" with specified sizes.
If the bitmap doesn't exist in the cache, it's added to it after drawing. If the bitmap already exists in the cache, you get a reference to it. The margins values must be decimal values between 0 and 100 (as a percent). | |
| Public | class function BitmapWithNoCache(const FromList, AtIndex: word; const Width, Height: integer; const BitmapScale: single = 1) : TBitmap; overload; |
|
Get a bitmap from the SVG in "FromList" list at "AtIndex" with specified sizes. No cache is used, the bitmap is drawn each time you call this function. | |
| Public | class function BitmapWithNoCache(const FromList, AtIndex: word; const Width, Height: integer; const MarginTop: single; const MarginRight: single; const MarginBottom: single; const MarginLeft: single; const BitmapScale: single = 1) : TBitmap; overload; |
|
Get a bitmap from the SVG in "FromList" list at "AtIndex" with specified sizes. No cache is used, the bitmap is drawn each time you call this function.
The margins values must be decimal values between 0 and 100 (as a percent). | |
| Public | class function BitmapWithNoCache(const AtIndex: word; const Width, Height: integer; const BitmapScale: single = 1) : TBitmap; overload; |
|
Get a bitmap from the SVG in default list at "AtIndex" with specified sizes. No cache is used, the bitmap is drawn each time you call this function. | |
| Public | class function BitmapWithNoCache(const AtIndex: word; const Width, Height: integer; const MarginTop: single; const MarginRight: single; const MarginBottom: single; const MarginLeft: single; const BitmapScale: single = 1) : TBitmap; overload; |
|
Get a bitmap from the SVG in default list at "AtIndex" with specified sizes. No cache is used, the bitmap is drawn each time you call this function.
The margins values must be decimal values between 0 and 100 (as a percent). | |
| Public | class procedure ClearAll; |
|
Anything you added is removed. Delete the cache, the items and the lists | |
| Public | class procedure ClearCache; |
|
Delete the bitmap's cache. | |
| Public | class function Count(const FromList: word = 0): NativeInt; |
|
Return the number of items in the specified list or the default list | |
Generated by PasDoc 1.0.2.