[haiku-bugs] Re: [Haiku] #6761: Wrong positioning printing line of words in different colors

  • From: "jackburton" <trac@xxxxxxxxxxxx>
  • Date: Sun, 06 Nov 2016 11:35:51 -0000

#6761: Wrong positioning printing line of words in different colors
----------------------------------+-----------------------
   Reporter:  laplace             |      Owner:  korli
       Type:  bug                 |     Status:  new
   Priority:  normal              |  Milestone:  R1
  Component:  Servers/app_server  |    Version:  R1/alpha2
 Resolution:                      |   Keywords:
 Blocked By:                      |   Blocking:
Has a Patch:  0                   |   Platform:  All
----------------------------------+-----------------------

Comment (by jackburton):

 Replying to [comment:8 jackburton]:

Replying to [comment:6 pulkomandy]:

Notice that the handling of AS_DRAW_STRING for pictures does NOT
 update the pen location, unlike its direct-drawing counterpart. So, the
 pen stays at the start of the line and never advances with the text.

It actually updates the pen position, as you can see in here:

 Sorry, now I see what you mean.
 You're right, from the caller POV, the pen location stays always the same.

--
Ticket URL: <https://dev.haiku-os.org/ticket/6761#comment:9>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: