CVB.Net 14.0
Vpat Struct Reference

Virtual Pixel Access Table. More...

Classes

struct  Entry
 One entry of the VPAT. More...
 
class  IndexerBase
 Indexer object for X and Y VPAT access. More...
 
class  IntIndexer
 Indexer that returns an Int32 offset. More...
 
class  IntPtrIndexer
 Indexer that returns an IntPtr offset. More...
 
class  LongIndexer
 Indexer that returns an Int64 offset. More...
 

Properties

VpatLayout XVpatLayout [get]
 Increment layout of the x VPAT.
 
VpatLayout YVpatLayout [get]
 Increment layout of the y VPAT.
 
Cvb.VpatLayout VpatLayout [get]
 Combined VPAT layout. If x or y VPAT layout is confuse, the combined layout will also be confuse. If x or y VPAT layout is linear, the combined layout will also be linear. If x and y VPAT layout is linear with data type, the combined layout will be linear with data type.
 
VpatRotation Rotation [get]
 Guesses the rotation of this VPAT. More...
 
IntPtrIndexer XEntry [get]
 X offset table. More...
 
IntPtrIndexer YEntry [get]
 Y offset table. More...
 
IntIndexer IntXEntry [get]
 X offset table. More...
 
IntIndexer IntYEntry [get]
 Y offset table. More...
 
LongIndexer LongXEntry [get]
 X offset table. More...
 
LongIndexer LongYEntry [get]
 Y offset table. More...
 
IntPtr BasePtr [get]
 VPAT base pointer. More...
 
IntPtr VpatPtr [get]
 Pointer to the native VPAT structure. More...
 

Detailed Description

Virtual Pixel Access Table.

Property Documentation

◆ BasePtr

IntPtr BasePtr
get

VPAT base pointer.

Note that this is not necessarily a pointer to the first pixel in the image or the first pixel in the last line of the image, but merely a base pointer for calculating the address of a pixel using the x and y offset tables.

◆ IntXEntry

IntIndexer IntXEntry
get

X offset table.

VPAT access is returned as Int32 with this indexer. Note that it is only safe to use this indexer if your application is running as a 32 bit application.

◆ IntYEntry

IntIndexer IntYEntry
get

Y offset table.

VPAT access is returned as Int32 with this indexer. Note that it is only safe to use this indexer if your application is running as a 32 bit application.

◆ LongXEntry

LongIndexer LongXEntry
get

X offset table.

VPAT access is returned as Int64 with this indexer. This indexer is safe to use for 32 or 64 bit applications, but may increase processing time.

◆ LongYEntry

LongIndexer LongYEntry
get

Y offset table.

VPAT access is returned as Int64 with this indexer. This indexer is safe to use for 32 or 64 bit applications, but may increase processing time.

◆ Rotation

VpatRotation Rotation
get

Guesses the rotation of this VPAT.

The assumption about the underlying buffer is that it is positively linear (positive x- and y-increments). If this is not the case as with default windows bitmaps, the guess is plain wrong.

Entry of the VpatRotation enumeration.

◆ VpatPtr

IntPtr VpatPtr
get

Pointer to the native VPAT structure.

This points to the first Entry and can be interpreted as Entry* in unsafe context.

◆ XEntry

IntPtrIndexer XEntry
get

X offset table.

VPAT access is returned as IntPtr with this indexer, giving you the correct size of offsets for the platform you are running on, but making it necessary to properly convert the offsets when doing calculations.

◆ YEntry

IntPtrIndexer YEntry
get

Y offset table.

VPAT access is returned as IntPtr with this indexer, giving you the correct size of offsets for the platform you are running on, but making it necessary to properly convert the offsets when doing calculations.