Introduced horizontalAlign and verticalAlign properties in WriteStyle and TextWriter, enabling precise text alignment within bounding boxes. Enhanced text token management to support alignment calculations and adjusted demos to showcase the new capabilities.
23 lines
596 B
Plaintext
23 lines
596 B
Plaintext
plugins {
|
|
org.openrndr.extra.convention.`kotlin-multiplatform`
|
|
alias(libs.plugins.kotest.multiplatform)
|
|
}
|
|
|
|
kotlin {
|
|
sourceSets {
|
|
val commonMain by getting {
|
|
dependencies {
|
|
implementation(libs.openrndr.shape)
|
|
implementation(libs.openrndr.draw)
|
|
implementation(libs.openrndr.application)
|
|
}
|
|
}
|
|
|
|
val jvmDemo by getting {
|
|
dependencies {
|
|
implementation(project(":orx-text-writer"))
|
|
implementation(project(":orx-shapes"))
|
|
}
|
|
}
|
|
}
|
|
} |