[haiku-commits] Change in haiku[master]: Added two DrawStringDry() versions for obtaining pen location only

  • From: Gerrit <review@xxxxxxxxxxxxxxxxxxx>
  • To: waddlesplash <waddlesplash@xxxxxxxxx>, haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 2 Jan 2019 18:12:04 +0000

From Stephan Aßmus <superstippi@xxxxxx>:

Stephan Aßmus has uploaded this change for review. ( 
https://review.haiku-os.org/816


Change subject: Added two DrawStringDry() versions for obtaining pen location 
only
......................................................................

Added two DrawStringDry() versions for obtaining pen location only

When recording into a BPicture (ServerPicture, actually), one cannot
simply record the commands only, when the drawing itself would modify
state. This affects all drawing commands that change the pen location.
Therefore it is necessary to have a way to "dry-run" drawing a string
in order to know the pen location that would result. This is what
these two new methods help achieve.
---
M src/servers/app/drawing/DrawingEngine.cpp
M src/servers/app/drawing/DrawingEngine.h
2 files changed, 54 insertions(+), 3 deletions(-)



  git pull ssh://git.haiku-os.org/haiku refs/changes/16/816/1
--
To view, visit https://review.haiku-os.org/816
To unsubscribe, or for help writing mail filters, visit 
https://review.haiku-os.org/settings

Gerrit-Project: haiku
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic399a5513f18c12c16c0ab10a55e768c1b30e4e0
Gerrit-Change-Number: 816
Gerrit-PatchSet: 1
Gerrit-Owner: Stephan Aßmus <superstippi@xxxxxx>

Other related posts:

  • » [haiku-commits] Change in haiku[master]: Added two DrawStringDry() versions for obtaining pen location only - Gerrit