Hi,
Now that PocketHal has been released, is there any sign of a PF 8.0 release?
Glen.
Now that PocketHal has been released, is there any sign of a PF 8.0 release?
Glen.
A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.
Thierry wrote:I am toying with the idea of getting rid of the Rasterizer class right now (instead of waiting for one more release).
// Primitives
void Blit( int destX, int destY, const Surface* source, const Rect* srcRect = 0 );
void Blit( Point dest, const Surface* source, const Rect* srcRect = 0 );
void Clear( Pixel color );
void SetPixel( int x, int y, Pixel color );
void SetPixel( Point point, Pixel color );
void DrawCircle( int x, int y, int radius, Pixel color );
void DrawCircle( Point point, int radius, Pixel color );
void DrawLine( int x1, int y1, int x2, int y2, Pixel color );
void DrawLine( Point point1, Point point2, Pixel color );
void DrawHLine( int x, int y, int length, Pixel color );
void DrawHLine( Point point, int length, Pixel color );
void DrawVLine( int x, int y, int length, Pixel color );
void DrawVLine( Point point, int length, Pixel color );
void DrawRect( int x1, int y1, int x2, int y2, Pixel color );
void DrawRect( const Rect& rect, Pixel color );
void FillRect( int x1, int y1, int x2, int y2, Pixel color );
void FillRect( const Rect& rect, Pixel color );
void DrawPoly( Point points[], int pointCount, Pixel color );
void FillPoly( Point points[], int pointCount, Pixel Color );
void DrawVGAText( unsigned char* pFont, TCHAR* string, int align, int locX, int locY, Pixel color );
void BlitRotated( int destX, int destY, float angle, const Surface* source );
void BlitStretch( const Rect& dest, const Surface* source, const Rect* srcRect = 0 );
void BlitRotatedStretch( int destx, int desty, float angle, const Surface* source, Surface* stretch_surface, const Rect* src_rect);
void BlitRotatedStretch( Point point, float angle, const Surface* source, Surface* stretch_surface, const Rect* src_rect);
Pixel GetPixel( int x, int y );
const Rect& GetClipping() const { return m_clipper; }
void SetBlending( uint8_t alpha );
void SetClipping( const Rect& rect );
void SetDefaultShader();
void SetPixelShader( PixelShader* shader );
Surface* SetRenderTarget( Surface* target );
Line( destSurface, x1, y1, x2, y2, color )
Line( destSurface, x1, y1, x2, y2, color, AlphaBlend( 100 ) );