RError.com

RError.com Logo RError.com Logo

RError.com Navigation

  • 主页

Mobile menu

Close
  • 主页
  • 系统&网络
    • 热门问题
    • 最新问题
    • 标签
  • Ubuntu
    • 热门问题
    • 最新问题
    • 标签
  • 帮助
主页 / 问题

问题[inkscape]

Martin Hope
Dmitrii
Asked: 2024-08-01 01:30:24 +0000 UTC

将一个对象相对于另一个对象对齐

  • 6

关于 Inkscape 软件、创建和编辑 svg 文件的问题

假设有两个圆圈,一大一小。或者一个大圆圈和文字。大圆圈并不位于画布的中心。

我将小圆圈(对象或文本)转移到大圆圈。

如何将它相对于一个大圆,即相对于另一个对象对齐。将小圆圈放在大圆圈的中心?

第二个问题,我有一个 svg 文件。它包含两个对象(补丁)。我可以为每个对象设置不同的颜色......

我可以将轮廓合并在一起,输出将是一个补丁。

当输出为一个(补丁)时,它包含 2 个组合对象,假设一个在另一个之上。是否可以设置,如果不在 html 中,则在 Inkscape 中设置。为每个设置不同的颜色,前提是画布是透明的?

如果我没记错的话,将一个物体切割成一个物体是可能的,这被称为差异。然后顶部的轮廓将是透明的,因为画布也是透明的。情况不会是这样...

inkscape
  • 1 个回答
  • 16 Views
Martin Hope
Дмитрий Варзанов
Asked: 2022-07-02 04:37:16 +0000 UTC

固定弯曲

  • 1

在此处输入图像描述

<svg width='100px'
   viewBox="0 0 10 10"
   inkscape:version="1.1.2 (b8e25be833, 2022-02-05)"
   sodipodi:docname="рисунок-6.svg"
   version="1.1"
   id="svg109101"
   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
   xmlns="http://www.w3.org/2000/svg"
   xmlns:svg="http://www.w3.org/2000/svg">
  <sodipodi:namedview
     id="namedview7"
     pagecolor="#ffffff"
     bordercolor="#666666"
     borderopacity="1.0"
     inkscape:pageshadow="2"
     inkscape:pageopacity="0.0"
     inkscape:pagecheckerboard="0"
     inkscape:document-units="px"
     showgrid="false"
     inkscape:zoom="256"
     inkscape:cx="4.859375"
     inkscape:cy="4.9003906"
     inkscape:window-width="2560"
     inkscape:window-height="1018"
     inkscape:window-x="-8"
     inkscape:window-y="-8"
     inkscape:window-maximized="1"
     fit-margin-top="0"
     fit-margin-left="0"
     fit-margin-right="0"
     fit-margin-bottom="0"
     showguides="true"
     inkscape:guide-bbox="true"
     lock-margins="true"
     inkscape:lockguides="true"
     width="10px">
    <sodipodi:guide
       position="8.4561891,21.956885"
       orientation="0,-1"
       id="guide104385" />
    <sodipodi:guide
       position="3.3824757,9.9401947"
       orientation="0,-1"
       id="guide104395" />
    <sodipodi:guide
       position="1.6683301,5.0060584"
       orientation="0,-1"
       id="guide107240" />
    <sodipodi:guide
       position="4.9939416,8.5415923"
       orientation="1,0"
       id="guide107242" />
    <sodipodi:guide
       position="4.0548154,8.5084466"
       orientation="0,-1"
       id="guide107293" />
    <sodipodi:guide
       position="1.5026019,7.2378641"
       orientation="1,0"
       id="guide107295" />
    <sodipodi:guide
       position="5.4800775,1.5036701"
       orientation="0,-1"
       id="guide107297" />
    <sodipodi:guide
       position="8.4963299,4.7519419"
       orientation="1,0"
       id="guide107388" />
    <sodipodi:guide
       position="4.6072426,6.0225244"
       orientation="1,0"
       id="guide107555" />
    <sodipodi:guide
       position="5.4027377,6.177204"
       orientation="1,0"
       id="guide107557" />
    <sodipodi:guide
       position="4.9939416,5.4038059"
       orientation="0,-1"
       id="guide107559" />
    <sodipodi:guide
       position="5.4027377,4.5972623"
       orientation="0,-1"
       id="guide107561" />
  </sodipodi:namedview>
  <defs
     id="defs109096" />
  <ellipse
     style="fill:#ff0000"
     id="path107436"
     cx="4.9994659"
     cy="4.9939418"
     rx="3.4968641"
     ry="3.5023882" />
  <rect
     style="fill:#ffffff"
     id="rect108750"
     width="0.79549509"
     height="2.9389126"
     x="4.6072426"
     y="2.4638252"
     ry="0.39774755" />
  <rect
     style="fill:#ffffff"
     id="rect108752"
     width="0.79549503"
     height="2.2649515"
     x="-0.51424509"
     y="6.78125"
     ry="0.39774755"
     transform="rotate(-45)" />
