Ok, I have been thinking a bit about clippers and found out that it actually is a trivial addition to the current feature set.
I went through the functions, and clipping could be added to the following functions easily:
CGapiSurface::Blt (all flags supported, including rotation)
CGapiSurface::BltFast
CGapiSurface::AlphaBlt
CGapiSurface::AlphaBltFast
CGapiSurface::DrawLine (using correct line clipping)
CGapiSurface::DrawRect (using correct line clipping)
CGapiSurface::FillRect
CGapiSurface::SetPixel
CGapiSurface::SetPixels
CGapiMaskSurface::DrawMask
The only function that will not get generic clipping support is:
CGapiSurface::DrawText (this function will get other features which are more suitable than viewport clipping - usually you don't want to clip to surface viewport, but rather typeset text in columns or squares)
So, please bear with the known issues with GD 2.01b for a bit longer.. And report back any suspections of non-reported ones.. GD 2.02 will be a good one...
I went through the functions, and clipping could be added to the following functions easily:
CGapiSurface::Blt (all flags supported, including rotation)
CGapiSurface::BltFast
CGapiSurface::AlphaBlt
CGapiSurface::AlphaBltFast
CGapiSurface::DrawLine (using correct line clipping)
CGapiSurface::DrawRect (using correct line clipping)
CGapiSurface::FillRect
CGapiSurface::SetPixel
CGapiSurface::SetPixels
CGapiMaskSurface::DrawMask
The only function that will not get generic clipping support is:
CGapiSurface::DrawText (this function will get other features which are more suitable than viewport clipping - usually you don't want to clip to surface viewport, but rather typeset text in columns or squares)
So, please bear with the known issues with GD 2.01b for a bit longer.. And report back any suspections of non-reported ones.. GD 2.02 will be a good one...