Unit BGRASliceScaling

Description

Computation of slice scaling of images (to extended bitmap prototypes)

Uses

Overview

Classes, Interfaces, Objects and Records

Name Description
Class TBGRAMultiSliceScaling Slice scaling of multiple bitmaps
Class TBGRASliceScaling Class to configure and render slice scaling of a bitmap
Record TMargins Margins where the bitmap is not stretched

Functions and Procedures

function Margins(ATop, ARight, ABottom, ALeft: integer): TMargins;

Types

TBGRABitmapArray = array of TBGRABitmap;
TSliceBitmapArray = array[TSlicePosition] of TBGRABitmap;
TSlicePosition = (...);
TSliceRectArray = array[TSlicePosition] of TRect;
TSliceRepeatArray = array[TSliceRepeatPosition] of boolean;
TSliceRepeatPosition = (...);
TSliceScalingArray = array of TBGRASliceScaling;
TSliceScalingDirection = (...);

Constants

SliceRepeatPositionStr : array[TSliceRepeatPosition] of string = ('Top','Left','MiddleHorizontal','MiddleVertical','Right','Bottom');

Description

Functions and Procedures

function Margins(ATop, ARight, ABottom, ALeft: integer): TMargins;

This item has no description.

Types

TBGRABitmapArray = array of TBGRABitmap;

This item has no description.

TSliceBitmapArray = array[TSlicePosition] of TBGRABitmap;

This item has no description.

TSlicePosition = (...);

This item has no description.

Values
  • spTopLeft
  • spTop
  • spTopRight
  • spLeft
  • spMiddle
  • spRight
  • spBottomLeft
  • spBottom
  • spBottomRight
TSliceRectArray = array[TSlicePosition] of TRect;

This item has no description.

TSliceRepeatArray = array[TSliceRepeatPosition] of boolean;

This item has no description.

TSliceRepeatPosition = (...);

This item has no description.

Values
  • srpTop
  • srpLeft
  • srpMiddleHorizontal
  • srpMiddleVertical
  • srpRight
  • srpBottom
TSliceScalingArray = array of TBGRASliceScaling;

This item has no description.

TSliceScalingDirection = (...);

This item has no description.

Values
  • sdHorizontal
  • sdVertical

Constants

SliceRepeatPositionStr : array[TSliceRepeatPosition] of string = ('Top','Left','MiddleHorizontal','MiddleVertical','Right','Bottom');

This item has no description.