> I find point - point = size quite useful in general, and it seems to make
> logical sense.
I agree that it makes logical sense, but I think that 'point - point =
point' also makes sense, and is perhaps more frequently the right
choice.
> What would you call this type, avoiding confusion with Ve
On 4 January 2013 16:15, Simon Fraser wrote:
> > Introducing the concept of a vector could then be done in a second phase.
>
> What would you call this type, avoiding confusion with Vector<>?
>
> Rename that to DynamicallyResizableRandomlyAccessibleT<>, because, you
know, Euclid got there first :
On Jan 3, 2013, at 7:43 PM, Steve Block wrote:
> Thanks all for the detailed replies.
>
> I wasn't aware of the distinction made between points and vectors for
> the purposes transforms. However, if I understand things correctly,
> introducing a vector type could be considered separately from the
Thanks all for the detailed replies.
I wasn't aware of the distinction made between points and vectors for
the purposes transforms. However, if I understand things correctly,
introducing a vector type could be considered separately from the
issue I initially raised.
It seems that everyone is agre
On Wed, 2 Jan 2013, James Ascroft-Leigh wrote:
>
> There has been a proposal that a new property is added to the canvas 2D
> drawing context called fillRule with values "nonzero" (default) and
> "evenodd". This is compatible with the mozFillRule already implemented
> in Mozilla Firefox and wou
On Thu, Jan 3, 2013 at 3:14 PM, Peter Kasting wrote:
> On Thu, Jan 3, 2013 at 11:36 AM, Shawn Singh wrote:
>
>> Cons of making a separate vector class:
>> - "offsets" are sometimes treated as relative point locations, and
>> other times treated as vectors that can be added to points. Deciding
On Thu, Jan 3, 2013 at 11:36 AM, Shawn Singh wrote:
> Cons of making a separate vector class:
> - "offsets" are sometimes treated as relative point locations, and other
> times treated as vectors that can be added to points. Deciding when to use
> which one could become just as confusing as usi
Personally I like the idea of removing the subtraction operator (point
minus point returns size) and make it explicit.
*** However ***, if we change the data type of objects from Size to Point,
we have to be careful to check whether they are ever mapped by transforms.
In particular, Points use
Hi Steve,
When converting the old tx/ty paint offsets to use IntPoint and IntSize
(later LayoutPoint/Size) we had some discussion around this. Darin Adler
wrote some good advice here:
https://bugs.webkit.org/show_bug.cgi?id=61562#c2 -- quoting:
"It’s hard to tell points and sizes apart when we hav
Ognian,
YARR is the regular expression engine for the JavaScriptCore part of webkit.
It can find the matches, but you would need to write other C++ code to do the
replacement. The String.replace() method will do what you want in JavaScript.
- Michael
On Jan 3, 2013, at 4:16 AM, Ognian Milan
Hello! I need info how to use YARR to replace all matches of a given
regular expression in a string with another string. For example in Java
this is achieved by String.replaceAll method.
I will appreciate if someone leads me to the solution, thanks!
___
11 matches
Mail list logo