Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Units/DX12.D2D1.pas
Original file line number Diff line number Diff line change
Expand Up @@ -2058,9 +2058,9 @@ TD2D1_FACTORY_OPTIONS = record

ID2D1Bitmap = interface(ID2D1Image)
['{a2296057-ea42-4099-983b-539fb6505426}']
function GetSize(): TD2D1_SIZE_F; stdcall;
function GetPixelSize(): TD2D1_SIZE_U; stdcall;
function GetPixelFormat(): TD2D1_PIXEL_FORMAT; stdcall;
procedure GetSize(out size: TD2D1_SIZE_F); stdcall;
procedure GetPixelSize(out pixelSize: TD2D1_SIZE_U); stdcall;
procedure GetPixelFormat(out PixelFormat: TD2D1_PIXEL_FORMAT); stdcall;
procedure GetDpi(out dpiX: single; out dpiY: single); stdcall;
// function CopyFromBitmap( destPoint: PD2D1_POINT_2U; bitmap: ID2D1Bitmap; srcRect: PD2D1_RECT_U): HResult; stdcall; // <- funkt
function CopyFromBitmap(const destPoint: PD2D1_POINT_2U; bitmap: ID2D1Bitmap; const srcRect: PD2D1_RECT_U): HResult;
Expand Down Expand Up @@ -2975,7 +2975,7 @@ TD2D1_FACTORY_OPTIONS = record
function CreateColorContextFromWicColorContext(wicColorContext: IWICColorContext; out colorContext: ID2D1ColorContext): HResult; stdcall;
function CreateBitmapFromDxgiSurface(surface: IDXGISurface; const bitmapProperties: TD2D1_BITMAP_PROPERTIES1;
out bitmap: ID2D1Bitmap1): HResult; stdcall;
function CreateEffect(effectId: TGUID; out effect: ID2D1Effect): HResult; stdcall;
function CreateEffect(effectId: PGUID; out effect: ID2D1Effect): HResult; stdcall;
function CreateGradientStopCollection(straightAlphaGradientStops: PD2D1_GRADIENT_STOP; straightAlphaGradientStopsCount: UINT32;
preInterpolationSpace: TD2D1_COLOR_SPACE; postInterpolationSpace: TD2D1_COLOR_SPACE; bufferPrecision: TD2D1_BUFFER_PRECISION;
extendMode: TD2D1_EXTEND_MODE; colorInterpolationMode: TD2D1_COLOR_INTERPOLATION_MODE;
Expand Down