app_server: fix ServerPicture::SyncState pen size
* Should use the unscaled pen size here because we also write down the current scale, and we don't want to scale the pen twice.
This commit is contained in:
parent
1b4dba929d
commit
8511f6ac9b
@ -978,7 +978,7 @@ ServerPicture::SyncState(View* view)
|
|||||||
|
|
||||||
WriteSetOrigin(view->CurrentState()->Origin());
|
WriteSetOrigin(view->CurrentState()->Origin());
|
||||||
WriteSetPenLocation(view->CurrentState()->PenLocation());
|
WriteSetPenLocation(view->CurrentState()->PenLocation());
|
||||||
WriteSetPenSize(view->CurrentState()->PenSize());
|
WriteSetPenSize(view->CurrentState()->UnscaledPenSize());
|
||||||
WriteSetScale(view->CurrentState()->Scale());
|
WriteSetScale(view->CurrentState()->Scale());
|
||||||
WriteSetLineMode(view->CurrentState()->LineCapMode(),
|
WriteSetLineMode(view->CurrentState()->LineCapMode(),
|
||||||
view->CurrentState()->LineJoinMode(),
|
view->CurrentState()->LineJoinMode(),
|
||||||
|
@ -63,6 +63,8 @@ public:
|
|||||||
status_t ExportData(BPrivate::PortLink& link);
|
status_t ExportData(BPrivate::PortLink& link);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
friend class PictureBoundingBoxPlayer;
|
||||||
|
|
||||||
typedef BObjectList<ServerPicture> PictureList;
|
typedef BObjectList<ServerPicture> PictureList;
|
||||||
|
|
||||||
int32 fToken;
|
int32 fToken;
|
||||||
|
@ -156,6 +156,7 @@ SharedLibrary libtestappserver.so :
|
|||||||
DesktopSettings.cpp
|
DesktopSettings.cpp
|
||||||
OffscreenServerWindow.cpp
|
OffscreenServerWindow.cpp
|
||||||
OffscreenWindow.cpp
|
OffscreenWindow.cpp
|
||||||
|
PictureBoundingBoxPlayer.cpp
|
||||||
RegionPool.cpp
|
RegionPool.cpp
|
||||||
Screen.cpp
|
Screen.cpp
|
||||||
ScreenConfigurations.cpp
|
ScreenConfigurations.cpp
|
||||||
|
Loading…
Reference in New Issue
Block a user