</svg>

我画了我的第一个图标。唯一的问题是如何纠正这种弯曲,使其不会超出线条的边界。

让我们总共勾勒出两个图形,好的,但要固定它,使弯曲不突出并且光滑。也就是说,具有相似的半径,它不起作用。它要么是曲线,要么是弯曲的半径,要么是突出的......

svg inkscape
  • 1 个回答
  • 27 Views
Martin Hope
Дмитрий Варзанов
Asked: 2022-07-02 03:02:59 +0000 UTC

Inkscape - 按 x 和 y 布局

  • 1

在此处输入图像描述

怎么可能使它在 x 中在 y 中。计数是从零开始的吗?

我试图用这些线条在中心制作一个均匀的圆圈,依此类推。是嚼...

是否可以不设置 Viewbox?不管有没有他更好,我不太明白他的角色……

svg inkscape
  • 1 个回答
  • 64 Views

Sidebar

Stats

  • 问题 10021
  • Answers 30001
  • 最佳答案 8000
  • 用户 6900
  • 常问
  • 回答
  • Marko Smith

    我看不懂措辞

    • 1 个回答
  • Marko Smith

    请求的模块“del”不提供名为“default”的导出

    • 3 个回答
  • Marko Smith

    "!+tab" 在 HTML 的 vs 代码中不起作用

    • 5 个回答
  • Marko Smith

    我正在尝试解决“猜词”的问题。Python

    • 2 个回答
  • Marko Smith

    可以使用哪些命令将当前指针移动到指定的提交而不更改工作目录中的文件?

    • 1 个回答
  • Marko Smith

    Python解析野莓

    • 1 个回答
  • Marko Smith

    问题:“警告:检查最新版本的 pip 时出错。”

    • 2 个回答
  • Marko Smith

    帮助编写一个用值填充变量的循环。解决这个问题

    • 2 个回答
  • Marko Smith

    尽管依赖数组为空,但在渲染上调用了 2 次 useEffect

    • 2 个回答
  • Marko Smith

    数据不通过 Telegram.WebApp.sendData 发送

    • 1 个回答
  • Martin Hope
    Alexandr_TT 2020年新年大赛! 2020-12-20 18:20:21 +0000 UTC
  • Martin Hope
    Alexandr_TT 圣诞树动画 2020-12-23 00:38:08 +0000 UTC
  • Martin Hope
    Air 究竟是什么标识了网站访问者? 2020-11-03 15:49:20 +0000 UTC
  • Martin Hope
    Qwertiy 号码显示 9223372036854775807 2020-07-11 18:16:49 +0000 UTC
  • Martin Hope
    user216109 如何为黑客设下陷阱,或充分击退攻击? 2020-05-10 02:22:52 +0000 UTC
  • Martin Hope
    Qwertiy 并变成3个无穷大 2020-11-06 07:15:57 +0000 UTC
  • Martin Hope
    koks_rs 什么是样板代码? 2020-10-27 15:43:19 +0000 UTC
  • Martin Hope
    Sirop4ik 向 git 提交发布的正确方法是什么? 2020-10-05 00:02:00 +0000 UTC
  • Martin Hope
    faoxis 为什么在这么多示例中函数都称为 foo? 2020-08-15 04:42:49 +0000 UTC
  • Martin Hope
    Pavel Mayorov 如何从事件或回调函数中返回值?或者至少等他们完成。 2020-08-11 16:49:28 +0000 UTC

热门标签

javascript python java php c# c++ html android jquery mysql

Explore

  • 主页
  • 问题
    • 热门问题
    • 最新问题
  • 标签
  • 帮助

Footer

RError.com

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

帮助

© 2023 RError.com All Rights Reserve   沪ICP备12040472号-5