mirror of
https://github.com/beefytech/Beef.git
synced 2025-07-04 23:36:00 +02:00
FontEffect support - outlined fonts
This commit is contained in:
parent
474bad09b2
commit
89bf475045
10 changed files with 385 additions and 8 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
#include "Common.h"
|
||||
#include "RenderTarget.h"
|
||||
#include "../util/Rect.h"
|
||||
|
||||
NS_BF_BEGIN;
|
||||
|
||||
|
@ -38,6 +39,15 @@ public:
|
|||
|
||||
public:
|
||||
void InitFromTexture(Texture* texture);
|
||||
|
||||
virtual void SetBits(int destX, int destY, int destWidth, int destHeight, int srcPitch, uint32* bits);
|
||||
virtual void GetBits(int srcX, int srcY, int srcWidth, int srcHeight, int destPitch, uint32* bits);
|
||||
|
||||
void GetImageData(ImageData& imageData);
|
||||
void GetImageData(ImageData& imageData, int destX, int destY);
|
||||
void SetImageData(ImageData& imageData);
|
||||
|
||||
Rect GetRect();
|
||||
};
|
||||
|
||||
NS_BF_END;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue