Changes between Initial Version and Version 1 of Ticket #17538, comment 11


Ignore:
Timestamp:
Nov 24, 2022, 3:05:10 PM (18 months ago)
Author:
thebuck

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17538, comment 11

    initial v1  
    33haiku/headers/os/interface/View.h:
    44{{{#!cpp
    5 void SetLineDashing(unsigned lengthsCount, float* lengths, float offset = 0.0);
     5void SetLineDashing(float* lengths = nullptr, unsigned lengthsCount = 0, float offset = 0.0);
    66float LineDashOffset() const;
    77std::vector<float> LineDashLengths() const;
    88}}}
    99
     10''I do not know the preferred way of exchanging arrays, sorry.''
     11
    1012Note that lengthsCount has a compile-time limit of 32 in agg.
    11 
    12 ''I do not know the preferred way of exchanging arrays, sorry.''