Skip to content

Commit

Permalink
Make VImage operations that don't reference this static (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
lopcode authored Dec 20, 2024
1 parent 3111fd3 commit 69dba6d
Show file tree
Hide file tree
Showing 17 changed files with 1,480 additions and 1,020 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ repositories {
}

dependencies {
implementation("app.photofox.vips-ffm:vips-ffm-core:1.3.0")
implementation("app.photofox.vips-ffm:vips-ffm-core:1.4.0")
}
```
When running your project you must add `--enable-native-access=ALL-UNNAMED` to your JVM runtime arguments. If you
Expand Down
333 changes: 235 additions & 98 deletions core/src/main/java/app/photofox/vipsffm/VImage.java

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/allclasses-index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1110,7 +1110,7 @@ <h1 title="All Classes and Interfaces" class="title">All Classes and Interfaces<
</div>
<div class="col-first even-row-color all-classes-table all-classes-table-tab3"><a href="app.photofox.vipsffm/app/photofox/vipsffm/enums/VipsTextWrap.html" title="enum class in app.photofox.vipsffm.enums">VipsTextWrap</a></div>
<div class="col-last even-row-color all-classes-table all-classes-table-tab3">
<div class="block">Sets the word wrapping style for <a href="app.photofox.vipsffm/app/photofox/vipsffm/VImage.html#text(java.lang.String,app.photofox.vipsffm.VipsOption...)"><code>VImage.text(java.lang.String, app.photofox.vipsffm.VipsOption...)</code></a> when used with a maximum
<div class="block">Sets the word wrapping style for <a href="app.photofox.vipsffm/app/photofox/vipsffm/VImage.html#text(java.lang.foreign.Arena,java.lang.String,app.photofox.vipsffm.VipsOption...)"><code>VImage.text(java.lang.foreign.Arena, java.lang.String, app.photofox.vipsffm.VipsOption...)</code></a> when used with a maximum
width.</div>
</div>
<div class="col-first odd-row-color all-classes-table all-classes-table-tab2"><a href="app.photofox.vipsffm/app/photofox/vipsffm/jextract/VipsTypeMap2Fn.html" title="class in app.photofox.vipsffm.jextract">VipsTypeMap2Fn</a></div>
Expand Down
1,762 changes: 1,010 additions & 752 deletions docs/app.photofox.vipsffm/app/photofox/vipsffm/VImage.html

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ <h1 title="Enum Class VipsBlendMode" class="title">Enum Class VipsBlendMode</h1>
<div class="type-signature"><span class="modifiers">public enum </span><span class="element-name type-name-label">VipsBlendMode</span>
<span class="extends-implements">extends <a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Enum.html" title="class or interface in java.lang" class="external-link">Enum</a>&lt;<a href="VipsBlendMode.html" title="enum class in app.photofox.vipsffm.enums">VipsBlendMode</a>&gt;
implements <a href="../VNamedEnum.html" title="interface in app.photofox.vipsffm">VNamedEnum</a></span></div>
<div class="block"><p>The various Porter-Duff and PDF blend modes. See <a href="../VImage.html#composite(java.util.List,java.util.List,app.photofox.vipsffm.VipsOption...)"><code>VImage.composite(java.util.List&lt;app.photofox.vipsffm.VImage&gt;, java.util.List&lt;java.lang.Integer&gt;, app.photofox.vipsffm.VipsOption...)</code></a>,
<div class="block"><p>The various Porter-Duff and PDF blend modes. See <a href="../VImage.html#composite(java.lang.foreign.Arena,java.util.List,java.util.List,app.photofox.vipsffm.VipsOption...)"><code>VImage.composite(java.lang.foreign.Arena, java.util.List&lt;app.photofox.vipsffm.VImage&gt;, java.util.List&lt;java.lang.Integer&gt;, app.photofox.vipsffm.VipsOption...)</code></a>,
for example.</p>

<p>The Cairo docs have a nice explanation of all the blend modes:</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ <h1 title="Enum Class VipsSdfShape" class="title">Enum Class VipsSdfShape</h1>
implements <a href="../VNamedEnum.html" title="interface in app.photofox.vipsffm">VNamedEnum</a></span></div>
<div class="block"><p>The SDF to generate,</p>

<p>See also: <a href="../VImage.html#sdf(int,int,app.photofox.vipsffm.enums.VipsSdfShape,app.photofox.vipsffm.VipsOption...)"><code>VImage.sdf(int, int, app.photofox.vipsffm.enums.VipsSdfShape, app.photofox.vipsffm.VipsOption...)</code></a>.</p></div>
<p>See also: <a href="../VImage.html#sdf(java.lang.foreign.Arena,int,int,app.photofox.vipsffm.enums.VipsSdfShape,app.photofox.vipsffm.VipsOption...)"><code>VImage.sdf(java.lang.foreign.Arena, int, int, app.photofox.vipsffm.enums.VipsSdfShape, app.photofox.vipsffm.VipsOption...)</code></a>.</p></div>
</div>
</section>
<section class="summary">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ <h1 title="Enum Class VipsSize" class="title">Enum Class VipsSize</h1>
<div class="block"><p>Controls whether an operation should upsize, downsize, both up and
downsize, or force a size.</p>

<p>See also: <a href="../VImage.html#thumbnail(java.lang.String,int,app.photofox.vipsffm.VipsOption...)"><code>VImage.thumbnail(java.lang.String, int, app.photofox.vipsffm.VipsOption...)</code></a>.</p></div>
<p>See also: <a href="../VImage.html#thumbnail(java.lang.foreign.Arena,java.lang.String,int,app.photofox.vipsffm.VipsOption...)"><code>VImage.thumbnail(java.lang.foreign.Arena, java.lang.String, int, app.photofox.vipsffm.VipsOption...)</code></a>.</p></div>
</div>
</section>
<section class="summary">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,10 @@ <h1 title="Enum Class VipsTextWrap" class="title">Enum Class VipsTextWrap</h1>
<div class="type-signature"><span class="modifiers">public enum </span><span class="element-name type-name-label">VipsTextWrap</span>
<span class="extends-implements">extends <a href="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/Enum.html" title="class or interface in java.lang" class="external-link">Enum</a>&lt;<a href="VipsTextWrap.html" title="enum class in app.photofox.vipsffm.enums">VipsTextWrap</a>&gt;
implements <a href="../VNamedEnum.html" title="interface in app.photofox.vipsffm">VNamedEnum</a></span></div>
<div class="block"><p>Sets the word wrapping style for <a href="../VImage.html#text(java.lang.String,app.photofox.vipsffm.VipsOption...)"><code>VImage.text(java.lang.String, app.photofox.vipsffm.VipsOption...)</code></a> when used with a maximum
<div class="block"><p>Sets the word wrapping style for <a href="../VImage.html#text(java.lang.foreign.Arena,java.lang.String,app.photofox.vipsffm.VipsOption...)"><code>VImage.text(java.lang.foreign.Arena, java.lang.String, app.photofox.vipsffm.VipsOption...)</code></a> when used with a maximum
width.</p>

<p>See also: <a href="../VImage.html#text(java.lang.String,app.photofox.vipsffm.VipsOption...)"><code>VImage.text(java.lang.String, app.photofox.vipsffm.VipsOption...)</code></a>.</p></div>
<p>See also: <a href="../VImage.html#text(java.lang.foreign.Arena,java.lang.String,app.photofox.vipsffm.VipsOption...)"><code>VImage.text(java.lang.foreign.Arena, java.lang.String, app.photofox.vipsffm.VipsOption...)</code></a>.</p></div>
</div>
</section>
<section class="summary">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ <h1 title="Package app.photofox.vipsffm.enums" class="title">Package app.photofo
</div>
<div class="col-first even-row-color class-summary class-summary-tab3"><a href="VipsTextWrap.html" title="enum class in app.photofox.vipsffm.enums">VipsTextWrap</a></div>
<div class="col-last even-row-color class-summary class-summary-tab3">
<div class="block">Sets the word wrapping style for <a href="../VImage.html#text(java.lang.String,app.photofox.vipsffm.VipsOption...)"><code>VImage.text(java.lang.String, app.photofox.vipsffm.VipsOption...)</code></a> when used with a maximum
<div class="block">Sets the word wrapping style for <a href="../VImage.html#text(java.lang.foreign.Arena,java.lang.String,app.photofox.vipsffm.VipsOption...)"><code>VImage.text(java.lang.foreign.Arena, java.lang.String, app.photofox.vipsffm.VipsOption...)</code></a> when used with a maximum
width.</div>
</div>
</div>
Expand Down
Loading

0 comments on commit 69dba6d

Please sign in to comment.