File tree Expand file tree Collapse file tree
src/main/java/org/freedesktop/cairo Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ public UserScaledFont(MemorySegment address) {
7777 public Pattern getForegroundMarker () {
7878 try {
7979 MemorySegment result = (MemorySegment ) cairo_user_scaled_font_get_foreground_marker .invoke (handle ());
80- return new Pattern . PatternImpl (result );
80+ return new Pattern (result );
8181 } catch (Throwable e ) {
8282 throw new RuntimeException (e );
8383 }
@@ -122,7 +122,7 @@ public Pattern getForegroundMarker() {
122122 public Pattern getForegroundSource () {
123123 try {
124124 MemorySegment result = (MemorySegment ) cairo_user_scaled_font_get_foreground_source .invoke (handle ());
125- return new Pattern . PatternImpl (result );
125+ return new Pattern (result );
126126 } catch (Throwable e ) {
127127 throw new RuntimeException (e );
128128 }
You can’t perform that action at this time.
0 commit comments