DrawTextureNPatch method
void
DrawTextureNPatch(
- TextureD texture,
- NPatchInfoD nPatchInfo,
- RectangleD dest,
- Vector2D origin,
- double rotation,
- ColorD tint,
Implementation
@override
void DrawTextureNPatch(
TextureD texture,
NPatchInfoD nPatchInfo,
RectangleD dest,
Vector2D origin,
double rotation,
ColorD tint,
) => _ffi.DrawTextureNPatch(
$.Texture$.Ref1(texture).asNativePointer<TextureC>().ref,
$.NPatchInfo$.Ref1(nPatchInfo).asNativePointer<NPatchInfoC>().ref,
$.Rectangle$.Ref1(dest).asNativePointer<RectangleC>().ref,
$.Vector2$.Ref1(origin).asNativePointer<Vector2C>().ref,
rotation,
$.Color$.Ref1(tint).asNativePointer<ColorC>().ref,
);