惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

aimingoo的专栏
aimingoo的专栏
量子位
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
S
Schneier on Security
Cisco Talos Blog
Cisco Talos Blog
T
ThreatConnect
J
Java Code Geeks
博客园 - 司徒正美
A
Arctic Wolf
T
True Tiger Recordings
C
Cybersecurity and Infrastructure Security Agency CISA
Cyberwarzone
Cyberwarzone
Know Your Adversary
Know Your Adversary
T
Threat Research - Cisco Blogs
V
Vulnerabilities – Threatpost
Recorded Future
Recorded Future
P
Palo Alto Networks Blog
The Hacker News
The Hacker News
The Register - Security
The Register - Security
S
Securelist
www.infosecurity-magazine.com
www.infosecurity-magazine.com
C
CXSECURITY Database RSS Feed - CXSecurity.com
Application and Cybersecurity Blog
Application and Cybersecurity Blog
I
Intezer
P
Privacy & Cybersecurity Law Blog
Scott Helme
Scott Helme
K
Kaspersky official blog
博客园 - 聂微东
Last Week in AI
Last Week in AI
V
V2EX
小众软件
小众软件
F
Fox-IT International blog
Martin Fowler
Martin Fowler
Apple Machine Learning Research
Apple Machine Learning Research
T
Tenable Blog
F
Future of Privacy Forum
Microsoft Security Blog
Microsoft Security Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
腾讯CDC
Stack Overflow Blog
Stack Overflow Blog
C
Check Point Blog
阮一峰的网络日志
阮一峰的网络日志
GbyAI
GbyAI
T
Threatpost
I
InfoQ
P
Proofpoint News Feed
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
T
Tor Project blog
G
GRAHAM CLULEY
D
DataBreaches.Net

Martin Owens activity

voronoi.py: remove plot(1) output (!729) · Merge requests · Inkscape / extensions · GitLab Tiling LPE gaps are not exported correctly to PDF (#6157) · Issues · Inkscape / inkscape · GitLab Nudge RGB/CMYK on the correct axis (!7937) · Merge requests · Inkscape / inkscape · GitLab 1.5-dev Filter Gallery crash selecting certain categories (#6058) · Issues · Inkscape / inkscape · GitLab Fix crash when opening Filter Gallery (19a79497) · Commits · Inkscape / inkscape · GitLab Fix crash when opening Filter Gallery (!7935) · Merge requests · Inkscape / inkscape · GitLab Make saving imported raster images work again (!7933) · Merge requests · Inkscape / inkscape · GitLab Backport (1.4.x): Fix objects dialog search crash with clones (!7934) · Merge requests · Inkscape / inkscape · GitLab Zoom by holding Ctrl and MMB while moving the mouse (!7256) · Merge requests · Inkscape / inkscape · GitLab Color Spaces in Fill and Stroke Dialog (#341) · Issues · Inkscape / Inkscape UX · GitLab 21e10c7eb01a8b665cd2c653de89f1ba0e92a779 to 13c3171d9f526758e09f1ff125e8e6a48ee05b2f · Martin Owens / inkscape · GitLab Only define _FORTIFY_SOURCE when not in Debug mode (!7930) · Merge requests · Inkscape / inkscape · GitLab GTK4: Cannot click font family suggestions (#12368) · Issues · Inkscape / Inbox · GitLab 562456bee44cb91eef00b525d6ca7240ff55e7be to 363d64592b1164bc440dc47b7a770ab308755139 · Inkscape / inkscape · GitLab 8e8c93dea11e4463176bfaac2c8cbb0bf0b9d96f to 363d64592b1164bc440dc47b7a770ab308755139 · Martin Owens / inkscape · GitLab bed7d29952187d534537045a9c4e4a6347d1de30 to 21e10c7eb01a8b665cd2c653de89f1ba0e92a779 · Martin Owens / inkscape · GitLab Allow color conversions using static arrays instead of just vectors (8e8c93de) · Commits · Martin Owens / inkscape · GitLab 9a120ebab5f21415bdb6aff14a9f962150021563 to 1083873cafc9bdb58461a8f3f3c196bb61cf99d9 · Martin Owens / inkscape · GitLab 4c68ca6a7a32c114303dfbd9fd04e881f36cfa94 to bed7d29952187d534537045a9c4e4a6347d1de30 · Martin Owens / inkscape · GitLab Allow color conversions using static arrays instead of just vectors (9a120eba) · Commits · Martin Owens / inkscape · GitLab Fix "live preview" of extensions from losing selection (!7928) · Merge requests · Inkscape / inkscape · GitLab dd1cf0272f1efc11aaf062f39be46227fac972d8 to 4c68ca6a7a32c114303dfbd9fd04e881f36cfa94 · Martin Owens / inkscape · GitLab Martin Owens pushed to project branch color-api-rendering-changes at Martin Owens / inkscape [Cairo PDF Exporter] Opacity breaks links on PDF export (#6052) · Issues · Inkscape / inkscape · GitLab Adding Automatic Alignment to the Align and Distribute Dialog (#198) · Issues · Inkscape / Inkscape UX · GitLab Snapping UI overhaul, part 1: Document properties (#133) · Issues · Inkscape / Inkscape UX · GitLab Inkscape can't render glyphs from a font (#6093) · Issues · Inkscape / inkscape · GitLab Commits · add-effect-with-prefs · Martin Owens / inkscape · GitLab Add effect runner which accepts Variant dictionary arguments (!7925) · Merge requests · Inkscape / inkscape · GitLab Martin Owens deleted project branch average-color-divide at Inkscape / inkscape Fix divide-by-zero crash when using calligraphy tool (d34276f8) · Commits · Inkscape / inkscape · GitLab 1.5-dev: Calligraphy tool, Tracing preset -- Crash (#6098) · Issues · Inkscape / inkscape · GitLab Fix divide-by-zero crash when using calligraphy tool (!7923) · Merge requests · Inkscape / inkscape · GitLab Add selection file to bypass Windows command length limits (correction) (865df7a5) · Commits · Inkscape / inkscape · GitLab Draft: Fix AppImage crashing during save on older distros (!7922) · Merge requests · Inkscape / inkscape · GitLab Martin Owens pushed to project branch color-api-rendering-changes at Martin Owens / inkscape e71fa7f8e0858aab87b7fc0814a30a8c88da9b43 to fe225a6b9e1042c7221d95173be22a02b3725337 · Martin Owens / inkscape · GitLab 403 Forbidden on Inkscape web server (#693) · Issues · Inkscape / inkscape-web · GitLab 403 Forbidden on Inkscape web server (#13509) · Issues · Inkscape / Inbox · GitLab Add selection file to bypass Windows command length limits (correction) (!7917) · 合并请求 · Inkscape / inkscape · GitLab Non-vertical axonometric axis implementation (!7912) · Merge requests · Inkscape / inkscape · GitLab Update split mode on tab switch (!7915) · 合并请求 · Inkscape / inkscape · GitLab inset/offset as app functions so they can be used from CLI (!7914) · Merge requests · Inkscape / inkscape · GitLab Performace regresion in last month (#5879) · Issues · Inkscape / inkscape · GitLab [Regression] Right-aligned text has a new gap in 1.4.4 (#6130) · Issues · Inkscape / inkscape · GitLab [Regression] Right-aligned text has a new gap in 1.4.4 (#13498) · Issues · Inkscape / Inbox · GitLab c503804e014994d611de1b225bee8158c06448a8 to a4588d8ead1e7049b90c5a126962746ed286ab17 · Inkscape / inkscape-web · GitLab Validate the extensions of signature file uploads (a4588d8e) · 提交 · Inkscape / inkscape-web · GitLab Allow color conversions using static arrays instead of just vectors (e71fa7f8) · 提交 · Martin Owens / inkscape · GitLab Speed up ungroup on thousands of items (!7908) · Merge requests · Inkscape / inkscape · GitLab Incorrect handling of FontMatrix and transformation matrices with internal PDF import (#4845) · Issues · Inkscape / inkscape · GitLab Handling edge case of negative fonts in PDF (59040229) · 提交 · Inkscape / inkscape · GitLab Handling edge case of negative fonts in PDF (!7911) · 合并请求 · Inkscape / inkscape · GitLab Martin Owens pushed to project branch color-api-rendering-changes at Martin Owens / inkscape Martin Owens pushed to project branch color-api-rendering-changes at Martin Owens / inkscape a9672ea1dff483b5b3aa8c6b5d88cd223001bef5 to 512a5e57602ac52e1d35782a7dcebae04262b2b8 · Martin Owens / inkscape · GitLab Add selection file to bypass Windows command length limits (!7905) · 合并请求 · Inkscape / inkscape · GitLab Revert Pango label changes (1.4.x) (!7907) · 合并请求 · Inkscape / inkscape · GitLab Crash on selecting a `<text>` object without a `<tspan>` inside (#5462) · Issues · Inkscape / inkscape · GitLab Fix breakage with Ubuntu 26.04 CI (!7904) · 合并请求 · Inkscape / inkscape · GitLab c673fdd5148253276826d4eda3951daaefb82607 to 356b31383ba324396a225686613236484305533d · Martin Owens / inkscape · GitLab Revert Text tool cursor changes (1.4.x) (!7903) · 合并请求 · Inkscape / inkscape · GitLab Add selection file to bypass Windows command length limits (c8da6484) · 提交 · Inkscape / inkscape · GitLab Add new simplifyInvisible path manipulator function (e15296e3) · 提交 · Martin Owens / inkscape · GitLab Add new simplifyInvisible path manipulator function (!7902) · 合并请求 · Inkscape / inkscape · GitLab 提交 · weld-nodes-if-tiny · Martin Owens / inkscape · GitLab Update PDF version string to 2.0 (!7901) · 合并请求 · Inkscape / inkscape · GitLab Fix TypeError in replace_font.py (!726) · 合并请求 · Inkscape / extensions · GitLab Remove "using namespace Inkscape" in style-internal.h (!7731) · 合并请求 · Inkscape / inkscape · GitLab Fix color_negative.py for HSL colors (!725) · 合并请求 · Inkscape / extensions · GitLab Add selection file to bypass Windows command length limits (2626d26b) · 提交 · Inkscape / extensions · GitLab Extensions fail with too many items selected in Windows (#2627) · Issues · Inkscape / inkscape · GitLab Joining points not working (#5540) · Issues · Inkscape / Inbox · GitLab Add argument file to bypass Windows command length limits (!7899) · 合并请求 · Inkscape / inkscape · GitLab Add selection file to bypass Windows command length limits (!724) · 合并请求 · Inkscape / extensions · GitLab 4f05fa82847e7798338aa8db1aab21acfe0f7455 to 3bbc78baaee71371d7e6e3a14c59f554b1d9929b · Inkscape / Inbox · GitLab Fix PlantUML syntax (!7) · 合并请求 · Inkscape / Inbox · GitLab Apply 1 suggestion(s) to 1 file(s) (ccd43fd7) · 提交 · Inkscape / Inbox · GitLab Add editing issues advice (!8) · 合并请求 · Inkscape / Inbox · GitLab 提交 · doctormo-master-patch-44578 · Inkscape / Inbox · GitLab Martin Owens pushed to project branch add-text-to-path-and-shape at Martin Owens / inkscape Converge canvas item text rendering to one place (!7895) · 合并请求 · Inkscape / inkscape · GitLab New UX for text in shape and text in path (20ad9dae) · 提交 · Martin Owens / inkscape · GitLab 1.5-dev: Page labels overflow on Windows (#13460) · Issues · Inkscape / Inbox · GitLab 1.5-dev: Page labels overflow on Windows (#6121) · Issues · Inkscape / inkscape · GitLab Stop cursor from blinking when defocused, take 3 (1.4.x) (!7896) · 合并请求 · Inkscape / inkscape · GitLab New UX for text in shape and text in path (dabd763c) · Commits · Martin Owens / inkscape · GitLab e93c9eb034a1b744ef1a16889e588965057f13a1 to cc89121ffe961f34351888f9dcaacd8b68fc2f1f · Martin Owens / inkscape · GitLab Update Color API preparing for new Rendering Engine (!7894) · Merge requests · Inkscape / inkscape · GitLab Commits · color-api-rendering-changes · Martin Owens / inkscape · GitLab 4fad4dca7c8c63a60f68bf796b4cf1abdebb5f90 to dd1cf0272f1efc11aaf062f39be46227fac972d8 · Martin Owens / inkscape · GitLab Stop cursor from blinking when defocused, take 2 (1.4.x) (!7893) · Merge requests · Inkscape / inkscape · GitLab Martin Owens approved merge request !7692: Backport &quot;Handle text with different lang across tspans&quot; to 1.4.x at Inkscape / inkscape Martin Owens approved merge request !7891: Switch PangoCairo rendering backend to Fontconfig (1.4.x) at Inkscape / inkscape Speed up drawing cache insert (1.4.x) (!7889) · Merge requests · Inkscape / inkscape · GitLab Martin Owens approved merge request !7888: Cherry-pick | Fix crash while using maximum scans in trace dialog at Inkscape / inkscape Martin Owens commented on merge request !7884 at Inkscape / inkscape Display Mode: Toggle Preview (Instead of Quick Preview) does not work (#5650) · Issues · Inkscape / inkscape · GitLab Martin Owens approved merge request !7882: Switch PangoCairo rendering backend to Fontconfig at Inkscape / inkscape Martin Owens commented on issue #5036 at Inkscape / inkscape
voronoi.py: remove plot(1) output (eb017f7f) · Commits · Inkscape / extensions · GitLab
Martin Owens · 2026-05-26 · via Martin Owens activity
+5 −16
Original line number Diff line number Diff line
@@ -55,9 +55,6 @@ Other options include:

d    Print debugging info

p    Produce output suitable for input to plot (1), rather than the forms
     described above.

On unsorted data uniformly distributed in the unit square, voronoi uses about
20n+140 bytes of storage.

@@ -132,7 +129,6 @@ class Context(object):
    def __init__(self):
        self.doPrint = 0
        self.debug = 0
        self.plot = 0
        self.triangulate = False
        self.vertices = []  # list of vertex 2-tuples: (x,y)
        self.lines = []  # equation of line 3-tuple (a b c), for the equation of the line a*x+b*y = c
@@ -153,8 +149,6 @@ class Context(object):
            print("site (%d) at %f %f" % (s.sitenum, s.x, s.y))
        elif self.triangulate:
            pass
        elif self.plot:
            self.circle(s.x, s.y, cradius)
        elif self.doPrint:
            print("s %f %f" % (s.x, s.y))

@@ -164,7 +158,7 @@ class Context(object):
            print("vertex(%d) at %f %f" % (s.sitenum, s.x, s.y))
        elif self.triangulate:
            pass
        elif self.doPrint and not self.plot:
        elif self.doPrint:
            print("v %f %f" % (s.x, s.y))

    def outTriple(self, s1, s2, s3):
@@ -174,7 +168,7 @@ class Context(object):
                "circle through left=%d right=%d bottom=%d"
                % (s1.sitenum, s2.sitenum, s3.sitenum)
            )
        elif self.triangulate and self.doPrint and not self.plot:
        elif self.triangulate and self.doPrint:
            print("%d %d %d" % (s1.sitenum, s2.sitenum, s3.sitenum))

    def outBisector(self, edge):
@@ -192,9 +186,8 @@ class Context(object):
                )
            )
        elif self.triangulate:
            if self.plot:
                self.line(edge.reg[0].x, edge.reg[0].y, edge.reg[1].x, edge.reg[1].y)
        elif self.doPrint and not self.plot:
            pass
        elif self.doPrint:
            print("l %f %f %f" % (edge.a, edge.b, edge.c))

    def outEdge(self, edge):
@@ -206,9 +199,7 @@ class Context(object):
            sitenumR = edge.ep[Edge.RE].sitenum
        self.edges.append((edge.edgenum, sitenumL, sitenumR))
        if not self.triangulate:
            if self.plot:
                self.clip_line(edge)
            elif self.doPrint:
            if self.doPrint:
                print("e %d" % edge.edgenum, end=" ")
                print(" %d " % sitenumL, end=" ")
                print("%d" % sitenumR)
@@ -832,8 +823,6 @@ if __name__ == "__main__":
    for opt in optlist:
        if opt[0] == "-d":
            c.debug = 1
        if opt[0] == "-p":
            c.plot = 1
        if opt[0] == "-t":
            c.triangulate = 1
        if opt[0] == "-h":