Unit msegdiplus

Description

This item has no description.

Overview

Classes, Interfaces, Objects and Records

Name Description
Class egdiplus  
Record GdiplusStartupInput  
Record GdiplusStartupOutput  
Record GpGraphics  
Record GpPoint  
Record ColorPalette  
Record GpImage  
Record GpBitmap  
Record GpTexture  
Record GpBrush  
Record GpSolidFill  
Record GpPen  
Record GpPath  
Record GpRegion  

Functions and Procedures

function initializegdiplus(const sonames: array of filenamety; const noexception: boolean = false): boolean;
procedure releasegdiplus;
function gdipcheckerror(const aerror: gpstatus): boolean;

Types

GpStatus = (...);
DebugEventLevel = (...);
DebugEventProc = procedure(level: DebugEventLevel; message: pchar); stdcall;
pGdiplusStartupinput = ˆGdiplusStartupinput;
NotificationHookProc = function(token: ppointer): GpStatus; stdcall;
NotificationUnhookProc = procedure(token: pointer); stdcall;
pGdiplusStartupoutput = ˆGdiplusStartupoutput;
PGpGraphics = ˆGpGraphics;
PPGpGraphics = ˆPGpGraphics;
INT = cint;
REAL = single;
GpREAL = REAL;
pReal = ˆREAL;
ARGB = uint32;
pARGB = ˆARGB;
pGpPoint = ˆGpPoint;
pColorPalette = ˆColorPalette;
pGpImage = ˆGpImage;
pGpBitmap = ˆGpBitmap;
ppGpBitmap = ˆpGpBitmap;
pGpTexture = ˆGpTexture;
ppGpTexture = ˆpGpTexture;
pGpBrush = ˆGpBrush;
pGpSolidFill = ˆGpSolidFill;
ppGpSolidFill = ˆpGpSolidFill;
pGpPen = ˆGpPen;
ppGpPen = ˆpGpPen;
pGpPath = ˆGpPath;
ppGpPath = ˆpGpPath;
pGpRegion = ˆGpRegion;
ppGpRegion = ˆpGpRegion;
QualityMode = (...);
pQualityMode = ˆQualityMode;
SmoothingMode = (...);
pSmoothingMode = ˆSmoothingMode;
WrapMode = (...);
GpUnit = (...);
GpMatrixOrder = (...);
GpFillMode = (...);
GpPenAlignment = (...);
GpLineCap = (...);
GpDashCap = (...);
GpDashStyle = (...);
GpLineJoin = (...);
GpCombineMode = (...);
GpFlushIntention = (...);
GpPixelOffsetMode = (...);

Constants

gdipluslib: array[0..0] of filenamety = ('gdiplus.dll');
gdipluserrormessages: array[GpStatus] of string = ( 'Ok', 'GenericError', 'InvalidParameter', 'OutOfMemory', 'ObjectBusy', 'InsufficientBuffer', 'NotImplemented', 'Win32Error', 'WrongState', 'Aborted', 'FileNotFound', 'ValueOverflow', 'AccessDenied', 'UnknownImageFormat', 'FontFamilyNotFound', 'FontStyleNotFound', 'NotTrueTypeFont', 'UnsupportedGdiplusVersion', 'GdiplusNotInitialized', 'PropertyNotFound', 'PropertyNotSupported' );
PaletteFlagsHasAlpha = $0001;
PaletteFlagsGrayScale = $0002;
PaletteFlagsHalftone = $0004;

Variables

GdiplusStartup: function(token: ppointer; input: pGdiplusStartupInput; output: pGdiplusStartupOutput): GpStatus; stdcall;
GdiplusShutdown: function(token: pointer): GpStatus; stdcall;
GdipFree: function(ptr: pointer): GpStatus; stdcall;
GdipCreateFromHDC: function(hdc_: HDC; graphics: PPGpGraphics): GpStatus; stdcall;
GdipCreateFromHDC2: function(hdc_: HDC; hDevice: HANDLE; graphics: ppGpGraphics): GpStatus; stdcall;
GdipCreateFromHWND: function(hwnd_: HWND; graphics: ppGpGraphics): GpStatus; stdcall;
GdipDeleteGraphics: function(graphics: PGpGraphics): GpStatus; stdcall;
GdipFlush: function(graphics: pGpGraphics; intention: GpFlushIntention): Gpstatus; stdcall;
GdipTranslateWorldTransform: function(graphics: pGpGraphics; dx: REAL; dy: REAL; order: GpMatrixOrder): GpStatus; stdcall;
GdipSetSmoothingMode: function(graphics: pGpGraphics; smoothingMode_: SmoothingMode): GpStatus; stdcall;
GdipGetSmoothingMode: function(graphics: pGpGraphics; smoothingMode: pSmoothingMode): GpStatus; stdcall;
GdipSetPixelOffsetMode: function(graphics: pGpGraphics; pixelOffsetMode: GpPixelOffsetMode): GpStatus; stdcall;
GdipSetClipRegion: function(graphics: pGpGraphics; region: pGpRegion; combineMode_: GpCombineMode): GpStatus; stdcall;
GdipResetClip: function(graphics: pGpGraphics): GpStatus; stdcall;
GdipDeleteBrush: function(brush: pGpBrush): GpStatus; stdcall;
GdipCreateSolidFill: function(color: ARGB; brush: ppGpSolidFill): GpStatus; stdcall;
GdipSetSolidFillColor: function(brush: pGpSolidFill; color: ARGB): GpStatus; stdcall;
GdipGetSolidFillColor: function(brush: pGpSolidFill; color: pARGB): GpStatus; stdcall;
GdipFillRectangleI: function(graphics: pGpGraphics; brush: pGpBrush; x: INT; y: INT; width: INT; height: INT): GpStatus; stdcall;
GdipFillPolygon2I: function(graphics: pGpGraphics; brush: pGpBrush; points: pGpPoint; count: INT): GpStatus; stdcall;
GdipCreatePen1: function(color: ARGB; width: REAL; unit_: GpUnit; pen: ppGpPen): GpStatus; stdcall;
GdipDeletePen: function(pen: pGpPen): GpStatus; stdcall;
GdipSetPenMode: function(pen: pGpPen; penMode: GpPenAlignment): GpStatus; stdcall;
GdipSetPenWidth: function(pen: pGpPen; width: REAL): GpStatus; stdcall;
GdipGetPenWidth: function(pen: pGpPen; width: pREAL): GpStatus; stdcall;
GdipSetPenColor: function(pen: pGpPen; argb_: ARGB): GpStatus; stdcall;
GdipGetPenColor: function(pen: pGpPen; argb_: pARGB): GpStatus; stdcall;
GdipSetPenBrushFill: function(pen: pGpPen; brush: pGpBrush): GpStatus; stdcall;
GdipSetPenLineCap197819: function(pen: pGpPen; startCap: GpLineCap; endCap: GpLineCap; dashCap: GpDashCap): GpStatus; stdcall;
GdipSetPenLineJoin: function(pen: pGpPen; lineJoin: GpLineJoin): GpStatus; stdcall;
GdipSetPenDashArray: function(pen: pGpPen; dash: pREAL; count: INT): GpStatus; stdcall;
GdipSetPenDashOffset: function(pen: pGpPen; offset: REAL): GpStatus; stdcall;
GdipSetPenDashStyle: function(pen: pGpPen; dashstyle: GpDashStyle): GpStatus; stdcall;
GdipDrawLinesI: function(graphics: pGpGraphics; pen: pGpPen; points: pGpPoint; count: INT): GpStatus; stdcall;
GdipDrawPolygonI: function(graphics: pGpGraphics; pen: pGpPen; points: pGpPoint; count: INT): GpStatus; stdcall;
GdipDrawEllipseI: function(graphics: pGpGraphics; pen: pGpPen; x: INT; y: INT; width: INT; height: INT): GpStatus; stdcall;
GdipFillEllipseI: function(graphics: pGpGraphics; brush: pGpBrush; x: INT; y: INT; width: INT; height: INT): GpStatus; stdcall;
GdipDrawArcI: function(graphics: pGpGraphics; pen: pGpPen; x: INT; y: INT; width: INT; heigh: INT; startAngle: REAL; sweepAngle: REAL): GpStatus; stdcall;
GdipFillPieI: function(graphics: pGpGraphics; brush: pGpBrush; x: INT; y: INT; width: INT; height: INT; startAngle: REAL; sweepAngle: REAL): GpStatus; stdcall;
GdipCreatePath: function(brushMode: GpFillMode; path: ppGpPath): GpStatus; stdcall;
GdipDeletePath: function(path: pGpPath): GpStatus; stdcall;
GdipStartPathFigure: function(path: pGpPath): GpStatus; stdcall;
GdipClosePathFigure: function(path: pGpPath): GpStatus; stdcall;
GdipAddPathArc: function(path: pGpPath; x: REAL; y: REAL; width: REAL; height: REAL; startangle: REAL; sweepangle: REAL): GpStatus; stdcall;
GdipFillPath: function(graphics: pGpGraphics; brush: pGpBrush; path: pGpPath): GpStatus; stdcall;
GdipCreateRegionHrgn: function(hRgn_: HRGN; region: ppGpRegion): GpStatus; stdcall;
GdipDeleteRegion: function(region: pGpRegion): GpStatus; stdcall;
GdipResetWorldTransform: function(graphics: pGpGraphics): GpStatus; stdcall;
GdipDisposeImage: function(image: pGpImage): GpStatus; stdcall;
GdipCreateBitmapFromHBITMAP: function(hbm: HBITMAP; hpal: HPALETTE; bitmap: ppGpBitmap): GpStatus; stdcall;
GdipSetImagePalette: function(image: pGpImage; palette: pColorPalette): GpStatus; stdcall;
GdipCreateTexture: function(image: pGpImage; wrapmode: WrapMode; texture: ppGpTexture): GpStatus; stdcall;
GdipResetTextureTransform: function(brush: pGpTexture): GpStatus; stdcall;
GdipTranslateTextureTransform: function(brush: pGpTexture; dx: REAL; dy: REAL; order: GpMatrixOrder): GpStatus; stdcall;

