Unverified Commit fec9edc4 authored by Oleksandr Karpovich's avatar Oleksandr Karpovich Committed by GitHub

remove comment `// This file has been auto generated.` (#523)

closes #521
Co-authored-by: 's avatarOleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
parent e28b5fea
// This file has been auto generated.
#include "SkBitmap.h" #include "SkBitmap.h"
#include "SkPixelRef.h" #include "SkPixelRef.h"
#include "SkSamplingOptions.h" #include "SkSamplingOptions.h"
......
// This file has been auto generated.
#include "unicode/ubrk.h" #include "unicode/ubrk.h"
#include "common.h" #include "common.h"
#include <iostream> #include <iostream>
...@@ -30,7 +27,7 @@ SKIKO_EXPORT KNativePointer org_jetbrains_skia_BreakIterator__1nMake ...@@ -30,7 +27,7 @@ SKIKO_EXPORT KNativePointer org_jetbrains_skia_BreakIterator__1nMake
else else
return reinterpret_cast<KNativePointer>(instance); return reinterpret_cast<KNativePointer>(instance);
} }
SKIKO_EXPORT KNativePointer org_jetbrains_skia_BreakIterator__1nClone SKIKO_EXPORT KNativePointer org_jetbrains_skia_BreakIterator__1nClone
(KNativePointer ptr, KInt* errorCode) { (KNativePointer ptr, KInt* errorCode) {
...@@ -101,8 +98,8 @@ SKIKO_EXPORT KInt org_jetbrains_skia_BreakIterator__1nGetRuleStatus ...@@ -101,8 +98,8 @@ SKIKO_EXPORT KInt org_jetbrains_skia_BreakIterator__1nGetRuleStatus
} }
#if 0 #if 0
SKIKO_EXPORT KInt* org_jetbrains_skia_BreakIterator__1nGetRuleStatuses SKIKO_EXPORT KInt* org_jetbrains_skia_BreakIterator__1nGetRuleStatuses
(KNativePointer ptr) { (KNativePointer ptr) {
UBreakIterator* instance = reinterpret_cast<UBreakIterator*>(ptr); UBreakIterator* instance = reinterpret_cast<UBreakIterator*>(ptr);
......
// This file has been auto generated.
#include <iostream> #include <iostream>
#include "SkCanvas.h" #include "SkCanvas.h"
#include "SkRRect.h" #include "SkRRect.h"
......
// This file has been auto generated.
#include <iostream> #include <iostream>
#include "SkBitmap.h" #include "SkBitmap.h"
#include "SkCodec.h" #include "SkCodec.h"
......
// This file has been auto generated.
#include <iostream> #include <iostream>
#include "SkColorFilter.h" #include "SkColorFilter.h"
#include "SkColorMatrixFilter.h" #include "SkColorMatrixFilter.h"
...@@ -91,7 +88,7 @@ SKIKO_EXPORT KNativePointer org_jetbrains_skia_ColorFilter__1nMakeTableARGB ...@@ -91,7 +88,7 @@ SKIKO_EXPORT KNativePointer org_jetbrains_skia_ColorFilter__1nMakeTableARGB
reinterpret_cast<uint8_t*>(g), reinterpret_cast<uint8_t*>(g),
reinterpret_cast<uint8_t*>(b) reinterpret_cast<uint8_t*>(b)
).release(); ).release();
return reinterpret_cast<KNativePointer>(ptr); return reinterpret_cast<KNativePointer>(ptr);
} }
......
// This file has been auto generated.
#include <iostream> #include <iostream>
#include "SkColorSpace.h" #include "SkColorSpace.h"
#include "common.h" #include "common.h"
......
// This file has been auto generated.
#include "SkImageInfo.h" #include "SkImageInfo.h"
#include "common.h" #include "common.h"
......
// This file has been auto generated.
#include "SkData.h" #include "SkData.h"
#include "common.h" #include "common.h"
......
// This file has been auto generated.
#include "GrDirectContext.h" #include "GrDirectContext.h"
#include "include/gpu/gl/GrGLInterface.h" #include "include/gpu/gl/GrGLInterface.h"
#include "common.h" #include "common.h"
......
// This file has been auto generated.
#include <iostream> #include <iostream>
#include "SkDrawable.h" #include "SkDrawable.h"
#include "common.h" #include "common.h"
......
// This file has been auto generated.
#include <iostream> #include <iostream>
#include "SkFont.h" #include "SkFont.h"
#include "SkPath.h" #include "SkPath.h"
......
// This file has been auto generated.
#include <iostream> #include <iostream>
#include "SkData.h" #include "SkData.h"
#include "SkTypeface.h" #include "SkTypeface.h"
...@@ -61,7 +58,7 @@ SKIKO_EXPORT KNativePointer org_jetbrains_skia_FontMgr__1nMatchFamilyStyleCharac ...@@ -61,7 +58,7 @@ SKIKO_EXPORT KNativePointer org_jetbrains_skia_FontMgr__1nMatchFamilyStyleCharac
return reinterpret_cast<KNativePointer>(typeface); return reinterpret_cast<KNativePointer>(typeface);
} }
SKIKO_EXPORT KNativePointer org_jetbrains_skia_FontMgr__1nMakeFromData SKIKO_EXPORT KNativePointer org_jetbrains_skia_FontMgr__1nMakeFromData
(KNativePointer ptr, KNativePointer dataPtr, KInt ttcIndex) { (KNativePointer ptr, KNativePointer dataPtr, KInt ttcIndex) {
SkFontMgr* instance = reinterpret_cast<SkFontMgr*>((ptr)); SkFontMgr* instance = reinterpret_cast<SkFontMgr*>((ptr));
......
// This file has been auto generated.
#include <iostream> #include <iostream>
#include "SkTypeface.h" #include "SkTypeface.h"
#include "SkFontMgr.h" #include "SkFontMgr.h"
...@@ -34,7 +31,7 @@ SKIKO_EXPORT KInteropPointer org_jetbrains_skia_FontStyleSet__1nGetStyleName ...@@ -34,7 +31,7 @@ SKIKO_EXPORT KInteropPointer org_jetbrains_skia_FontStyleSet__1nGetStyleName
instance->getStyle(index, nullptr, &style); instance->getStyle(index, nullptr, &style);
return new SkString(style); return new SkString(style);
} }
SKIKO_EXPORT KNativePointer org_jetbrains_skia_FontStyleSet__1nGetTypeface SKIKO_EXPORT KNativePointer org_jetbrains_skia_FontStyleSet__1nGetTypeface
(KNativePointer ptr, KInt index) { (KNativePointer ptr, KInt index) {
SkFontStyleSet* instance = reinterpret_cast<SkFontStyleSet*>((ptr)); SkFontStyleSet* instance = reinterpret_cast<SkFontStyleSet*>((ptr));
...@@ -47,4 +44,4 @@ SKIKO_EXPORT KNativePointer org_jetbrains_skia_FontStyleSet__1nMatchStyle ...@@ -47,4 +44,4 @@ SKIKO_EXPORT KNativePointer org_jetbrains_skia_FontStyleSet__1nMatchStyle
SkFontStyleSet* instance = reinterpret_cast<SkFontStyleSet*>((ptr)); SkFontStyleSet* instance = reinterpret_cast<SkFontStyleSet*>((ptr));
SkTypeface* typeface = instance->matchStyle(skija::FontStyle::fromKotlin(fontStyle)); SkTypeface* typeface = instance->matchStyle(skija::FontStyle::fromKotlin(fontStyle));
return reinterpret_cast<KNativePointer>(typeface); return reinterpret_cast<KNativePointer>(typeface);
} }
\ No newline at end of file
// This file has been auto generated.
#include <iostream> #include <iostream>
#include "SkData.h" #include "SkData.h"
#include "SkImage.h" #include "SkImage.h"
......
// This file has been auto generated.
#include <iostream> #include <iostream>
#include "SkColorFilter.h" #include "SkColorFilter.h"
#include "SkImageFilter.h" #include "SkImageFilter.h"
......
// This file has been auto generated.
#include "SkString.h" #include "SkString.h"
#include "common.h" #include "common.h"
#include "mppinterop.h" #include "mppinterop.h"
......
// This file has been auto generated.
#include <iostream> #include <iostream>
#include "SkMaskFilter.h" #include "SkMaskFilter.h"
#include "SkShader.h" #include "SkShader.h"
......
// This file has been auto generated.
#include <iostream> #include <iostream>
#include "SkStream.h" #include "SkStream.h"
#include "common.h" #include "common.h"
...@@ -10,8 +7,8 @@ SKIKO_EXPORT KNativePointer org_jetbrains_skia_OutputWStream__1nGetFinalizer ...@@ -10,8 +7,8 @@ SKIKO_EXPORT KNativePointer org_jetbrains_skia_OutputWStream__1nGetFinalizer
() { () {
TODO("implement org_jetbrains_skia_OutputWStream__1nGetFinalizer"); TODO("implement org_jetbrains_skia_OutputWStream__1nGetFinalizer");
} }
#if 0 #if 0
SKIKO_EXPORT KNativePointer org_jetbrains_skia_OutputWStream__1nGetFinalizer SKIKO_EXPORT KNativePointer org_jetbrains_skia_OutputWStream__1nGetFinalizer
() { () {
return reinterpret_cast<KNativePointer>((&deleteOutputWStream)); return reinterpret_cast<KNativePointer>((&deleteOutputWStream));
...@@ -24,8 +21,8 @@ SKIKO_EXPORT KNativePointer org_jetbrains_skia_OutputWStream__1nMake ...@@ -24,8 +21,8 @@ SKIKO_EXPORT KNativePointer org_jetbrains_skia_OutputWStream__1nMake
(KInteropPointer outputStream) { (KInteropPointer outputStream) {
TODO("implement org_jetbrains_skia_OutputWStream__1nMake"); TODO("implement org_jetbrains_skia_OutputWStream__1nMake");
} }
#if 0 #if 0
SKIKO_EXPORT KNativePointer org_jetbrains_skia_OutputWStream__1nMake SKIKO_EXPORT KNativePointer org_jetbrains_skia_OutputWStream__1nMake
(KInteropPointer outputStream) { (KInteropPointer outputStream) {
OutputWStream* instance = new OutputWStream(env, outputStream); OutputWStream* instance = new OutputWStream(env, outputStream);
......
// This file has been auto generated.
#include <iostream> #include <iostream>
#include "SkColorFilter.h" #include "SkColorFilter.h"
#include "SkImageFilter.h" #include "SkImageFilter.h"
......
// This file has been auto generated.
#include <iostream> #include <iostream>
#include "SkCanvas.h" #include "SkCanvas.h"
#include "SkDrawable.h" #include "SkDrawable.h"
......
// This file has been auto generated.
#include <algorithm> #include <algorithm>
#include <cfloat> #include <cfloat>
#include <iostream> #include <iostream>
......
// This file has been auto generated.
#include <iostream> #include <iostream>
#include "SkPathEffect.h" #include "SkPathEffect.h"
#include "Sk1DPathEffect.h" #include "Sk1DPathEffect.h"
......
// This file has been auto generated.
#include "SkPathMeasure.h" #include "SkPathMeasure.h"
#include "common.h" #include "common.h"
...@@ -49,7 +46,7 @@ SKIKO_EXPORT KBoolean org_jetbrains_skia_PathMeasure__1nGetPosition ...@@ -49,7 +46,7 @@ SKIKO_EXPORT KBoolean org_jetbrains_skia_PathMeasure__1nGetPosition
return false; return false;
} }
SKIKO_EXPORT KBoolean org_jetbrains_skia_PathMeasure__1nGetTangent SKIKO_EXPORT KBoolean org_jetbrains_skia_PathMeasure__1nGetTangent
(KNativePointer ptr, KFloat distance, KFloat* data) { (KNativePointer ptr, KFloat distance, KFloat* data) {
SkPathMeasure* instance = reinterpret_cast<SkPathMeasure*>((ptr)); SkPathMeasure* instance = reinterpret_cast<SkPathMeasure*>((ptr));
...@@ -63,7 +60,7 @@ SKIKO_EXPORT KBoolean org_jetbrains_skia_PathMeasure__1nGetTangent ...@@ -63,7 +60,7 @@ SKIKO_EXPORT KBoolean org_jetbrains_skia_PathMeasure__1nGetTangent
return false; return false;
} }
SKIKO_EXPORT KBoolean org_jetbrains_skia_PathMeasure__1nGetRSXform SKIKO_EXPORT KBoolean org_jetbrains_skia_PathMeasure__1nGetRSXform
(KNativePointer ptr, KFloat distance, KFloat* data) { (KNativePointer ptr, KFloat distance, KFloat* data) {
SkPathMeasure* instance = reinterpret_cast<SkPathMeasure*>((ptr)); SkPathMeasure* instance = reinterpret_cast<SkPathMeasure*>((ptr));
...@@ -79,7 +76,7 @@ SKIKO_EXPORT KBoolean org_jetbrains_skia_PathMeasure__1nGetRSXform ...@@ -79,7 +76,7 @@ SKIKO_EXPORT KBoolean org_jetbrains_skia_PathMeasure__1nGetRSXform
return false; return false;
} }
SKIKO_EXPORT KBoolean org_jetbrains_skia_PathMeasure__1nGetMatrix SKIKO_EXPORT KBoolean org_jetbrains_skia_PathMeasure__1nGetMatrix
(KNativePointer ptr, KFloat distance, KBoolean getPosition, KBoolean getTangent, KFloat* data) { (KNativePointer ptr, KFloat distance, KBoolean getPosition, KBoolean getTangent, KFloat* data) {
SkPathMeasure* instance = reinterpret_cast<SkPathMeasure*>((ptr)); SkPathMeasure* instance = reinterpret_cast<SkPathMeasure*>((ptr));
...@@ -110,7 +107,7 @@ SKIKO_EXPORT KBoolean org_jetbrains_skia_PathMeasure__1nGetMatrix ...@@ -110,7 +107,7 @@ SKIKO_EXPORT KBoolean org_jetbrains_skia_PathMeasure__1nGetMatrix
return false; return false;
} }
SKIKO_EXPORT KBoolean org_jetbrains_skia_PathMeasure__1nGetSegment SKIKO_EXPORT KBoolean org_jetbrains_skia_PathMeasure__1nGetSegment
(KNativePointer ptr, KFloat startD, KFloat endD, KNativePointer dstPtr, KBoolean startWithMoveTo) { (KNativePointer ptr, KFloat startD, KFloat endD, KNativePointer dstPtr, KBoolean startWithMoveTo) {
SkPathMeasure* instance = reinterpret_cast<SkPathMeasure*>((ptr)); SkPathMeasure* instance = reinterpret_cast<SkPathMeasure*>((ptr));
......
// This file has been auto generated.
#include <iostream> #include <iostream>
#include "SkData.h" #include "SkData.h"
#include "SkPicture.h" #include "SkPicture.h"
......
// This file has been auto generated.
#include <iostream> #include <iostream>
#include "SkDrawable.h" #include "SkDrawable.h"
#include "SkPictureRecorder.h" #include "SkPictureRecorder.h"
......
// This file has been auto generated.
#include "SkPixelRef.h" #include "SkPixelRef.h"
#include "common.h" #include "common.h"
......
// This file has been auto generated.
#include "SkPixmap.h" #include "SkPixmap.h"
#include "common.h" #include "common.h"
......
// This file has been auto generated.
#include <iostream> #include <iostream>
#include "SkRegion.h" #include "SkRegion.h"
#include "common.h" #include "common.h"
......
// This file has been auto generated.
#include "SkRuntimeEffect.h" #include "SkRuntimeEffect.h"
#include "common.h" #include "common.h"
......
// This file has been auto generated.
#include <iostream> #include <iostream>
#include "SkColorFilter.h" #include "SkColorFilter.h"
#include "SkShader.h" #include "SkShader.h"
......
// This file has been auto generated.
#include "SkShadowUtils.h" #include "SkShadowUtils.h"
#include "common.h" #include "common.h"
......
// This file has been auto generated.
#include <iostream> #include <iostream>
#include "GrDirectContext.h" #include "GrDirectContext.h"
#include "SkSurface.h" #include "SkSurface.h"
......
// This file has been auto generated.
#include <cstring> #include <cstring>
#include <iostream> #include <iostream>
#include "SkData.h" #include "SkData.h"
......
// This file has been auto generated.
#include <iostream> #include <iostream>
#include "SkTextBlob.h" #include "SkTextBlob.h"
#include "common.h" #include "common.h"
......
// This file has been auto generated.
#include <cstring> #include <cstring>
#include <iostream> #include <iostream>
#include "SkShaper.h" #include "SkShaper.h"
......
// This file has been auto generated.
#include <iostream> #include <iostream>
#include "SkData.h" #include "SkData.h"
#include "SkTypeface.h" #include "SkTypeface.h"
...@@ -59,7 +56,7 @@ SKIKO_EXPORT void org_jetbrains_skia_Typeface__1nGetVariationAxes ...@@ -59,7 +56,7 @@ SKIKO_EXPORT void org_jetbrains_skia_Typeface__1nGetVariationAxes
} }
} }
} }
SKIKO_EXPORT KInt org_jetbrains_skia_Typeface__1nGetUniqueId SKIKO_EXPORT KInt org_jetbrains_skia_Typeface__1nGetUniqueId
(KNativePointer ptr) { (KNativePointer ptr) {
SkTypeface* instance = reinterpret_cast<SkTypeface*>((ptr)); SkTypeface* instance = reinterpret_cast<SkTypeface*>((ptr));
...@@ -85,7 +82,7 @@ SKIKO_EXPORT KNativePointer org_jetbrains_skia_Typeface__1nMakeFromName ...@@ -85,7 +82,7 @@ SKIKO_EXPORT KNativePointer org_jetbrains_skia_Typeface__1nMakeFromName
sk_sp<SkTypeface> instance = SkTypeface::MakeFromName(name.c_str(), style); sk_sp<SkTypeface> instance = SkTypeface::MakeFromName(name.c_str(), style);
return reinterpret_cast<KNativePointer>(instance.release()); return reinterpret_cast<KNativePointer>(instance.release());
} }
SKIKO_EXPORT KNativePointer org_jetbrains_skia_Typeface__1nMakeFromFile SKIKO_EXPORT KNativePointer org_jetbrains_skia_Typeface__1nMakeFromFile
(KInteropPointer pathStr, KInt index) { (KInteropPointer pathStr, KInt index) {
SkString path = skString(pathStr); SkString path = skString(pathStr);
...@@ -126,7 +123,7 @@ SKIKO_EXPORT void org_jetbrains_skia_Typeface__1nGetUTF32Glyphs ...@@ -126,7 +123,7 @@ SKIKO_EXPORT void org_jetbrains_skia_Typeface__1nGetUTF32Glyphs
SkTypeface* instance = reinterpret_cast<SkTypeface*>(ptr); SkTypeface* instance = reinterpret_cast<SkTypeface*>(ptr);
instance->unicharsToGlyphs(reinterpret_cast<SkUnichar*>(uni), count, reinterpret_cast<SkGlyphID*>(res)); instance->unicharsToGlyphs(reinterpret_cast<SkUnichar*>(uni), count, reinterpret_cast<SkGlyphID*>(res));
} }
SKIKO_EXPORT KShort org_jetbrains_skia_Typeface__1nGetUTF32Glyph SKIKO_EXPORT KShort org_jetbrains_skia_Typeface__1nGetUTF32Glyph
(KNativePointer ptr, KInt uni) { (KNativePointer ptr, KInt uni) {
SkTypeface* instance = reinterpret_cast<SkTypeface*>((ptr)); SkTypeface* instance = reinterpret_cast<SkTypeface*>((ptr));
...@@ -192,7 +189,7 @@ SKIKO_EXPORT bool org_jetbrains_skia_Typeface__1nGetKerningPairAdjustments ...@@ -192,7 +189,7 @@ SKIKO_EXPORT bool org_jetbrains_skia_Typeface__1nGetKerningPairAdjustments
return false; return false;
} }
SKIKO_EXPORT KInteropPointer org_jetbrains_skia_Typeface__1nGetFamilyNames SKIKO_EXPORT KInteropPointer org_jetbrains_skia_Typeface__1nGetFamilyNames
(KNativePointer ptr) { (KNativePointer ptr) {
SkTypeface* instance = reinterpret_cast<SkTypeface*>(ptr); SkTypeface* instance = reinterpret_cast<SkTypeface*>(ptr);
...@@ -208,7 +205,7 @@ SKIKO_EXPORT KInteropPointer org_jetbrains_skia_Typeface__1nGetFamilyNames ...@@ -208,7 +205,7 @@ SKIKO_EXPORT KInteropPointer org_jetbrains_skia_Typeface__1nGetFamilyNames
return reinterpret_cast<KInteropPointer>(res); return reinterpret_cast<KInteropPointer>(res);
} }
SKIKO_EXPORT KInteropPointer org_jetbrains_skia_Typeface__1nGetFamilyName SKIKO_EXPORT KInteropPointer org_jetbrains_skia_Typeface__1nGetFamilyName
(KNativePointer ptr) { (KNativePointer ptr) {
SkTypeface* instance = reinterpret_cast<SkTypeface*>(ptr); SkTypeface* instance = reinterpret_cast<SkTypeface*>(ptr);
......
// This file has been auto generated.
#include <string> #include <string>
#include "SkString.h" #include "SkString.h"
#include "common.h" #include "common.h"
...@@ -11,4 +8,4 @@ static void deleteU16String(std::vector<KChar>* instance) { ...@@ -11,4 +8,4 @@ static void deleteU16String(std::vector<KChar>* instance) {
SKIKO_EXPORT KNativePointer org_jetbrains_skia_U16String__1nGetFinalizer() { SKIKO_EXPORT KNativePointer org_jetbrains_skia_U16String__1nGetFinalizer() {
return reinterpret_cast<KNativePointer>(&deleteU16String); return reinterpret_cast<KNativePointer>(&deleteU16String);
} }
\ No newline at end of file
// This file has been auto generated.
#include <iostream> #include <iostream>
#include "SkRefCnt.h" #include "SkRefCnt.h"
#include "FontCollection.h" #include "FontCollection.h"
......
// This file has been auto generated.
#include <iostream> #include <iostream>
#include "DartTypes.h" #include "DartTypes.h"
#include "Paragraph.h" #include "Paragraph.h"
...@@ -130,7 +127,7 @@ SKIKO_EXPORT KNativePointer org_jetbrains_skia_paragraph_Paragraph__1nGetLineMet ...@@ -130,7 +127,7 @@ SKIKO_EXPORT KNativePointer org_jetbrains_skia_paragraph_Paragraph__1nGetLineMet
instance->getLineMetrics(*res); instance->getLineMetrics(*res);
return res; return res;
} }
SKIKO_EXPORT KInt org_jetbrains_skia_paragraph_Paragraph__1nGetLineNumber SKIKO_EXPORT KInt org_jetbrains_skia_paragraph_Paragraph__1nGetLineNumber
(KNativePointer ptr) { (KNativePointer ptr) {
Paragraph* instance = reinterpret_cast<Paragraph*>((ptr)); Paragraph* instance = reinterpret_cast<Paragraph*>((ptr));
......
// This file has been auto generated.
#include <iostream> #include <iostream>
#include <string> #include <string>
#include "ParagraphBuilder.h" #include "ParagraphBuilder.h"
......
// This file has been auto generated.
#include <iostream> #include <iostream>
#include "ParagraphCache.h" #include "ParagraphCache.h"
#include "ParagraphStyle.h" #include "ParagraphStyle.h"
......
// This file has been auto generated.
#include <iostream> #include <iostream>
#include "ParagraphStyle.h" #include "ParagraphStyle.h"
using namespace std; using namespace std;
...@@ -106,7 +103,7 @@ SKIKO_EXPORT void org_jetbrains_skia_paragraph_ParagraphStyle__1nSetEllipsis ...@@ -106,7 +103,7 @@ SKIKO_EXPORT void org_jetbrains_skia_paragraph_ParagraphStyle__1nSetEllipsis
ParagraphStyle* instance = reinterpret_cast<ParagraphStyle*>(ptr); ParagraphStyle* instance = reinterpret_cast<ParagraphStyle*>(ptr);
instance->setEllipsis(skString(ellipsis)); instance->setEllipsis(skString(ellipsis));
} }
SKIKO_EXPORT KFloat org_jetbrains_skia_paragraph_ParagraphStyle__1nGetHeight SKIKO_EXPORT KFloat org_jetbrains_skia_paragraph_ParagraphStyle__1nGetHeight
(KNativePointer ptr) { (KNativePointer ptr) {
ParagraphStyle* instance = reinterpret_cast<ParagraphStyle*>((ptr)); ParagraphStyle* instance = reinterpret_cast<ParagraphStyle*>((ptr));
...@@ -163,4 +160,4 @@ SKIKO_EXPORT void org_jetbrains_skia_paragraph_ParagraphStyle__1nGetTextIndent ...@@ -163,4 +160,4 @@ SKIKO_EXPORT void org_jetbrains_skia_paragraph_ParagraphStyle__1nGetTextIndent
ParagraphStyle* instance = reinterpret_cast<ParagraphStyle*>((ptr)); ParagraphStyle* instance = reinterpret_cast<ParagraphStyle*>((ptr));
TextIndent* indent = reinterpret_cast<TextIndent*>(result); TextIndent* indent = reinterpret_cast<TextIndent*>(result);
*indent = instance->getTextIndent(); *indent = instance->getTextIndent();
} }
\ No newline at end of file
// This file has been auto generated.
#include <iostream> #include <iostream>
#include <vector> #include <vector>
#include "ParagraphStyle.h" #include "ParagraphStyle.h"
...@@ -42,14 +39,14 @@ SKIKO_EXPORT KNativePointer org_jetbrains_skia_paragraph_StrutStyle__1nGetFontFa ...@@ -42,14 +39,14 @@ SKIKO_EXPORT KNativePointer org_jetbrains_skia_paragraph_StrutStyle__1nGetFontFa
return reinterpret_cast<KNativePointer>(res); return reinterpret_cast<KNativePointer>(res);
} }
SKIKO_EXPORT void org_jetbrains_skia_paragraph_StrutStyle__1nSetFontFamilies SKIKO_EXPORT void org_jetbrains_skia_paragraph_StrutStyle__1nSetFontFamilies
(KNativePointer ptr, KInteropPointerArray familiesArr, KInt familiesCount) { (KNativePointer ptr, KInteropPointerArray familiesArr, KInt familiesCount) {
StrutStyle* instance = reinterpret_cast<StrutStyle*>(ptr); StrutStyle* instance = reinterpret_cast<StrutStyle*>(ptr);
instance->setFontFamilies(skStringVector(familiesArr, familiesCount)); instance->setFontFamilies(skStringVector(familiesArr, familiesCount));
} }
SKIKO_EXPORT void org_jetbrains_skia_paragraph_StrutStyle__1nGetFontStyle SKIKO_EXPORT void org_jetbrains_skia_paragraph_StrutStyle__1nGetFontStyle
(KNativePointer ptr, KInt* fontStyleData) { (KNativePointer ptr, KInt* fontStyleData) {
StrutStyle* instance = reinterpret_cast<StrutStyle*>(ptr); StrutStyle* instance = reinterpret_cast<StrutStyle*>(ptr);
...@@ -64,7 +61,7 @@ SKIKO_EXPORT void org_jetbrains_skia_paragraph_StrutStyle__1nSetFontStyle ...@@ -64,7 +61,7 @@ SKIKO_EXPORT void org_jetbrains_skia_paragraph_StrutStyle__1nSetFontStyle
StrutStyle* instance = reinterpret_cast<StrutStyle*>(ptr); StrutStyle* instance = reinterpret_cast<StrutStyle*>(ptr);
instance->setFontStyle(skija::FontStyle::fromKotlin(style)); instance->setFontStyle(skija::FontStyle::fromKotlin(style));
} }
SKIKO_EXPORT KFloat org_jetbrains_skia_paragraph_StrutStyle__1nGetFontSize SKIKO_EXPORT KFloat org_jetbrains_skia_paragraph_StrutStyle__1nGetFontSize
(KNativePointer ptr) { (KNativePointer ptr) {
StrutStyle* instance = reinterpret_cast<StrutStyle*>(ptr); StrutStyle* instance = reinterpret_cast<StrutStyle*>(ptr);
......
// This file has been auto generated.
#include <iostream> #include <iostream>
#include <limits> #include <limits>
#include <vector> #include <vector>
......
// This file has been auto generated.
#include <iostream> #include <iostream>
#include "TypefaceFontProvider.h" #include "TypefaceFontProvider.h"
#include "SkTypeface.h" #include "SkTypeface.h"
......
// This file has been auto generated.
#include "GrBackendSurface.h" #include "GrBackendSurface.h"
#include "GrDirectContext.h" #include "GrDirectContext.h"
#include "common.h" #include "common.h"
...@@ -33,8 +30,8 @@ SKIKO_EXPORT KNativePointer org_jetbrains_skiko_RenderTargetsKt_makeMetalContext ...@@ -33,8 +30,8 @@ SKIKO_EXPORT KNativePointer org_jetbrains_skiko_RenderTargetsKt_makeMetalContext
() { () {
TODO("implement org_jetbrains_skiko_RenderTargetsKt_makeMetalContextNative"); TODO("implement org_jetbrains_skiko_RenderTargetsKt_makeMetalContextNative");
} }
#if 0 #if 0
SKIKO_EXPORT KNativePointer org_jetbrains_skiko_RenderTargetsKt_makeMetalContextNative SKIKO_EXPORT KNativePointer org_jetbrains_skiko_RenderTargetsKt_makeMetalContextNative
() { () {
#ifdef SK_METAL #ifdef SK_METAL
......
// This file has been auto generated.
#include "SkFontMgr.h" #include "SkFontMgr.h"
#include "SkShaper.h" #include "SkShaper.h"
#include "common.h" #include "common.h"
...@@ -32,7 +29,7 @@ SKIKO_EXPORT KNativePointer org_jetbrains_skia_shaper_FontMgrRunIterator__1nMake ...@@ -32,7 +29,7 @@ SKIKO_EXPORT KNativePointer org_jetbrains_skia_shaper_FontMgrRunIterator__1nMake
); );
return reinterpret_cast<KNativePointer>(instance); return reinterpret_cast<KNativePointer>(instance);
} }
SKIKO_EXPORT KNativePointer org_jetbrains_skia_shaper_FontMgrRunIterator__1nGetCurrentFont SKIKO_EXPORT KNativePointer org_jetbrains_skia_shaper_FontMgrRunIterator__1nGetCurrentFont
(KNativePointer ptr) { (KNativePointer ptr) {
SkShaper::FontRunIterator* instance = reinterpret_cast<SkShaper::FontRunIterator*>(ptr); SkShaper::FontRunIterator* instance = reinterpret_cast<SkShaper::FontRunIterator*>(ptr);
......
// This file has been auto generated.
#include "SkShaper.h" #include "SkShaper.h"
#include "common.h" #include "common.h"
......
// This file has been auto generated.
#include "SkShaper.h" #include "SkShaper.h"
#include "common.h" #include "common.h"
......
// This file has been auto generated.
#include "SkShaper.h" #include "SkShaper.h"
#include "common.h" #include "common.h"
......
// This file has been auto generated.
#include <iostream> #include <iostream>
#include "SkShaper.h" #include "SkShaper.h"
#include "src/utils/SkUTF.h" #include "src/utils/SkUTF.h"
...@@ -179,15 +176,15 @@ public: ...@@ -179,15 +176,15 @@ public:
_onConsume(); _onConsume();
_endOfCurrentRun = _indicesConverter.from16To8(_onEndOfCurrentRun()); _endOfCurrentRun = _indicesConverter.from16To8(_onEndOfCurrentRun());
} }
size_t endOfCurrentRun() const override { size_t endOfCurrentRun() const override {
return _endOfCurrentRun; return _endOfCurrentRun;
} }
bool atEnd() const override { bool atEnd() const override {
return static_cast<bool>(_onAtEnd()); return static_cast<bool>(_onAtEnd());
} }
void init(KInteropPointer onConsume, KInteropPointer onEndOfCurrentRun, KInteropPointer onAtEnd, KInteropPointer onCurrent) { void init(KInteropPointer onConsume, KInteropPointer onEndOfCurrentRun, KInteropPointer onAtEnd, KInteropPointer onCurrent) {
_onConsume = KVoidCallback(onConsume); _onConsume = KVoidCallback(onConsume);
_onEndOfCurrentRun = KIntCallback(onEndOfCurrentRun); _onEndOfCurrentRun = KIntCallback(onEndOfCurrentRun);
...@@ -451,4 +448,4 @@ SKIKO_EXPORT void org_jetbrains_skia_shaper_Shaper_RunHandler_1nInit ...@@ -451,4 +448,4 @@ SKIKO_EXPORT void org_jetbrains_skia_shaper_Shaper_RunHandler_1nInit
{ {
auto* instance = reinterpret_cast<SkikoRunHandler*>(ptr); auto* instance = reinterpret_cast<SkikoRunHandler*>(ptr);
instance->init(onBeginLine, onRunInfo, onCommitRunInfo, onRunOffset, onCommitRun, onCommitLine); instance->init(onBeginLine, onRunInfo, onCommitRunInfo, onRunOffset, onCommitRun, onCommitLine);
} }
\ No newline at end of file
// This file has been auto generated.
#include "SkShaper.h" #include "SkShaper.h"
#include "common.h" #include "common.h"
......
// This file has been auto generated.
#include "SkStream.h" #include "SkStream.h"
#include "SkSGInvalidationController.h" #include "SkSGInvalidationController.h"
#include "Skottie.h" #include "Skottie.h"
......
// This file has been auto generated.
#include "SkStream.h" #include "SkStream.h"
#include "Skottie.h" #include "Skottie.h"
#include "SkFontMgr.h" #include "SkFontMgr.h"
......
// This file has been auto generated.
#include "Skottie.h" #include "Skottie.h"
using namespace skottie; using namespace skottie;
#include "common.h" #include "common.h"
......
// This file has been auto generated.
#include "SkSVGCanvas.h" #include "SkSVGCanvas.h"
#include "SkStream.h" #include "SkStream.h"
#include "common.h" #include "common.h"
......
// This file has been auto generated.
#include "SkCanvas.h" #include "SkCanvas.h"
#include "SkData.h" #include "SkData.h"
#include "SkStream.h" #include "SkStream.h"
......
// This file has been auto generated.
#include "SkSVGNode.h" #include "SkSVGNode.h"
#include "common.h" #include "common.h"
......
// This file has been auto generated.
#include "SkSVGSVG.h" #include "SkSVGSVG.h"
#include "SkSVGRenderContext.h" #include "SkSVGRenderContext.h"
#include "common.h" #include "common.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment