Added WIP support for affine transformations to BViews.
Everything untested, but compiles, so it must work. The idea is to introduce BAffineTransform additionally to the existing Origin and Scale properties of BViews. One may use it in parallel or as an alternative. Painter in app_server is not yet aware of the additional transformation. It is however already used to transform drawing coordinates. It probably needs to work differently, perhaps only in Painter and AGGTextRenderer.
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
#define _PICTURE_DATA_WRITER_H
|
||||
|
||||
|
||||
#include <AffineTransform.h>
|
||||
#include <InterfaceDefs.h>
|
||||
#include <Font.h>
|
||||
#include <OS.h>
|
||||
@@ -35,6 +36,7 @@ public:
|
||||
status_t WriteSetPenSize(const float &penSize);
|
||||
status_t WriteSetLineMode(const cap_mode &cap, const join_mode &join, const float &miterLimit);
|
||||
status_t WriteSetScale(const float &scale);
|
||||
status_t WriteSetTransform(BAffineTransform transform);
|
||||
status_t WriteSetPattern(const pattern &pat);
|
||||
status_t WriteSetClipping(const BRegion ®ion);
|
||||
status_t WriteClearClipping();
|
||||
|
||||
Reference in New Issue
Block a user