Description

Functions and Procedures

function initializegdiplus(const sonames: array of filenamety; const noexception: boolean = false): boolean;

This item has no description.

procedure releasegdiplus;

This item has no description.

function gdipcheckerror(const aerror: gpstatus): boolean;

This item has no description.

Types

GpStatus = (...);

This item has no description.

Values
  • Ok = 0
  • GenericError = 1
  • InvalidParameter = 2
  • OutOfMemory = 3
  • ObjectBusy = 4
  • InsufficientBuffer = 5
  • NotImplemented = 6
  • Win32Error = 7
  • WrongState = 8
  • Aborted = 9
  • FileNotFound = 10
  • ValueOverflow = 11
  • AccessDenied = 12
  • UnknownImageFormat = 13
  • FontFamilyNotFound = 14
  • FontStyleNotFound = 15
  • NotTrueTypeFont = 16
  • UnsupportedGdiplusVersion = 17
  • GdiplusNotInitialized = 18
  • PropertyNotFound = 19
  • PropertyNotSupported = 20
DebugEventLevel = (...);

This item has no description.

Values
  • DebugEventLevelFatal
  • DebugEventLevelWarning
DebugEventProc = procedure(level: DebugEventLevel; message: pchar); stdcall;

This item has no description.

pGdiplusStartupinput = ˆGdiplusStartupinput;

This item has no description.

NotificationHookProc = function(token: ppointer): GpStatus; stdcall;

This item has no description.

NotificationUnhookProc = procedure(token: pointer); stdcall;

This item has no description.

pGdiplusStartupoutput = ˆGdiplusStartupoutput;

This item has no description.

PGpGraphics = ˆGpGraphics;

This item has no description.

PPGpGraphics = ˆPGpGraphics;

This item has no description.

INT = cint;

This item has no description.

REAL = single;

This item has no description.

GpREAL = REAL;

This item has no description.

pReal = ˆREAL;

This item has no description.

ARGB = uint32;

This item has no description.

pARGB = ˆARGB;

This item has no description.

pGpPoint = ˆGpPoint;

This item has no description.

pColorPalette = ˆColorPalette;

This item has no description.

pGpImage = ˆGpImage;

This item has no description.

pGpBitmap = ˆGpBitmap;

This item has no description.

ppGpBitmap = ˆpGpBitmap;

This item has no description.

pGpTexture = ˆGpTexture;

This item has no description.

ppGpTexture = ˆpGpTexture;

This item has no description.

pGpBrush = ˆGpBrush;

This item has no description.

pGpSolidFill = ˆGpSolidFill;

This item has no description.

ppGpSolidFill = ˆpGpSolidFill;

This item has no description.

pGpPen = ˆGpPen;

This item has no description.

ppGpPen = ˆpGpPen;

This item has no description.

pGpPath = ˆGpPath;

This item has no description.

ppGpPath = ˆpGpPath;

This item has no description.

pGpRegion = ˆGpRegion;

This item has no description.

ppGpRegion = ˆpGpRegion;

This item has no description.

QualityMode = (...);

This item has no description.

Values
  • QualityModeInvalid = -1
  • QualityModeDefault = 0
  • QualityModeLow = 1
  • QualityModeHigh = 2
pQualityMode = ˆQualityMode;

This item has no description.

SmoothingMode = (...);

This item has no description.

Values
  • SmoothingModeInvalid = ord(QualityModeInvalid)
  • SmoothingModeDefault = ord(QualityModeDefault)
  • SmoothingModeHighSpeed = ord(QualityModeLow)
  • SmoothingModeHighQuality = ord(QualityModeHigh)
  • SmoothingModeNone
  • SmoothingModeAntiAlias
pSmoothingMode = ˆSmoothingMode;

This item has no description.

WrapMode = (...);

This item has no description.

Values
  • WrapModeTile
  • WrapModeTileFlipX
  • WrapModeTileFlipY
  • WrapModeTileFlipXY
  • WrapModeClamp
GpUnit = (...);

This item has no description.

Values
  • UnitWorld
  • UnitDisplay
  • UnitPixel
  • UnitPoint
  • UnitInch
  • UnitDocument
  • UnitMillimeter
GpMatrixOrder = (...);

This item has no description.

Values
  • MatrixOrderPrepend = 0
  • MatrixOrderAppend = 1
GpFillMode = (...);

This item has no description.

Values
  • FillModeAlternate
  • FillModeWinding
GpPenAlignment = (...);

This item has no description.

Values
  • PenAlignmentCenter = 0
  • PenAlignmentInset = 1
GpLineCap = (...);

This item has no description.

Values
  • LineCapFlat = 0
  • LineCapSquare = 1
  • LineCapRound = 2
  • LineCapTriangle = 3
  • LineCapNoAnchor = $10
  • LineCapSquareAnchor = $11
  • LineCapRoundAnchor = $12
  • LineCapDiamondAnchor = $13
  • LineCapArrowAnchor = $14
  • LineCapCustom = $ff
GpDashCap = (...);

This item has no description.

Values
  • DashCapFlat = 0
  • DashCapRound = 2
  • DashCapTriangle = 3
GpDashStyle = (...);

This item has no description.

Values
  • DashStyleSolid
  • DashStyleDash
  • DashStyleDot
  • DashStyleDashDot
  • DashStyleDashDotDot
  • DashStyleCustom
GpLineJoin = (...);

This item has no description.

Values
  • LineJoinMiter = 0
  • LineJoinBevel = 1
  • LineJoinRound = 2
  • LineJoinMiterClipped = 3
GpCombineMode = (...);

This item has no description.

Values
  • CombineModeReplace
  • CombineModeIntersect
  • CombineModeUnion
  • CombineModeXor
  • CombineModeExclude
  • CombineModeComplement
GpFlushIntention = (...);

This item has no description.

Values
  • FlushIntentionFlush = 0
  • FlushIntentionSync = 1
GpPixelOffsetMode = (...);

This item has no description.

Values
  • PixelOffsetModeInvalid = ord(QualityModeInvalid)
  • PixelOffsetModeDefault = ord(QualityModeDefault)
  • PixelOffsetModeHighSpeed = ord(QualityModeLow)
  • PixelOffsetModeHighQuality = ord(QualityModeHigh)
  • PixelOffsetModeNone
  • PixelOffsetModeHalf

Constants

gdipluslib: array[0..0] of filenamety = ('gdiplus.dll');

This item has no description.

gdipluserrormessages: array[GpStatus] of string = ( 'Ok', 'GenericError', 'InvalidParameter', 'OutOfMemory', 'ObjectBusy', 'InsufficientBuffer', 'NotImplemented', 'Win32Error', 'WrongState', 'Aborted', 'FileNotFound', 'ValueOverflow', 'AccessDenied', 'UnknownImageFormat', 'FontFamilyNotFound', 'FontStyleNotFound', 'NotTrueTypeFont', 'UnsupportedGdiplusVersion', 'GdiplusNotInitialized', 'PropertyNotFound', 'PropertyNotSupported' );

This item has no description.

PaletteFlagsHasAlpha = $0001;

This item has no description.

PaletteFlagsGrayScale = $0002;

This item has no description.

PaletteFlagsHalftone = $0004;

This item has no description.

Variables

GdiplusStartup: function(token: ppointer; input: pGdiplusStartupInput; output: pGdiplusStartupOutput): GpStatus; stdcall;

This item has no description.

GdiplusShutdown: function(token: pointer): GpStatus; stdcall;

This item has no description.

GdipFree: function(ptr: pointer): GpStatus; stdcall;

This item has no description.

GdipCreateFromHDC: function(hdc_: HDC; graphics: PPGpGraphics): GpStatus; stdcall;

This item has no description.

GdipCreateFromHDC2: function(hdc_: HDC; hDevice: HANDLE; graphics: ppGpGraphics): GpStatus; stdcall;

This item has no description.

GdipCreateFromHWND: function(hwnd_: HWND; graphics: ppGpGraphics): GpStatus; stdcall;

This item has no description.

GdipDeleteGraphics: function(graphics: PGpGraphics): GpStatus; stdcall;

This item has no description.

GdipFlush: function(graphics: pGpGraphics; intention: GpFlushIntention): Gpstatus; stdcall;

This item has no description.

GdipTranslateWorldTransform: function(graphics: pGpGraphics; dx: REAL; dy: REAL; order: GpMatrixOrder): GpStatus; stdcall;

This item has no description.

GdipSetSmoothingMode: function(graphics: pGpGraphics; smoothingMode_: SmoothingMode): GpStatus; stdcall;

This item has no description.

GdipGetSmoothingMode: function(graphics: pGpGraphics; smoothingMode: pSmoothingMode): GpStatus; stdcall;

This item has no description.

GdipSetPixelOffsetMode: function(graphics: pGpGraphics; pixelOffsetMode: GpPixelOffsetMode): GpStatus; stdcall;

This item has no description.

GdipSetClipRegion: function(graphics: pGpGraphics; region: pGpRegion; combineMode_: GpCombineMode): GpStatus; stdcall;

This item has no description.

GdipResetClip: function(graphics: pGpGraphics): GpStatus; stdcall;

This item has no description.

GdipDeleteBrush: function(brush: pGpBrush): GpStatus; stdcall;

This item has no description.

GdipCreateSolidFill: function(color: ARGB; brush: ppGpSolidFill): GpStatus; stdcall;

This item has no description.

GdipSetSolidFillColor: function(brush: pGpSolidFill; color: ARGB): GpStatus; stdcall;

This item has no description.

GdipGetSolidFillColor: function(brush: pGpSolidFill; color: pARGB): GpStatus; stdcall;

This item has no description.

GdipFillRectangleI: function(graphics: pGpGraphics; brush: pGpBrush; x: INT; y: INT; width: INT; height: INT): GpStatus; stdcall;

This item has no description.

GdipFillPolygon2I: function(graphics: pGpGraphics; brush: pGpBrush; points: pGpPoint; count: INT): GpStatus; stdcall;

This item has no description.

GdipCreatePen1: function(color: ARGB; width: REAL; unit_: GpUnit; pen: ppGpPen): GpStatus; stdcall;

This item has no description.

GdipDeletePen: function(pen: pGpPen): GpStatus; stdcall;

This item has no description.

GdipSetPenMode: function(pen: pGpPen; penMode: GpPenAlignment): GpStatus; stdcall;

This item has no description.

GdipSetPenWidth: function(pen: pGpPen; width: REAL): GpStatus; stdcall;

This item has no description.

GdipGetPenWidth: function(pen: pGpPen; width: pREAL): GpStatus; stdcall;

This item has no description.

GdipSetPenColor: function(pen: pGpPen; argb_: ARGB): GpStatus; stdcall;

This item has no description.

GdipGetPenColor: function(pen: pGpPen; argb_: pARGB): GpStatus; stdcall;

This item has no description.

GdipSetPenBrushFill: function(pen: pGpPen; brush: pGpBrush): GpStatus; stdcall;

This item has no description.

GdipSetPenLineCap197819: function(pen: pGpPen; startCap: GpLineCap; endCap: GpLineCap; dashCap: GpDashCap): GpStatus; stdcall;

This item has no description.

GdipSetPenLineJoin: function(pen: pGpPen; lineJoin: GpLineJoin): GpStatus; stdcall;

This item has no description.

GdipSetPenDashArray: function(pen: pGpPen; dash: pREAL; count: INT): GpStatus; stdcall;

This item has no description.

GdipSetPenDashOffset: function(pen: pGpPen; offset: REAL): GpStatus; stdcall;

This item has no description.

GdipSetPenDashStyle: function(pen: pGpPen; dashstyle: GpDashStyle): GpStatus; stdcall;

This item has no description.

GdipDrawLinesI: function(graphics: pGpGraphics; pen: pGpPen; points: pGpPoint; count: INT): GpStatus; stdcall;

This item has no description.

GdipDrawPolygonI: function(graphics: pGpGraphics; pen: pGpPen; points: pGpPoint; count: INT): GpStatus; stdcall;

This item has no description.

GdipDrawEllipseI: function(graphics: pGpGraphics; pen: pGpPen; x: INT; y: INT; width: INT; height: INT): GpStatus; stdcall;

This item has no description.

GdipFillEllipseI: function(graphics: pGpGraphics; brush: pGpBrush; x: INT; y: INT; width: INT; height: INT): GpStatus; stdcall;

This item has no description.

GdipDrawArcI: function(graphics: pGpGraphics; pen: pGpPen; x: INT; y: INT; width: INT; heigh: INT; startAngle: REAL; sweepAngle: REAL): GpStatus; stdcall;

This item has no description.

GdipFillPieI: function(graphics: pGpGraphics; brush: pGpBrush; x: INT; y: INT; width: INT; height: INT; startAngle: REAL; sweepAngle: REAL): GpStatus; stdcall;

This item has no description.

GdipCreatePath: function(brushMode: GpFillMode; path: ppGpPath): GpStatus; stdcall;

This item has no description.

GdipDeletePath: function(path: pGpPath): GpStatus; stdcall;

This item has no description.

GdipStartPathFigure: function(path: pGpPath): GpStatus; stdcall;

This item has no description.

GdipClosePathFigure: function(path: pGpPath): GpStatus; stdcall;

This item has no description.

GdipAddPathArc: function(path: pGpPath; x: REAL; y: REAL; width: REAL; height: REAL; startangle: REAL; sweepangle: REAL): GpStatus; stdcall;

This item has no description.

GdipFillPath: function(graphics: pGpGraphics; brush: pGpBrush; path: pGpPath): GpStatus; stdcall;

This item has no description.

GdipCreateRegionHrgn: function(hRgn_: HRGN; region: ppGpRegion): GpStatus; stdcall;

This item has no description.

GdipDeleteRegion: function(region: pGpRegion): GpStatus; stdcall;

This item has no description.

GdipResetWorldTransform: function(graphics: pGpGraphics): GpStatus; stdcall;

This item has no description.

GdipDisposeImage: function(image: pGpImage): GpStatus; stdcall;

This item has no description.

GdipCreateBitmapFromHBITMAP: function(hbm: HBITMAP; hpal: HPALETTE; bitmap: ppGpBitmap): GpStatus; stdcall;

This item has no description.

GdipSetImagePalette: function(image: pGpImage; palette: pColorPalette): GpStatus; stdcall;

This item has no description.

GdipCreateTexture: function(image: pGpImage; wrapmode: WrapMode; texture: ppGpTexture): GpStatus; stdcall;

This item has no description.

GdipResetTextureTransform: function(brush: pGpTexture): GpStatus; stdcall;

This item has no description.

GdipTranslateTextureTransform: function(brush: pGpTexture; dx: REAL; dy: REAL; order: GpMatrixOrder): GpStatus; stdcall;

This item has no description.


Generated by PasDoc 0.17.0.snapshot.